Zero-trust DLP for Linux pipelines — redacts IPs, API keys, SSNs, IBANs, and more before data reaches AI tools
Project description
SafePaste Enterprise CLI
Zero-trust DLP for Linux pipelines. Redacts sensitive data before it reaches AI tools, log aggregators, or external services.
pip install safepaste
What it does
SafePaste intercepts sensitive data in your Linux pipelines and replaces it with cryptographic placeholders. Pro tier supports reversible vaulting — mask before sending to AI, unmask after getting the response back.
# Free tier — mask IPs and API keys
cat /var/log/app.log | safepaste --mask
# Pro tier — full vault with unmask support
docker logs my-app | safepaste --mask > clean.log
cat ai_response.txt | safepaste --unmask
What gets redacted
| Pattern | Free | Pro |
|---|---|---|
| IPv4 addresses | ✓ | ✓ |
| API keys (OpenAI, Anthropic, AWS, GitHub, Slack) | ✓ | ✓ |
| MAC addresses | — | ✓ |
| Credit cards (Luhn-validated) | — | ✓ |
| US Social Security Numbers | — | ✓ |
| EU IBANs | — | ✓ |
| UK National Insurance Numbers (NINO) | — | ✓ |
| Nigerian bank account numbers (10-digit) | — | ✓ |
| Nigerian phone numbers | — | ✓ |
| Nigerian NIN (11-digit) | — | ✓ |
| Custom NDA keywords | — | ✓ |
Installation
pip install safepaste
# With Redis support (enterprise distributed vault)
pip install safepaste[redis]
Requires Python 3.9+. No external dependencies for the base install.
CLI Reference
safepaste --mask # Redact sensitive values → placeholders
safepaste --unmask # Restore placeholders using vault (Pro)
safepaste --unlock "LICENSE-KEY" # Activate Pro with Gumroad license key
safepaste --status # Show tier, toggles, NDA keywords
safepaste --toggle-devsec # Enable/disable DevSec mode
safepaste --toggle-fintech # Enable/disable FinTech Shield
safepaste --add-nda "ProjectNova" # Add NDA keyword (Pro)
safepaste --remove-nda "ProjectNova"# Remove NDA keyword
safepaste --list-nda # List all NDA keywords
safepaste --clear-nda # Remove all NDA keywords
safepaste --free # Force Free-tier for this run
safepaste --pro # Force Pro-tier for this run
Examples
# Mask a log file
cat /var/log/syslog | safepaste --mask
# Mask docker logs and save
docker logs my-app | safepaste --mask > clean-docker.log
# CI/CD pipeline with env var license
export SAFEPASTE_LICENSE_KEY="XXXX-XXXX-XXXX-XXXX"
cat database_export.csv | safepaste --mask
# Mask → send to AI → unmask response
safepaste --mask report.txt > masked.txt
# ... send masked.txt to AI, save response ...
safepaste --unmask ai_response.txt
Enterprise: Redis distributed vault
For multi-pod Kubernetes clusters where multiple instances need shared vault state:
pip install safepaste[redis]
export SAFEPASTE_REDIS_URL="redis://:password@redis-host:6379/0"
cat logs.txt | safepaste --mask
Licensing
- Free tier — IP addresses and API keys, permanently. No account required.
- Pro tier — Full vault, FinTech Shield, Custom NDAs. License via Gumroad.
safepaste --unlock "YOUR-GUMROAD-LICENSE-KEY"
Config stored at ~/.safepaste/config.json. Vault at ~/.safepaste/vault.json.
Also available as
- Chrome Extension — SafePaste Enterprise on Chrome Web Store
- Docker image —
docker pull logicgridai/safepaste - Firefox Add-on — coming soon
Links
- Website: safepaste.app
- Privacy Policy: safepaste.app/privacy
- Support: support@logicgrid.ai
- Publisher: LogicGrid AI, LLC
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file safepaste_enterprise-3.2.1.tar.gz.
File metadata
- Download URL: safepaste_enterprise-3.2.1.tar.gz
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b963029a54660914623f314827c3d1cccae50f383819914c3eb1b2c258e71817
|
|
| MD5 |
51357e6ee963380ff9656f2be5d92501
|
|
| BLAKE2b-256 |
a6afc4405251b1b8f889af5c9bcb5dd5f8a673d449d87ffb288ea1c57a699d07
|
File details
Details for the file safepaste_enterprise-3.2.1-py3-none-any.whl.
File metadata
- Download URL: safepaste_enterprise-3.2.1-py3-none-any.whl
- Upload date:
- Size: 10.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4cd7abbbb20cb890925718916c9b8cf4630e8b559437ee7f7d5bba302a4e7aac
|
|
| MD5 |
4fbca1170721695c16a427c305f1107d
|
|
| BLAKE2b-256 |
086b358f4489e8bebb8018c9c2ec1811456d1016b893481522341afc69f32434
|