SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 Python ai-security Projects
-
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:
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
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.
-
AiSOC
Open-source AI Security Operations Center: alert fusion, LLM-agent triage, MITRE ATT&CK investigation, and a replayable decision ledger for every agent step. Self-hostable, runs with no API keys, MIT licensed. Ships an MCP server for Claude, Cursor and Continue.
AiSOC (trending on GitHub with 7K stars) brings the agent-governance mindset into security operations — LLM-agent triage with MITRE ATT&CK mapping, illustrating that agents are becoming both governed subjects and governance operators.
-
-
-
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 -
-
Project mention: Show HN: I built an AI web-scraper that bypasses captchas and login pages | news.ycombinator.com | 2025-12-10
-
-
agent-skills-hub
AgentSkillsHub (agentskillshub.top) — security-graded directory of open-source Claude skills, MCP servers & AI agent tools, refreshed every 8 hours
-
Project mention: Show HN: AI-BOM – Open-source scanner that discovers shadow AI components | news.ycombinator.com | 2026-02-23
-
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 -
pentest-ai
Offensive-security MCP server with 205 wrapped tools, 17 specialist agents, and 60 SPA-aware probes for OWASP Top 10. CLI + MCP, BYO LLM. No API key needed on MCP path.
Project mention: Show HN: Ptai – an MCP that chains low-sev findings into RCE | news.ycombinator.com | 2026-05-19 -
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:*
```
-
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-05Red-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.
-
Project mention: Courses on AI Security Testing: Grade the Syllabus Against ATLAS | dev.to | 2026-10-19
The ATLAS data is published as a single YAML file in mitre-atlas/atlas-data. Every technique carries its tactic IDs and a maturity field, so coverage is a set operation:
-
mcp-audit
See what your AI agents can access. Scan MCP configs for exposed secrets, shadow APIs, and AI models. Generate AI-BOMs for compliance.
Project mention: Show HN: APIsec MCP Audit – Audit what your AI agents can access | news.ycombinator.com | 2026-01-20 -
-
guardian-sdk
Ethicore Engine® is an AI safety, ethics, and compliance platform. This repo consists of the open-source components of Ethicore Engine™ - Guardian SDK; designed to protect your AI applications from prompt injection, jailbreaks, role hijacking, system-prompt extraction, and 100+ additional threat categories through a multi-layer analysis pipeline
Project mention: Three prompt injection stories from this week that your guardrail probably missed | dev.to | 2026-06-13Guardian SDK covers all three layers: tool output scanning with format-aware extraction and a 1.6× source multiplier for the high-risk return-value surface, an AgenticExecutionMonitor that decomposes compiled execution plans and validates each node before dispatch (Layer 17), and cross-modal threat fusion that analyzes images and video alongside text and catches coordinated attacks distributed across channels. Community edition is a pip install with no API key. Full agentic pipeline protection is on the API tier — free key, 1,000 requests/month, takes 60 seconds: Developer's Portal | Public Repo
-
Veritensor
The Anti-Virus for AI Artifacts & RAG Firewall. A static analysis tool scanning Models and Notebooks for RCE, Datasets and RAG docs for Data Poisoning, PII, and Prompt Injections. Secure your AI Supply Chain. (by arsbr)
Project mention: Recomendation for open-source tool for the AI supply chain security | news.ycombinator.com | 2026-02-09https://github.com/arsbr/Veritensor
The goal is to help teams secure the AI/ML supply chain as models, datasets, and tooling increasingly come from third parties.
What it currently does:
-
halo-record
Tamper-evident audit trails for AI agents: hash-chained Runtime Records, dependency-free, verifiable by anyone.
Some really good policies in there, at least inasmuch as they match up to what I have been thinking about. Was hoping for more implementation but the one package for attestation/ logging looks useful: https://github.com/bkuan001/halo-record
-
-
Python ai-security discussion
Python ai-security related posts
-
One sentence can flip your AI's decision. Here is how we catch it.
-
How We Built a Multi-Agent System Using OpenClaw and Deployed It Safely on AWS
-
I Attacked a Real LLM Agent With Hidden Text. Here's What It Did (Free Kaggle Notebooks)
-
Stop keeping security rules in the prompt: a deterministic check engine for code from AI assistants
-
I let an AI agent read one document. It tried to make a payment. Try it yourself in 60 seconds.
-
Not every model makes a good attacker: OpenAI vs DeepSeek for red-teaming
-
A guardrail that decides at the door lets the intruder walk in later
-
A note from our sponsor - SaaSHub
www.saashub.com | 12 Nov 2026
Index
What are some of the best open-source ai-security projects in Python? This list will help you:
| # | Project | Stars |
|---|---|---|
| 1 | strix | 74,056 |
| 2 | AI-Infra-Guard | 7,396 |
| 3 | AiSOC | 6,987 |
| 4 | giskard-oss | 5,947 |
| 5 | Agentic-Bug-Hunter | 5,696 |
| 6 | ADR | 2,120 |
| 7 | promptmap | 1,293 |
| 8 | ai-captcha-bypass | 1,235 |
| 9 | agentic-radar | 1,067 |
| 10 | agent-skills-hub | 492 |
| 11 | ai-bom | 362 |
| 12 | AIGoat | 277 |
| 13 | pentest-ai | 266 |
| 14 | agent-audit | 244 |
| 15 | humanbound | 237 |
| 16 | atlas-data | 206 |
| 17 | mcp-audit | 166 |
| 18 | compliant-llm | 162 |
| 19 | guardian-sdk | 124 |
| 20 | Veritensor | 88 |
| 21 | halo-record | 85 |
| 22 | quest | 82 |
| 23 | kereva-scanner | 78 |