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”
Open models
Stars:4.9kllm-attacks
Universal and Transferable Attacks on Aligned Language Models
Python · MIT · updated 2 years agoDetails›AI safety & security
Stars:3.5kTextAttack
TextAttack is a Python framework for adversarial attacks, data augmentation, and model training in NLP https://textattack.readthedocs.io/en/master/
Python · MIT · updated 3 months agoDetails›AI safety & security
Stars:2.2kadversarial-attacks-pytorch
PyTorch implementation of adversarial attacks [torchattacks]
Python · MIT · updated 2 years agoDetails›AI safety & security
Stars:1.3kattackgen
AttackGen is a cybersecurity incident response testing tool that leverages the power of large language models and the comprehensive MITRE ATT&CK framework. The tool generates tailored incident response scenarios based on user-selected threat actor groups and your…
Python · GPL-3.0 · updated 12 days agoDetails›AI safety & security
Stars:52.2kshannon
Shannon is an AI pentester for web applications and APIs. It analyzes your source code, identifies attack vectors, and executes real exploits to prove vulnerabilities before they reach production.
TypeScript · AGPL-3.0 · updated 10 days agoDetails›MCP servers
Stars:36.5kAnthropic-Cybersecurity-Skills
817 structured cybersecurity skills for AI agents · Mapped to 6 frameworks: MITRE ATT&CK, NIST CSF 2.0, MITRE ATLAS, D3FEND, NIST AI RMF & MITRE F3 (Fight Fraud) · agentskills.io standard · Works with Claude Code, GitHub Copilot, Codex CLI, Cursor, Gemini CLI & 20+ platforms…
Python · Apache-2.0 · updated 3 months agoDetails›Skills & prompts
Stars:15.2kClaude-BugHunter
A Claude Code skill bundle for bug hunting and external red-team work - 82 skills, 15 slash commands, 681 disclosed-report patterns curated across 24 core vulnerability classes, plus enterprise identity + infrastructure attack matrices.
Python · MIT · updated 10 days agoDetails›Skills & prompts
Stars:9.3kawesome-prompts
Curated list of chatgpt prompts from the top-rated GPTs in the GPTs Store. Prompt Engineering, prompt attack & prompt protect. Advanced Prompt Engineering papers.
GPL-3.0 · updated 10 days agoDetails›Data science
Stars:6.5kcleverhans
An adversarial example library for constructing attacks, building defenses, and benchmarking both
Jupyter Notebook · MIT · updated 2 years agoDetails›AI safety & security
Stars:6.3kadversarial-robustness-toolbox
Adversarial Robustness Toolbox (ART) - Python Library for Machine Learning Security - Evasion, Poisoning, Extraction, Inference - Red and Blue Teams
Python · MIT · updated 17 days agoDetails›AI safety & security
Stars:4.7knlpaug
Data augmentation for NLP
Jupyter Notebook · MIT · updated 17 days agoDetails›MCP servers
Stars:3.5kredamon
Open-source, self-hosted AI penetration testing framework: maps your attack surface into a graph, autonomously exploits it from a Kali sandbox with human approval gates, and opens PRs that fix what it finds. MCP both ways: plug in any MCP server as a tool, or drive RedAmon…
Python · MIT · updated 11 days agoDetails›Other
Stars:3.1kClaude-OSINT
8 Claude skills · 100+ recon capabilities · 80 secret-regex patterns · 80+ dorks · 9 read-only credential validators · 27 attack-path templates · ~10,000 lines of structured tradecraft. Drop-in SKILL.md files that turn Claude into a god-mode external recon operator for authorized red-team and bug-b…
Python · MIT · updated 1 month agoDetails›AI safety & security
Stars:3kfoolbox
A Python toolbox to create adversarial examples that fool neural networks in PyTorch, TensorFlow, and JAX
Python · MIT · updated 11 months agoDetails›Skills & prompts
Stars:2.5ksapper-v2
Autonomous pentest legion — AI commander + worker swarm + layered fact-intent graph. 3rd Tencent Intelligent Attack-Defense online champion (634 teams · 8h unattended · 1B tokens beat 4.5B). The Nüwa Test: give AIs Create/Language/History, let a civilization grow.
Python · MIT · updated 19 days agoDetails›Learn AI
Stars:2.1kAwesome-LM-SSP
A reading list for large models safety, security, and privacy (including Awesome LLM Security, Safety, etc.).
Apache-2.0 · updated 2 months agoDetails›Open models
Stars:1.9kBruteForceAI
Advanced LLM-powered brute-force tool combining AI intelligence with automated login attacks
Python · updated 4 months agoDetails›Image generation
Stars:1.4khello-ai
It's not AI that takes away your job, but the people who master the use of AI tools. The most deadly attack is a dimension-reducing strike: destroying you has nothing to do with you - from "The Three-Body Problem". 中文说明: 抢走你工作的不是AI,而是掌握使用AI工具的人。 降维打击最为致命:毁灭你,与你何干《三体》
JavaScript · MIT · updated 1 month agoDetails›MCP servers
Stars:1.2kstride-gpt
An AI-powered threat modeling tool that leverages OpenAI's GPT models to generate threat models for a given application based on the STRIDE methodology.
Python · MIT · updated 11 days agoDetails›AI safety & security
Stars:1.1kagentdojo
A Dynamic Environment to Evaluate Attacks and Defenses for LLM Agents.
Python · MIT · updated 5 months agoDetails›AI safety & security
Stars:1kmedusa
AI-first security scanner. NEW in v2026.7: Claude Code compromise detection — vet .claude/ hooks, permissions & skills before you clone — plus an always-on AI attack-signature scanner and native Rust & PHP rules. Also: medusa scan --git to vet any repo, medusa secrets scan for leaked API keys. 40,0…
Python · AGPL-3.0 · updated 3 months agoDetails›AI safety & security
Stars:1kphotoguard
Raising the Cost of Malicious AI-Powered Image Editing
Jupyter Notebook · MIT · updated 3 years agoDetails›Chat interfaces
Stars:996SurrogateShield
A privacy-first guardrail for LLMs and RAG pipelines. SurrogateShield detects, redacts, and reconstructs sensitive PII data on the fly while defending against adversarial attacks.
Python · Apache-2.0 · updated 1 month agoDetails›Learn AI
Stars:801Awesome-Model-Merging-Methods-Theories-Applications
Model Merging in LLMs, MLLMs, and Beyond: Methods, Theories, Applications and Opportunities. ACM Computing Surveys, 2026.
updated 18 days agoDetails›MCP servers
Stars:770FofaMap
一款证据驱动的 FOFA 资产测绘智能体:支持自然语言侦察、AI 反思、CLI / MCP / Skill / REST API,以及经人工审批的 Nuclei 扫描。
Python · Apache-2.0 · updated 28 days agoDetails›MCP servers
Stars:747CVEngine
AI-first external attack surface assessment with continuous discovery, evidence-based vulnerability validation, and developer-agent MCP integration.
Python · GPL-3.0 · updated 10 days agoDetails›Skills & prompts
Stars:686JailbreakHub
A Hub/research area, for jailbreaking LLM's, and breaking their safety filters.
Roff · Unlicense · updated 10 days agoDetails›MCP servers
Stars:570ARL-Next
Modern attack-surface reconnaissance & asset monitoring platform — rebuilt from classic ARL with async decoupled scheduling, enterprise asset correlation and native MCP support. Docker-ready.
Python · GPL-3.0 · updated 10 days agoDetails›MCP servers
Stars:541Mitsu
Meet Mitsu, your chibi red-team operator. Connect your AI provider, set the scope, and she can take an authorized pentest from recon and attack-surface mapping through vulnerability discovery, > exploitation, and post-exploitation, armored with 165+ MCP-connected tools and live session intel. Guide…
Python · MIT · updated 10 days agoDetails›Speech & audio
Stars:534EDDI
Companion application for Elite Dangerous
C# · updated 15 days agoDetails›
Details come from each project’s own repository. Something wrong or missing? Tell us or open a pull request.