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

AI Agent Security Python Packages

Python packages with the GitHub topic ai-agent-security. Sorted by monthly downloads, with stars and forks.
hashgraph-online
plugin-scanner

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

183K 1K 293
hashgraph-online
hol-guard

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

108K 1K 293
sipkigroup
deus-witness

Human approval for risky AI agent tool calls. Claude Code plugin, MCP proxy and SDK: allowed calls run, forbidden ones are refused, the rest wait for your passkey. Signed receipts in a Merkle log, checkable offline.

18K 0 0
sattyamjjain
agent-audit-kit

Static scanner for MCP-connected AI agent pipelines. 562 rules across 14 categories, 14 compliance frameworks, OWASP Agentic 10/10 + MCP 10/10, GitHub Action, SARIF, public CVE-to-rule ledger.

14K 12 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.

13K 11 3
blitzcrieg1
agentmetry

Open-source security for AI coding agents: record, detect and block at the tool boundary, with a verifiable audit trail in the SIEM you already run.

10K 51 19
mishrasanjeev
grantex

grantex is the identity, authorization, and audit infrastructure for AI agents — the "OAuth moment" for the agentic internet. We provide a universal SDK and cloud service that lets any AI agent act on behalf of a human with scoped, revocable permissions, cryptographic identity, and an immutable audit trail. Developers integrate in minutes.

6K 34 10
Threx-code
cordon-scanner

Language-agnostic software supply-chain security scanner covering 28 ecosystems. Detects malicious packages, suspicious code, install-time threats, secrets and AI-agent security risks before execution

6K 4 1
ikaruscareer
safeai-static-analyzer

Static analysis and attack-surface scanner for AI agents — SAST for prompts, tools, MCP servers, and agent workflows. Detects capabilities, prompt risks, tool permissions, and governance gaps before deployment.

4K 33 33
tenuo-ai
hermes-tenuo

Guardrails Hermes Agent can't talk its way past: enforce tool permissions and argument limits in code, and give subagents and Kanban workers only what their task needs.

4K 3 1
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.

4K 11 1
provared
provared

Proof of what an AI agent was allowed to do, and what it then did. Evidence, not a verdict.

3K 0 0
Acacian
agent-aegis

LLM guardrails & prompt injection detection for Python. Auto-instruments LangChain, CrewAI, OpenAI, LiteLLM + 8 more frameworks. PII masking, toxicity detection, policy CI/CD. One line, zero code changes.

3K 18 5
boxdawn
boxdawn

Stop AI agent mistakes before they run. Source of the Boxdawn trace analyzer; the guard for Claude Code is at boxdawn/guard.

2K 7 0
AgentLatch
agentlatch-security

Local-first AI agent security scanner and MCP traffic monitor. Finds prompt injection, over-privileged tools, and secrets in agent code, manifests, and prompts; records MCP tool calls with secrets masked. CLI, pre-commit, GitHub Action, SARIF, OWASP Agentic Top 10.

2K 13 1
aiyoplane
aiyoplane-openai-agents

AEAP Composition Boundary Adapter for the OpenAI Agents SDK (Python). Thin wrapper that attaches the AEAP Runtime Decision Point to agent tool invocations. Published as aiyoplane-openai-agents on PyPI.

2K 0 0
DSHCorrectover
ccs-verifier

CCS Runtime Verifier — 7-dimension AI agent tool-call verification (Structure, Schema, Latency, Cost, Identity, Integrity, Security). Ed25519 signed receipts + Sigstore Rekor anchoring. PyPI package.

2K 0 0
Psionic-labs
agent-causality

Causal Debugging for Branching Multi-Agent Systems

2K 9 2
Jaycubic
toolboundary

Local runtime security and policy enforcement for AI agents and LLM tool calls, with permissions, guardrails, rate limits, approvals, auditing, and an emergency kill switch.

2K 6 10
agentguard-ai
tealtiger

TealTiger Python SDK - Drop-in security and cost tracking for OpenAI, Anthropic, and Azure OpenAI

2K 2 7
ThreeMoonsLab
agents-shipgate

The deterministic merge gate for AI-generated agent capability changes — a local-first, static Tool-Use Readiness review for MCP, OpenAPI, and SDK tool surfaces. Open-source CLI + GitHub Action.

1K 87 7
Insomniac-VibeLabs
two-key

Authorization and execution control for AI agents without human interaction - independent deterministic policy and AI judge approval before consequential tool actions execute. MCP gateway, capability tokens, auditability, and fail-closed execution.

1K 2 0
immu4989
dspy-security-bench

Open, privacy-bounded assurance for AI agents: containment provenance, identity passports, authorization twins, OTel evidence, CI gates, and OSCAL.

1K 7 0
mishrasanjeev
grantex-openai-agents

grantex is the identity, authorization, and audit infrastructure for AI agents — the "OAuth moment" for the agentic internet. We provide a universal SDK and cloud service that lets any AI agent act on behalf of a human with scoped, revocable permissions, cryptographic identity, and an immutable audit trail. Developers integrate in minutes.

1K 34 10
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology