Open-source AI repos
Open-source AI, all in one place.
13,356 open-source AI repositories for learning, teaching, research and building. Kept up to date by the community: anyone can add a repo with a pull request.
44 repos matching “attack”
AI safety & security
Stars:529PromptInject
PromptInject is a framework that assembles prompts in a modular fashion to provide a quantitative analysis of the robustness of LLMs to adversarial prompt attacks. Best Paper Awards @ NeurIPS ML Safety Workshop 2022
Python · MIT · updated 7 months agoDetails›AI safety & security
Stars:511vigil-llm
Vigil Detect prompt injections, jailbreaks, and other potentially risky Large Language Model (LLM) inputs
Python · Apache-2.0 · updated 2 years agoDetails›MCP servers
Stars:466AgentHound
Offensive security framework for AI agent infrastructure - recon, credential looting, model exfiltration, poisoning, and attack-path analysis across MCP, A2A, gateways, and AI services. BloodHound for the agentic stack.
Go · Apache-2.0 · updated 18 days agoDetails›AI safety & security
Stars:429AIJack
Security and Privacy Risk Simulator for Machine Learning (arXiv:2312.17667)
C++ · Apache-2.0 · updated 6 months agoDetails›MCP servers
Stars:385agentseal
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.
Python · updated 5 months agoDetails›AI safety & security
Stars:369prompt-hacker-collections
prompt attack-defense, prompt Injection, reverse engineering notes and examples | 提示词对抗、破解例子与笔记
MIT · updated 1 year agoDetails›AI agents
Stars:332Modern-Red-Team-Infrastructure
A comprehensive modern architecture model is proposed to integrate platform solutions and tooling to support a professional Red Team.
updated 14 days agoDetails›MCP servers
Stars:314BurpMCP-Ultra
AI-powered MCP server for Burp Suite Professional — 149 tools across proxy, scanner, inline fuzzer, race conditions, guided injection, JWT/IDOR attacks, recon & OOB, with a real-time dashboard and hardened localhost security. Drive Burp from Claude Code or any MCP client.
Kotlin · MIT · updated 2 months agoDetails›LLM & RAG frameworks
Stars:311PoisonedRAG
[USENIX Security 2025] PoisonedRAG: Knowledge Corruption Attacks to Retrieval-Augmented Generation of Large Language Models
Python · MIT · updated 10 months agoDetails›MCP servers
Stars:145AI-Surface
Find and govern AI attack surfaces in application code, at PR time and inside your AI coding tool (MCP server, Claude Code hook). Free, OSS, runs offline.
Python · MIT · updated 1 month agoDetails›AI safety & security
Stars:116VoxShield
Protecting digital communications against audio deepfakes with real-time AI. This system analyzes audio streams to detect synthesized voices and actively prevents voice cloning impersonation attacks.
JavaScript · MIT · updated 2 months agoDetails›Skills & prompts
Stars:105open-sesame
🔓 An AI web-pentest skill for Claude Code. Point it at a site you're authorized to test — it maps the attack surface, works through the OWASP WSTG, validates findings, and writes dev + stakeholder reports (PDF).
HTML · updated 1 month agoDetails›AI safety & security
Stars:47llm-firewall
AI Firewall & LLM security toolkit - protect your AI applications from prompt injection, jailbreaks, PII leakage, and adversarial attacks
MIT · updated 12 days agoDetails›AI agents
Stars:26Watchtower
Watchtower | Self-hosted AI security assessment, asset intelligence, and evidence workflows.
Python · GPL-3.0 · updated 1 month agoDetails›
Details come from each project’s own repository. Something wrong or missing? Tell us or open a pull request.