Python llm-security

Open-source Python projects categorized as llm-security

Top 23 Python llm-security Projects

llm-security
  1. strix

    Open-source AI penetration testing tool to find and fix your app’s vulnerabilities.

    Project mention: AI Built My App. Another AI Found the Security Flaw | dev.to | 2026-11-11

    I gave Strix, an open-source AI pentester, the source code and a running copy of the API and asked it to break in. This post covers:

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. serviette

    A no-code RAG server that keeps answers in sync with your documents. Works with 8 vector databases. Built on Pathway.

  4. iFixAi

    Independent Auditing of AI Agents. Run by human or the agent itself, to answer the most crucial question in the AI Agent Economy. Is the agent doing what is supposed to do? With iFixAi you can have this answer in less than 120 seconds.

    Project mention: GitHub AI Repos ประจำสัปดาห์: สัปดาห์ที่ agent มีด่านตรวจของตัวเอง (7 ต.ค. 2026) | dev.to | 2026-10-10

    [1] GitHub Trending, weekly, 2026, https://github.com/trending?since=weekly [2] GitHub Trending, รายภาษา (Go, Python, TypeScript) weekly และ monthly, 2026, https://github.com/trending/go?since=weekly [3] GitHub Ranking AI, Top 100 AI Agents, 2026, https://raw.githubusercontent.com/yuxiaopeng/Github-Ranking-AI/main/Top100/AI%20Agents.md [4] NVIDIA/OpenShell, README, 2026, https://github.com/NVIDIA/OpenShell [5] NVIDIA OpenShell documentation, 2026, https://docs.nvidia.com/openshell/latest/index.html [6] NVIDIA/OpenShell, releases, v0.1.2, 28 กันยายน 2026, https://github.com/NVIDIA/OpenShell/releases [7] ifixai-ai/iFixAi, README, 2026, https://github.com/ifixai-ai/iFixAi [8] mvschwarz/openrig, README, 2026, https://github.com/mvschwarz/openrig [9] mvschwarz/openrig, releases, v0.6.5, 4 ตุลาคม 2026, https://github.com/mvschwarz/openrig/releases [10] cursor/plugins, README, 2026, https://github.com/cursor/plugins [11] anthropics/knowledge-work-plugins, README, 2026, https://github.com/anthropics/knowledge-work-plugins [12] JuliusBrussee/caveman, README, 2026, https://github.com/JuliusBrussee/caveman [13] Adeyemi, M. D., Rossi, R. A., Dernoncourt, F., "CAVEWOMAN: How Large Language Models Behave Under Linguistic Input and Output Compression", arXiv 2606.24083, 2026, https://arxiv.org/abs/2606.24083 [14] Shiryaev, D., "Does Speaking to Agents Like Cavemen Really Save 65% of Tokens? We Test", JetBrains AI Blog, 2026, https://blog.jetbrains.com/ai/2026/07/speak-to-ai-agents-like-cavemen-tosave-tokens/ [15] headroomlabs-ai/headroom, README, 2026, https://github.com/headroomlabs-ai/headroom [16] VectifyAI/PageIndex, README, 2026, https://github.com/VectifyAI/PageIndex [17] VectifyAI/PageIndex, releases, v0.2.21, 1 ตุลาคม 2026, https://github.com/VectifyAI/PageIndex/releases

  5. garak

    the LLM vulnerability scanner

    Project mention: I built an AI sales agent. Its best feature is knowing when to shut up. | dev.to | 2026-11-11

    In NVIDIA's LLM scanner garak, I showed that 34 detectors only read English (NVIDIA/garak#2217). I ran a French test against open-mistral-nemo: 31 attempts, 3 answers that slipped out of French, and 3 successful attacks out of 3. Another contributor reproduced it on the main branch. The issue is still open and under discussion. But the lesson shipped straight into Phantera: a detector that speaks one language lets the other one through.

  6. Guardrails

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

    Project mention: Guardrails: Input, Process, Output | dev.to | 2026-11-01

    Extensibility. Rules live in configuration, not code. Adding a new compliance check for a regulatory update means changing a configuration file, not redeploying the agent runtime. This keeps guardrails aligned with policy without engineering cycles. You do not have to write every check from scratch: open-source toolkits such as NeMo Guardrails, NVIDIA's toolkit for adding programmable guardrails to conversational systems, and Guardrails AI package many input and output checks. They supply filters; the tool limits and approval gates are still yours to design.

  7. AI-Infra-Guard

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

  8. giskard-oss

    🐢 Open-Source Evaluation & Testing library for LLM Agents

  9. ADR

    ADR secures enterprise AI agents through observability, security benchmarking, and threat detection. Deployed at Uber. (by uber)

    Project mention: Uber open-sourced its security monitoring for Claude Code, Cursor and Codex | news.ycombinator.com | 2026-08-06
  10. agentic_security

    Agentic LLM Vulnerability Scanner / AI red teaming kit 🧪

  11. www-project-top-10-for-large-language-model-applications

    OWASP Top 10 for Large Language Model Apps (Part of the GenAI Security Project)

    Project mention: How to manage multi-user AI agent authentication and authorization in 2026 (OAuth 2.1, OIDC, and delegated access) | dev.to | 2026-05-14

    The Open Web Application Security Project highlights these vulnerabilities in its updated guidelines, citing prompt injection and excessive agency as primary risks that lead directly to the confused deputy problem.

  12. agentic-radar

    A security scanner for your LLM agentic workflows

  13. EasyJailbreak

    An easy-to-use Python framework to generate adversarial jailbreak prompts.

  14. Open-Prompt-Injection

    This repository provides a benchmark for prompt injection attacks and defenses in LLMs

  15. agentseal

    Security toolkit for AI agents. Scan your machine for dangerous skills and MCP configs, monitor for supply chain attacks, test prompt injection resistance, and audit live MCP servers for tool poisoning.

    Project mention: AgentSeal – Security scanner for AI agents (150 attack probes) | news.ycombinator.com | 2026-03-06

    GitHub: https://github.com/AgentSeal/agentseal

  16. AIGoat

    AIGoat - Open-source AI security playground for hands-on LLM red teaming. Explore prompt injection, RAG poisoning, AI agents, MCP security, and OWASP Top 10 for LLM Applications through practical attack labs, CTF challenges, and progressive defenses all running locally.

    Project mention: Introducing AIGoat 2.0: Hands-On Security Labs for LLMs, RAG, MCP, and AI Agents | dev.to | 2026-10-13
  17. spikee

    Simple Prompt Injection Kit for Evaluation and Exploitation

  18. agent-audit

    Static security scanner for LLM agents — prompt injection, MCP config auditing, taint analysis. 51 rules mapped to OWASP Agentic Top 10 (2026). Works with LangChain, CrewAI, AutoGen.

    Project mention: Show HN: Agent Audit – Open-source security scanner for AI agents | news.ycombinator.com | 2026-02-06

    - Static analysis limitations apply — can't catch runtime-only issues

    *Some numbers from scanning open-source projects:*

    I scanned 6 popular agent repos (OpenHands, SWE-agent, Gorilla, etc.). Found 617 findings total, 269 critical. Most common issue: tool functions that pass LLM-provided strings directly to dangerous sinks without validation.

    Full report: https://github.com/HeadyZhang/agent-audit/blob/master/docs/r...

    *Install:*

    ```

  19. Doberman-Core

    Your AI's guard dog. Doberman sits at runtime, gating every input, output and tool call to stop unsafe or unintended actions before they execute.

    Project mention: Read the approval split before trusting an agent-security benchmark | dev.to | 2026-10-01
  20. humanbound

    Open-source adversarial testing engine, SDK, and CLI for AI agents. Runs locally or against the Humanbound Platform.

    Project mention: Not every model makes a good attacker: OpenAI vs DeepSeek for red-teaming | dev.to | 2026-11-05

    Red-team your own agent for free. Start on the Community plan (Free forever) at app.humanbound.ai, or run it locally with pip install humanbound[engine]. The code is open source on GitHub. Originally published on the Humanbound blog.

  21. llm_backdoor

    Experimental tools to backdoor large language models by re-writing their system prompts at a raw parameter level. This allows you to potentially execute offline remote code execution without running any actual code on the victim's machine or thwart LLM-based fraud/moderation systems.

  22. kiji-proxy

    Privacy proxy for your OpenAI requests

    Project mention: Kiji Proxy: Detect/mask private infos in requests to AI services | news.ycombinator.com | 2026-05-12
  23. diagnostic

    iFixAi. The open-source diagnostic for AI misalignment. 32 tests across fabrication, manipulation, deception, unpredictability, and opacity. Provider-agnostic. Runs against OpenAI, Anthropic, Bedrock, Azure, Gemini, and more. Letter grade in under 5 minutes, content-addressed manifest for bit-identical replay. Built by iMe.

    Project mention: Open-source diagnostic for Al misalignment. Model agnostic, industry agnostic | news.ycombinator.com | 2026-05-04
  24. last_layer

    Ultra-fast, low latency LLM prompt injection/jailbreak detection ⛓️

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Python llm-security discussion

Log in or Post with

Python llm-security related posts

  • One sentence can flip your AI's decision. Here is how we catch it.

    1 project | dev.to | 12 Nov 2026
  • I built an AI sales agent. Its best feature is knowing when to shut up.

    1 project | dev.to | 11 Nov 2026
  • How to Protect a Travel Planning Assistant Like SNCF Connect from Indirect Prompt Injection

    1 project | dev.to | 10 Nov 2026
  • How We Built a Multi-Agent System Using OpenClaw and Deployed It Safely on AWS

    2 projects | dev.to | 9 Nov 2026
  • Not every model makes a good attacker: OpenAI vs DeepSeek for red-teaming

    1 project | dev.to | 5 Nov 2026
  • LLM access controls and monitoring: what actually stops a confused-deputy agent

    1 project | dev.to | 4 Nov 2026
  • LLM access controls and monitoring: the attack path and the fix

    1 project | dev.to | 29 Oct 2026
  • A note from our sponsor - SaaSHub
    www.saashub.com | 16 Nov 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source llm-security projects in Python? This list will help you:

# Project Stars
1 strix 75,269
2 serviette 58,705
3 iFixAi 45,743
4 garak 10,004
5 Guardrails 7,491
6 AI-Infra-Guard 7,489
7 giskard-oss 5,951
8 ADR 2,130
9 agentic_security 2,044
10 www-project-top-10-for-large-language-model-applications 1,491
11 agentic-radar 1,069
12 EasyJailbreak 945
13 Open-Prompt-Injection 513
14 agentseal 385
15 AIGoat 277
16 spikee 271
17 agent-audit 245
18 Doberman-Core 243
19 humanbound 237
20 llm_backdoor 204
21 kiji-proxy 184
22 diagnostic 160
23 last_layer 138

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com