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

Prompt Injection LLM Security Python Packages

Python packages with the GitHub topic prompt-injection-llm-security. Sorted by monthly downloads, with stars and forks.
Resk-Security
resk-llm

Resk is a robust Python library designed to enhance security and manage context when interacting with LLMs. It provides a protective layer for API calls, safeguarding against common vulnerabilities and ensuring optimal performance. And safe layer again Prompt Injection.

981 21 4
vaporif
parry-guard

Prompt injection scanner for AI coding tools (Claude Code / Codex / etc). Runs DeBERTa/Llama transformers via Candle or ONNX in Rust

831 46 2
kush0o7
redline-evals

Did your fine-tune just get less safe? Redline runs the same safety tests on two versions of your AI model and tells you in one plain sentence whether to ship. Try it in 2 minutes: pip install redline-evals && redline try

516 2 1
dibakshya01
grey-panda

The calm guardian for AI, agent, and MCP code — a zero-dependency, standards-anchored AI security toolkit for developers and security reviewers.

440 1 1
occludra
aisg

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

236 52 5
flakestorm
flakestorm

Flakestorm — Automated Robustness Testing for AI Agents. Stop guessing if your agent really works. FlakeStorm generates adversarial mutations and exposes failures your manual tests and evals miss.

221 46 5
009-KumarJi
novisentinel

Scan LLM inputs and outputs for PII, prompt injection, secrets, and toxicity. Python SDK, FastAPI middleware, VS Code extension included.

163 0 0
occludra
occludra

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

152 52 5
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.

147 15 8
sinamsv
pulsarai

An AI security library for block prompt injection and more 🤖👾

119 0 0
SaravanavelE
ulockai

A lightweight, production-ready AI security SDK for protecting LLM agents.

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