Skip to main content

Zero-trust local DLP for AI-era workflows — 40+ threat patterns across 8+ countries

Project description

SafeRelay CLI

Zero-trust local DLP for AI-era workflows — 40+ threat patterns across 8+ countries.

PyPI Docker

SafeRelay redacts sensitive data in your pipelines before it reaches AI tools, log aggregators, or external services. Everything runs locally — your data never leaves your machine.

BEFORE                                      AFTER (SafeRelay)
─────────────────────────────────────────  ─────────────────────────────────────────
OPENAI_API_KEY=sk-proj-abc...xyz            OPENAI_API_KEY=[OPENAI_KEY_1]
AWS_ACCESS_KEY_ID=AKIAIOSFODNN7EXAMPLE       AWS_ACCESS_KEY_ID=[AWS_KEY_1]
Authorization: Bearer eyJhbGciOiJIUzI1...   Authorization: Bearer [BEARER_1]
Server: 10.45.2.115                         Server: [IP_1]
SSN: 234-56-7890                            SSN: [US_SSN_1]

Installation

pip install saferelay

# With Redis support (distributed vault)
pip install saferelay[redis]

Requires Python 3.9+. No external dependencies for the base install.

Usage

# Free tier — mask IPs and API keys
cat /var/log/app.log | saferelay --mask

# Pro tier — full vault with unmask
docker logs my-app | saferelay --mask > clean.log
cat ai_response.txt | saferelay --unmask

# Activate Pro
saferelay --unlock "YOUR-LICENSE-KEY"

# Status
saferelay --status

Docker

docker pull logicgridai/saferelay:latest

cat /var/log/app.log | docker run --rm -i logicgridai/saferelay --mask

Kubernetes sidecar

containers:
  - name: saferelay
    image: logicgridai/saferelay:latest
    env:
      - name: SAFERELAY_LICENSE_KEY
        valueFrom:
          secretKeyRef:
            name: saferelay-secret
            key: license-key

What gets redacted

Pattern Free Pro
IPv4 addresses
API keys (OpenAI, Anthropic, AWS, GitHub, Slack, Gemini)
AWS Secret Access Keys (YAML + bare)
Docker / npm tokens, Slack webhooks, Google OAuth
Bitcoin / Ethereum addresses
PEM private keys
.env file values
MAC addresses
Credit cards (Luhn-validated)
US SSN
EU IBAN
UK NINO
Nigeria NIN / Bank / Phone
Canada SIN
India Aadhaar / PAN
South Africa ID
Australia TFN
Brazil CPF
Singapore NRIC
Germany Tax ID
Seed phrases (12/24 word)
ETH private keys
Custom NDA keywords

Browser extensions

Browser Link
Chrome Chrome Web Store
Firefox Firefox Add-ons

Pricing

Tier Price Features
Free $0 IP + API key redaction
Pro $7.99/mo or $59/yr 40+ patterns, full vault
SafeRelay Suite $99 one-time CLI Pro + Browser Pro + Desktop Agent (waitlist)

→ Get a license at saferelay.ai

Privacy

Clipboard and log content never leaves your machine. License activation sends only a hashed device fingerprint to the license server — no log data, ever.

Full privacy policy: saferelay.ai/privacy


Built by LogicGrid AI, LLCsupport@logicgrid.ai

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

saferelay-3.5.4.tar.gz (12.7 kB view details)

Uploaded Source

Built Distribution

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

saferelay-3.5.4-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

Details for the file saferelay-3.5.4.tar.gz.

File metadata

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

File hashes

Hashes for saferelay-3.5.4.tar.gz
Algorithm Hash digest
SHA256 69251bdb937058ca223b760fd241da4bed4a9fb980953202d687cdfd2306ca9a
MD5 d12baddafa5d0b821c412fb0364c5734
BLAKE2b-256 75e39ae13d8581e04fe2820215ebb69b23c33f4cbaab8b6eb82916bf2fd2808d

See more details on using hashes here.

Provenance

The following attestation bundles were made for saferelay-3.5.4.tar.gz:

Publisher: release.yml on LogicGridAI/saferelay

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

File details

Details for the file saferelay-3.5.4-py3-none-any.whl.

File metadata

  • Download URL: saferelay-3.5.4-py3-none-any.whl
  • Upload date:
  • Size: 11.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for saferelay-3.5.4-py3-none-any.whl
Algorithm Hash digest
SHA256 1ca0311b93cf50972be0432a2620cf5a0fbb88e0b6eb04e51a8e20413ed22f38
MD5 fc9105e38d6c9054c416b29e22a6c175
BLAKE2b-256 49b70d8df9150d009b7b4d85b6b58b8e852b0e2f1168bb424c3b0280bc8d70aa

See more details on using hashes here.

Provenance

The following attestation bundles were made for saferelay-3.5.4-py3-none-any.whl:

Publisher: release.yml on LogicGridAI/saferelay

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