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

Llm Security Python Packages

Python packages with the GitHub topic llm-security. Sorted by monthly downloads, with stars and forks.
NVIDIA-NeMo
nemoguardrails

NeMo Guardrails is an open-source toolkit for easily adding programmable guardrails to LLM-based conversational systems.

536K 7K 866
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
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
wan9yu
argus-redact

Encrypt PII, not meaning. Locally.

60K 12 1
datafog
datafog

Offline PII firewall for AI agents and LLM apps: fast local detection and redaction, Claude Code hook, LiteLLM guardrail. Zero network calls, one dependency.

47K 77 15
NVIDIA
garak

the LLM vulnerability scanner

43K 10K 1K
vaaraio
vaara

Accountable Autonomy: open-source evidence layer that gates every AI agent tool call against your policy and writes a hash-chained record an auditor verifies offline, without trusting you. Root-agnostic; binds to TPM 2.0 / SEV-SNP when present. Your environment, no SaaS, no telemetry. AGPL-3.0.

22K 15 1
redact-secret
redact-secret

Detect and redact secrets before they reach logs, storage, or LLM context. Deterministic Rust core for JavaScript, Python, Rust, and WebAssembly.

20K 7 0
Giskard-AI
giskard

๐Ÿข Open-Source Evaluation & Testing library for LLM Agents

17K 6K 550
tuliplabs-ai
tulip-agents

The agent framework where the model never holds the trigger โ€” every consequential action clears your policy first, waits for a human when it matters, and lands on a record you can verify. Build on it, or put it around the agent you already have.

17K 1 1
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
CTRLRun
ctrlrun

The execution safety layer for AI agents.

13K 26 1
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
airomhq
airom

Open-source AI Bill of Materials (AIBOM) scanner: inventories AI models, datasets, prompts, embeddings, vector DBs & RAG pipelines across code, containers & Kubernetes โ€” with file:line evidence, load-time risk detection (poisoned pickle / Keras Lambda / unsafe torch.load) and NIST AI RMF / OWASP compliance mapping. CycloneDX ยท SARIF ยท JSON.

10K 16 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
arcjet
arcjet

Runtime security for AI apps and agents: prompt injection detection, tool-call authorization, sensitive-data redaction, bot protection, and rate limiting. Drop it into your Python code.

9K 32 2
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
mcp-hangar
mcp-hangar

MCP policy enforcement plane โ€” deterministic policy on every Model Context Protocol call: identity, RFC 8707 audience binding, tool schema digest pinning, full audit trail. Python, self-hosted, MIT.

9K 18 10
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
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology