PyRank
  • Insights
  • PyPI
  • GitHub
  • Search
  • Compare
  • Advisories
  • Ecosystem
  • About

Prompt Injection Defense Python Packages

Python packages with the GitHub topic prompt-injection-defense. Sorted by relevance, with stars and monthly downloads.
lunayue0917-max
decoyshield

Web-layer counter-recon honeypot against agentic LLM attackers - drops invisible-to-human, visible-to-LLM payloads into HTTP responses to halt, stall, or fingerprint AI-driven penetration scans.

2K 1 0
arcjet
arcjet

Arcjet Python SDK. Stop bots and automated attacks from burning your AI budget, leaking data, or misusing tools with Arcjet's AI security building blocks.

1K 31 2
SummSolutions
buzur

AI prompt injection defense scanner for agents. 25 phases covering HTML obfuscation, encoding attacks, semantic similarity, behavioral anomaly detection, multi-step attack chains, and more.

1K 0 0
aisecuritygateway
aisg

Self-hosted AI security proxy. Redact PII, block prompt injection, route to any LLM provider. OpenAI-compatible.

249 14 2
lunayue0917-max
agent-trap

Counter-recon honeypot against agentic LLM attackers (PentestGPT/AutoGPT/LangChain). Six deploy modes: Flask drop-in, WSGI/ASGI middleware (Django/FastAPI), callable Python primitives, decoyshield CLI, edge configs (nginx/Caddy/Cloudflare), and Node.js npm package (Express/Fastify). Invisible-to-human, visible-to-LLM bait halts AI scans.

245 2 0
langguard
langguard

A Python library for language security

241 2 0
dronefreak
promptscreen

Protect your LLMs from prompt injection and jailbreak attacks. Easy-to-use Python package with multiple detection methods, CLI tool, and FastAPI integration.

104 9 4
    • Data from PyPI, GitHub, ClickHouse, and BigQuery