⚡ Nexus Shield: Sub-10ms PII Guardrail for LLMs
Nexus Shield is an in-RAM pattern buffer proxy designed to strip PII (SSN, Credit Cards, API Keys, Emails) before forwarding payloads to OpenAI, LiteLLM, or LangChain—without killing stream TTL.
📊 Performance Comparison (300 Payloads Benchmark)
| Engine | Avg Latency (P50) | P99 Latency | Memory Overhead |
|---|---|---|---|
| Nexus Shield (In-RAM) | < 2.4 ms | < 6.1 ms | ~12 MB |
| Standard Python Regex | 18.2 ms | 45.1 ms | ~45 MB |
| MS Presidio (spaCy NER) | 120.5 ms | 245.0 ms | ~450 MB |
🚀 Quick Start
from nexus_shield import NexusClient
nexus = NexusClient(base_url="https://api.nexusshield.ai/v1", api_key="nx_live_...")
config = nexus.get_proxy_config()
Metadata
Release files for nexus-shield 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nexus_shield-0.1.0.tar.gz | 2.3 kB | Without provenance | Details for nexus_shield-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nexus_shield-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for nexus_shield-0.1.0-py3-none-any.whl |
Total release size: 4.7 kB
Release files / nexus_shield-0.1.0.tar.gz
| Download URL | nexus_shield-0.1.0.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8f7cf2dae8f5849263f5318b4314bf4fe668e61ce9491eb2360622167e0b1b6a
|
|
BLAKE2b-256 checksum How to use checksums |
11b3fbc982c577e8cf88de95b6e767ca340a6b80f8c18e85f79c7212fac7a1f8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|
Release files / nexus_shield-0.1.0-py3-none-any.whl
| Download URL | nexus_shield-0.1.0-py3-none-any.whl |
|---|---|
| Size | 2.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9749e60261790005966ab17801e55bdf8211cba363b3ef7a65e8648c1ca56e6e
|
|
BLAKE2b-256 checksum How to use checksums |
17a05c677391d0ecbbef6b61ce87ffac315847ef30ca2e1a8113f940408231f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|
Security for nexus-shield 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.