Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

LLM Firewall Python Packages

Python packages with the GitHub topic llm-firewall. Sorted by monthly downloads, with stars and forks.
gantrly
mobiusguard-redact

Streaming secret and PII redaction for LLM output: rewrites API keys, tokens, private keys, cards and IBANs in a streamed reply, even split across chunks, without stopping the stream.

2K 0 0
Livesh-L-28
llmfirewall-core

Defensive AI security layer detecting prompt injections, jailbreaks, and sensitive data leaks.

2K 1 0
gantrly
mobiusguard

Open-source LLM firewall proxy for OpenAI and Anthropic APIs: prompt-injection checks on the way in (with Fortress-XS, its own CPU classifier), streaming secret and PII redaction on the way out, audit log; one base URL to change.

2K 0 0
gantrly
mobiusguard-eval

Honest evaluation harness for LLM guardrails: prompt-injection detectors scored on held-out attack families at a fixed false-positive rate, with pinned datasets, a provenance ledger and CPU latency; trains and exports small ONNX classifiers.

2K 0 0
mattijsmoens
sovereign-shield

Deterministic AI defense framework: immutable input filtering, n-model cryptographic hash consensus, and self-learning adaptive rules. Zero dependencies. Hardware-sealed.

919 21 6
ProvablyAI
sourcerykit

Counterspell for hallucinating agents. Python SDK that breaks the illusion on every tool call, API response, and MCP handoff before bad outputs propagate.

551 21 2
dl-eigenart
agentshield-client

Prompt-injection firewall for LLM agents. 6-layer pipeline (normalize, regex, MiniLM classifier, output guard, policy, audit) at <4ms p95. Python SDK + open benchmark (5,972 samples, F1 0.921).

282 0 0
dl-eigenart
agentshield-py

Prompt-injection firewall for LLM agents. 6-layer pipeline (normalize, regex, MiniLM classifier, output guard, policy, audit) at <4ms p95. Python SDK + open benchmark (5,972 samples, F1 0.921).

272 0 0
yfedoseev
jailguard

Pure-Rust prompt-injection detector with 1.5MB embedded MLP classifier. 98.40% accuracy, p50 14ms CPU inference. Apache-2.0/MIT alternative to Rebuff (archived 2025) and Lakera Guard.

239 13 1
mattijsmoens
sovereign-shield-adaptive

Self-improving security filter for AI applications. Reports missed attacks, sandbox-tests new rules, auto-deploys validated filters.

207 21 6
Resk-Security
resksecure

Bitmask-based LLM security firewall with policy-driven logits filtering using GPU-accelerated Aho-Corasick pattern matching

180 0 0
sankalp2515
intentseal-core

IntentSeal Core Engine: prompt-injection firewall and action guard for LLM agents

143 0 0
sankalp2515
intentseal

IntentSeal: a prompt-injection firewall for AI agents. Inspect what your agent reads, check what it does.

137 0 0
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology