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

Prompt Injection Python Packages

Python packages with the GitHub topic prompt-injection. Sorted by monthly downloads, with stars and forks.
hashgraph-online
hol-guard

Open-source antivirus for AI agents: block risky tools, secret access, prompt injection, malicious packages, MCP servers, plugins, and skills at runtime.

167K 844 149
hashgraph-online
plugin-scanner

Open-source antivirus for AI agents: block risky tools, secret access, prompt injection, malicious packages, MCP servers, plugins, and skills at runtime.

138K 844 149
protectai
llm-guard

The Security Toolkit for LLM Interactions

112K 3K 464
Project-Navi
navi-sanitize

Deterministic input sanitization for untrusted text — invisible characters, homoglyphs, and encoding tricks, handled before your code sees them. Zero dependencies, no ML. Python 3.12+.

88K 3 0
duriantaco
skylos

Open source local-first PR scanner that finds dead code, security bugs, secrets, quality regressions, and AI-code mistakes before merge. For first timers refer to https://duriantaco.github.io/skylos/repo-map/

78K 846 57
Tencent
aig-skill-scan

A full-stack AI Red Teaming platform securing AI ecosystems via Agent Scan, Skills Scan, MCP scan, AI Infra scan and LLM jailbreak evaluation.

63K 7K 653
ethz-spylab
agentdojo

A Dynamic Environment to Evaluate Attacks and Defenses for LLM Agents.

28K 906 242
gawk-dev
mcpgawk

One gateway in front of every MCP server your agents can reach. A server that changes after you approved it is caught, the call is blocked before it runs, and nothing leaves your machine.

16K 0 0
pezhik
skilltotal

Claude Code plugin that scans a package before the agent runs npx, npm install, pip install, uvx or claude mcp add. Malicious indicators block the install. High-risk packages need your approval. The scan runs on your machine and never executes the code or calls an LLM. Every finding cites a file and line. Also a CLI, GitHub Action and MCP server.

14K 11 0
batrapulkit
squidbrake

Brakes for your AI agents: every tool call is checked against your rules, held for human approval when risky, and recorded in a tamper-evident audit trail. Works with Claude Code and any MCP app.

14K 14 15
PrismorSec
immunity-agent

Self-hosted runtime control plane for AI agents. Observe or HITL approve or Block rogue tool calls before it executes: secret leaks, prompt injection, supply chain etc in a local dashboard. Agent agnostic (Claude, codex, langchain etc.)

12K 415 55
tenuo-ai
tenuo

Task-scoped authorization for AI agents. Cryptographic warrants constrain tools and arguments, prevent privilege escalation at every delegation hop, and produce signed evidence of what was allowed or denied.

11K 103 23
complydoc
complydoc

Know your documents before they reach an LLM

11K 8 0
liza-studio
skillmem

Self-improving skill memory for coding agents: learn, recall, reinforce, decay — with provenance on every memory and trust only you grant. Local SQLite, no API key, no cloud.

10K 9 4
PrismorSec
prismor

Self-hosted runtime control plane for AI agents. Observe or HITL approve or Block rogue tool calls before it executes: secret leaks, prompt injection, supply chain etc in a local dashboard. Agent agnostic (Claude, codex, langchain etc.)

10K 415 55
guardana
guardana-core

Open-source AI security verification for model artifacts, live endpoints, MCP servers, and recorded agent traces. Reproducible evidence for release decisions.

9K 244 12
guardana
guardana-report

Open-source AI security verification for model artifacts, live endpoints, MCP servers, and recorded agent traces. Reproducible evidence for release decisions.

9K 244 12
guardana
guardana-rules

Open-source AI security verification for model artifacts, live endpoints, MCP servers, and recorded agent traces. Reproducible evidence for release decisions.

9K 244 12
guardana
guardana-cli

Open-source AI security verification for model artifacts, live endpoints, MCP servers, and recorded agent traces. Reproducible evidence for release decisions.

8K 244 12
guardana
guardana-server

Open-source AI security verification for model artifacts, live endpoints, MCP servers, and recorded agent traces. Reproducible evidence for release decisions.

8K 244 12
open-coder-ai
chock

Governance-as-code for AI coding agents: author a policy once, enforce it on every agent (Claude, Copilot, Cursor, Codex) via git hooks, CI, and native controls.

8K 9 1
sunglasses-dev
sunglasses

Open source input firewall for AI agents, beta. A local scanner checks text, code, PDFs, images, QR codes, audio and video with 1,569 patterns across 117 categories and reports findings and incomplete scans. A Claude Code hook blocks secret material in tool calls and the paths and hosts your policy lists before tools run.

7K 10 3
arpankernel
palisade-sec

Applied agentic-safety infrastructure: statically detects, evaluates, and gates untrusted-input → LLM → exec/shell/SQL/HTTP paths in Python and JavaScript/TypeScript AI systems. Offline, keyless, precision-first; optional bring-your-own-endpoint judgment layer.

6K 1 2
OWASP
agent-memory-guard

OWASP Foundation web repository

6K 185 54
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology