Skip to main content

Zero-trust DLP for Linux pipelines — 35+ threat patterns across 8+ countries

Project description

SafePaste Enterprise CLI

Zero-Trust Data Loss Prevention (DLP) for Linux pipelines. SafePaste operates natively on standard I/O streams (stdin to stdout), automatically intercepting and redacting sensitive data (IPs, AWS Keys, Credit Cards, NINs, SSNs) before it leaves your machine or gets ingested by AI models.

Installation

Drop the compiled binary into your local bin path for global access:

sudo mv safepaste /usr/local/bin/
sudo chmod +x /usr/local/bin/safepaste
Basic Usage (The Unix Pipeline)
SafePaste is designed to be piped into standard Linux workflows.

Masking Logs:

Bash
cat /var/log/syslog | safepaste > clean.log
docker logs my-app | safepaste > clean-docker.log
Sensitive data is replaced with cryptographically secure placeholders (e.g., [DEVSEC_a3f9b2c1]).

Unmasking Logs (Pro Only):
When the AI returns an analysis, pipe it back through SafePaste to restore the original data using your local RAM vault:

Bash
cat ai_response.txt | safepaste --unmask
Configuration & Management
SafePaste stores its configuration and vault entirely locally in ~/.safepaste/. Manage your Zero-Trust policies directly from the terminal:

safepaste --status : View your current license tier and active security toggles.

safepaste --toggle-devsec : Enable/disable DevSec mode (IPs, MACs, API Keys).

safepaste --toggle-fintech : Enable/disable FinTech Shield (Credit Cards, SSNs, IBANs, NINs).

safepaste --add-nda "ProjectNova" : Add a custom, proprietary keyword to be aggressively redacted.

safepaste --remove-nda "ProjectNova" : Remove a custom keyword.

Licensing (Freemium vs. Pro)
The Free tier permanently redacts IP addresses and standard API keys.
To unlock the reversible vault, FinTech Shield, and Custom NDAs, activate your Gumroad LogicGrid Pro License:

Bash
safepaste --unlock "YOUR_GUMROAD_LICENSE_KEY"
Enterprise Deployment (Docker & Kubernetes)
safepaste operates natively on standard I/O streams, making it perfectly suited for containerized pipelines, DaemonSets, and Sidecars.

Because container filesystems are ephemeral, running safepaste natively inside a pod will destroy the vault mapping upon container restart. To maintain persistent, distributed redaction state across a multi-node cluster, you have two native options:

Option 1: Persistent Volumes (Simple)
Mount a PVC to the default vault directory (~/.safepaste/) inside your sidecar container.

Option 2: Distributed Redis Cache (Enterprise/AIOps)
For high-throughput, multi-pod clusters, safepaste natively supports Redis.

Ensure the redis module is installed (pip install redis).

Inject your Redis connection string via environment variable:

Bash
export SAFEPASTE_REDIS_URL="redis://:password@redis-master.default.svc.cluster.local:6379/0"
When this variable is detected, safepaste entirely bypasses the local disk and instantly syncs its zero-trust mappings to your centralized Redis cache, allowing any authorized pod in the cluster to mask or unmask logs dynamically.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

safepaste_enterprise-3.4.1.tar.gz (10.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

safepaste_enterprise-3.4.1-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file safepaste_enterprise-3.4.1.tar.gz.

File metadata

  • Download URL: safepaste_enterprise-3.4.1.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for safepaste_enterprise-3.4.1.tar.gz
Algorithm Hash digest
SHA256 62ba438cbf55bd98da1d84807a2c26c5c6ea3eb5faff81c675258443ee003bd6
MD5 857c6d5743edf9ca9e46598c4f8f9114
BLAKE2b-256 073dfcf5c879b2efa98b296bd05aa4a1ffe17f2484a66b98e0cdeb97e67c6eb9

See more details on using hashes here.

Provenance

The following attestation bundles were made for safepaste_enterprise-3.4.1.tar.gz:

Publisher: publish.yml on LogicGridAI/safepaste

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file safepaste_enterprise-3.4.1-py3-none-any.whl.

File metadata

File hashes

Hashes for safepaste_enterprise-3.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dffe668456a4eba6c6747f8c9d59f6f05beb339de866ceb7af39e9b3f4a4858b
MD5 47c6c4173e2d71f631bdf3d045d69976
BLAKE2b-256 221c9471c2fac982a8e5f79f98c736382081b0ef9132d1c1df3f476273c1db87

See more details on using hashes here.

Provenance

The following attestation bundles were made for safepaste_enterprise-3.4.1-py3-none-any.whl:

Publisher: publish.yml on LogicGridAI/safepaste

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page