{"_id":"@baturhantasdelen/nexus-shield","name":"@baturhantasdelen/nexus-shield","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@baturhantasdelen/nexus-shield","version":"0.1.0","description":"Sub-10ms in-RAM PII redaction proxy for Vercel AI SDK, LangChain, and Node.js LLM apps.","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","prepublishOnly":"npm run build"},"keywords":["vercel-ai-sdk","llm-guardrails","pii-redaction","security","langchain","openai-proxy","sub-10ms","presidio-alternative"],"author":{"name":"Nexus Shield Team"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/baturhantasdelen-sudo/core-ai-firewall.git"},"devDependencies":{"typescript":"^5.0.0"},"gitHead":"efab5366b1d931896fe67c6e6e11b0e3865556b3","_id":"@baturhantasdelen/nexus-shield@0.1.0","bugs":{"url":"https://github.com/baturhantasdelen-sudo/core-ai-firewall/issues"},"homepage":"https://github.com/baturhantasdelen-sudo/core-ai-firewall#readme","_nodeVersion":"24.18.1","_npmVersion":"11.16.0","dist":{"integrity":"sha512-gS6H4DHdpPTny+UJI7p52b6uBhDfI4x5lCKEK8bEvNvupvBxKQcVuD1CJxmnvMF2XEgQ0z1kDNM/4K/xR7BfHQ==","shasum":"4bb2f5911d77da9b6efd9931fa440c9da5108b67","tarball":"https://registry.npmjs.org/@baturhantasdelen/nexus-shield/-/nexus-shield-0.1.0.tgz","fileCount":6,"unpackedSize":3276,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCHG4OsLh6HhGIdHzGwGI/n5FCt06M1CduAH7nzrkEGqAIhAKkc0WN84AAsoZsS3Eq2MYHRFZ1t3RPsGLlYgdyG0wX2"}]},"_npmUser":{"name":"baturhantasdelen","email":"baturhantasdelen@gmail.com"},"directories":{},"maintainers":[{"name":"baturhantasdelen","email":"baturhantasdelen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/nexus-shield_0.1.0_1785682948869_0.482778265520724"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-02T15:02:28.692Z","0.1.0":"2026-08-02T15:02:29.018Z","modified":"2026-08-02T15:02:29.229Z"},"maintainers":[{"name":"baturhantasdelen","email":"baturhantasdelen@gmail.com"}],"description":"Sub-10ms in-RAM PII redaction proxy for Vercel AI SDK, LangChain, and Node.js LLM apps.","homepage":"https://github.com/baturhantasdelen-sudo/core-ai-firewall#readme","keywords":["vercel-ai-sdk","llm-guardrails","pii-redaction","security","langchain","openai-proxy","sub-10ms","presidio-alternative"],"repository":{"type":"git","url":"git+https://github.com/baturhantasdelen-sudo/core-ai-firewall.git"},"author":{"name":"Nexus Shield Team"},"bugs":{"url":"https://github.com/baturhantasdelen-sudo/core-ai-firewall/issues"},"license":"MIT","readme":"# ⚡ Nexus Shield: Sub-10ms PII Guardrail for LLMs\r\n\r\nNexus 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.\r\n\r\n### 📊 Performance Comparison (300 Payloads Benchmark)\r\n\r\n| Engine | Avg Latency (P50) | P99 Latency | Memory Overhead |\r\n| :--- | :---: | :---: | :---: |\r\n| **Nexus Shield (In-RAM)** | **< 2.4 ms** | **< 6.1 ms** | **~12 MB** |\r\n| Standard Python Regex | 18.2 ms | 45.1 ms | ~45 MB |\r\n| MS Presidio (spaCy NER) | 120.5 ms | 245.0 ms | ~450 MB |\r\n\r\n### 🚀 Quick Start\r\n\r\n```python\r\nfrom nexus_shield import NexusClient\r\n\r\nnexus = NexusClient(base_url=\"https://api.nexusshield.ai/v1\", api_key=\"nx_live_...\")\r\nconfig = nexus.get_proxy_config()\r\n```\r\n","readmeFilename":"README.md","_rev":"1-d620af9e7987cab0b0e1c7e609d25b16"}