Python ai-security

Open-source Python projects categorized as ai-security

Top 23 Python ai-security Projects

ai-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. 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.

  4. 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.

    Project mention: The Agent Had a Valid Key. It Deleted Production Anyway. | dev.to | 2026-11-02

    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.

  5. giskard-oss

    🐢 Open-Source Evaluation & Testing library for LLM Agents

  6. Agentic-Bug-Hunter

    AI-powered bug bounty hunting toolkit that works with or without subscription.

    Project mention: Show HN: Pentesting Tool Using Claude | news.ycombinator.com | 2026-03-26
  7. 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
  8. promptmap

    a security scanner for custom LLM applications

  9. ai-captcha-bypass

    AI Captcha Bypass

    Project mention: Show HN: I built an AI web-scraper that bypasses captchas and login pages | news.ycombinator.com | 2025-12-10
  10. agentic-radar

    A security scanner for your LLM agentic workflows

  11. agent-skills-hub

    AgentSkillsHub (agentskillshub.top) — security-graded directory of open-source Claude skills, MCP servers & AI agent tools, refreshed every 8 hours

  12. ai-bom

    AI Bill of Materials — discover every AI agent, model, and API in your infrastructure

    Project mention: Show HN: AI-BOM – Open-source scanner that discovers shadow AI components | news.ycombinator.com | 2026-02-23
  13. 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
  14. 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
  15. 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:*

    ```

  16. 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.

  17. atlas-data

    ATLAS tactics, techniques, and case studies data

    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:

  18. 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
  19. compliant-llm

    Build Secure and Compliant AI agents and MCP Servers. YC W23

  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-13

    Guardian 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

  21. 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-09

    https://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:

  22. halo-record

    Tamper-evident audit trails for AI agents: hash-chained Runtime Records, dependency-free, verifiable by anyone.

    Project mention: Agentic Trust Controls | news.ycombinator.com | 2026-08-31

    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

  23. quest

    An open source, self-hosted, privacy-focused AI workbench (by electric-capital)

    Project mention: Quest: Open-source, safety-focused harness | news.ycombinator.com | 2026-10-01
  24. kereva-scanner

    Code scanner to check for issues in prompts and LLM calls

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 ai-security discussion

Log in or Post with

Python ai-security related posts

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

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

    2 projects | dev.to | 9 Nov 2026
  • I Attacked a Real LLM Agent With Hidden Text. Here's What It Did (Free Kaggle Notebooks)

    1 project | dev.to | 8 Nov 2026
  • Stop keeping security rules in the prompt: a deterministic check engine for code from AI assistants

    2 projects | dev.to | 6 Nov 2026
  • I let an AI agent read one document. It tried to make a payment. Try it yourself in 60 seconds.

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

    1 project | dev.to | 5 Nov 2026
  • A guardrail that decides at the door lets the intruder walk in later

    3 projects | dev.to | 2 Nov 2026
  • A note from our sponsor - SaaSHub
    www.saashub.com | 12 Nov 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

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

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

Did you know that Python is
the 1st most popular programming language
based on number of references?