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.
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
Free tier covers core patterns (IPv4 addresses, cloud access keys). Pro unlocks all 40+ patterns below.
| Pattern |
|---|
| 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 | Core patterns — IPv4, cloud access keys |
| 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, LLC — support@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
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 saferelay-3.5.5.tar.gz.
File metadata
- Download URL: saferelay-3.5.5.tar.gz
- Upload date:
- Size: 12.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a7556c97ba2efb76bd3b5e3daa6d745b0c99eb7112d2977a6bba80cd9f5e39cd
|
|
| MD5 |
978bcf349432cc2c4f4886e5bc18fee3
|
|
| BLAKE2b-256 |
348653856566528607223a98de5df21f24418b84d7f051d65641585985276b05
|
Provenance
The following attestation bundles were made for saferelay-3.5.5.tar.gz:
Publisher:
release.yml on LogicGridAI/saferelay
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
saferelay-3.5.5.tar.gz -
Subject digest:
a7556c97ba2efb76bd3b5e3daa6d745b0c99eb7112d2977a6bba80cd9f5e39cd - Sigstore transparency entry: 1805992109
- Sigstore integration time:
-
Permalink:
LogicGridAI/saferelay@f58164a923a24305ac3c6cf3db274d35094e205a -
Branch / Tag:
refs/tags/v3.5.5 - Owner: https://github.com/LogicGridAI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@f58164a923a24305ac3c6cf3db274d35094e205a -
Trigger Event:
push
-
Statement type:
File details
Details for the file saferelay-3.5.5-py3-none-any.whl.
File metadata
- Download URL: saferelay-3.5.5-py3-none-any.whl
- Upload date:
- Size: 11.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
54e694376122b404e886786fa6a1ae568c6c03bb023bd1d1d2687e5451727b67
|
|
| MD5 |
9925e98e06cfb66d8c4dd44b734e2cd4
|
|
| BLAKE2b-256 |
15038d5aefcd59209848e51f04ba5b5abd18dee7f27071ad261266c7e6994caa
|
Provenance
The following attestation bundles were made for saferelay-3.5.5-py3-none-any.whl:
Publisher:
release.yml on LogicGridAI/saferelay
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
saferelay-3.5.5-py3-none-any.whl -
Subject digest:
54e694376122b404e886786fa6a1ae568c6c03bb023bd1d1d2687e5451727b67 - Sigstore transparency entry: 1805992549
- Sigstore integration time:
-
Permalink:
LogicGridAI/saferelay@f58164a923a24305ac3c6cf3db274d35094e205a -
Branch / Tag:
refs/tags/v3.5.5 - Owner: https://github.com/LogicGridAI
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@f58164a923a24305ac3c6cf3db274d35094e205a -
Trigger Event:
push
-
Statement type: