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.
72 repos matching “ai-security”
MCP servers
Stars:1.3kDark-Moon
Open-source autonomous AI penetration testing. 50 specialist agents across web, API, cloud, Active Directory, Kubernetes, CI/CD and AI/LLM (OWASP LLM Top 10). Runs on a local LLM behind a Privacy Gateway. Integrates with GitHub, GitLab, Jenkins, VS Code, JetBrains, n8n…
Python · GPL-3.0 · updated 10 days 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:1.2kpentestcode
PentestCode - Multi-agent AI penetration testing system with persistent engagement state, strategic coordination, and parallel autonomous operations.
TypeScript · MIT · updated 26 days 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 12 days agoDetails›MCP servers
Stars:1.1khol-guard
Open-source antivirus for AI agents: block risky tools, secret access, prompt injection, malicious packages, MCP servers, plugins, and skills at runtime.
Python · Apache-2.0 · updated 10 days agoDetails›MCP servers
Stars:1.1kagentic-radar
A security scanner for your LLM agentic workflows
Python · Apache-2.0 · updated 18 days 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›MCP servers
Stars:1kpipelock
Open-source AI agent firewall for MCP security and agent egress. Scans mediated HTTP, MCP, A2A, and WebSocket traffic for exfiltration, SSRF, and prompt injection, and emits mediator-signed action receipts: verifiable audit evidence from outside the agent.
Go · Apache-2.0 · updated 10 days agoDetails›AI safety & security
Stars:925api-relay-audit
Local security audit for AI API relays and LLM proxies: detects prompt injection, model substitution, tool-call rewriting, SSE anomalies, error leakage, and Web3 wallet risks.
Python · AGPL-3.0 · updated 13 days agoDetails›LLM & RAG frameworks
Stars:848numasec
The AI Agent for Cyber Security.
TypeScript · AGPL-3.0 · updated 6 months agoDetails›MCP servers
Stars:700arcjet-js
Runtime security for AI apps and agents: prompt injection detection, tool-call authorization, sensitive-data redaction, bot protection, and rate limiting. Drop it into your JS/TS code.
TypeScript · Apache-2.0 · updated 11 days agoDetails›AI safety & security
Stars:663enterprise-system-design
A source-grounded course and architectural reference for engineers designing systems that must survive real traffic, partial failure, security review, and changing requirements, spanning enterprise system design, distributed systems, AI systems, cybersecurity, reliability, cloud, HPC, edge, and mis…
updated 19 days agoDetails›MCP servers
Stars:597Adrian
Open-source runtime AI agent security tool - monitors and controls AI agents, catching malicious tool use, prompt injection, and policy drift in real time, before the agent acts.
Python · Apache-2.0 · updated 1 month agoDetails›MCP servers
Stars:588agent-opfor
Open-source adversary emulation for AI agents and MCP servers.
TypeScript · updated 28 days agoDetails›MCP servers
Stars:585prismor
Self-hosted runtime control plane for AI agents. Observe or HITL approve or Block rogue tool calls before it executes: secret leaks, prompt injection, supply chain etc in a local dashboard. Agent agnostic (Claude, codex, langchain etc.)
Python · Apache-2.0 · updated 10 days agoDetails›MCP servers
Stars:503agent-skills-hub
Discover and compare open-source Agent Skills, tools & MCP servers — with quality scoring, trending analysis, and automated GitHub sync
HTML · MIT · updated 10 days agoDetails›Learn AI
Stars:494awesome-MLSecOps
A curated list of MLSecOps tools and resources for securing machine learning and AI systems - adversarial ML defense, LLM security, AI red teaming, model scanning, supply-chain protection, and MLOps pipeline security.
Astro · MIT · updated 13 days 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›Skills & prompts
Stars:457claude-code-owasp
Claude Code skill for OWASP security best practices (2025-2026). Includes Top 10:2025, ASVS 5.0, Agentic AI security, and 20+ language-specific security quirks.
JavaScript · MIT · updated 28 days agoDetails›AI safety & security
Stars:428rules
Project CodeGuard is an AI model-agnostic security framework and ruleset that embeds secure-by-default practices into AI coding workflows (generation and review). It ships core security rules, translators for popular coding agents, and validators to test rule compliance.
Python · updated 10 months agoDetails›AI safety & security
Stars:420aifw
AI Agent Identity and Access Management and Inference Firewall
Python · updated 1 month agoDetails›AI safety & security
Stars:411agentsh
Execution-Layer Security (ELS) for AI agents — policy-enforced shell with audit.
Go · Apache-2.0 · updated 23 days agoDetails›Skills & prompts
Stars:406secfoo
AI security review CLI: SAST, secret scanning, SCA, threat modeling and architecture review with Claude Code, Copilot, Codex, Gemini, Cursor or an API key. SARIF output for CI.
Python · MIT · updated 10 days agoDetails›AI safety & security
Stars:360LLMVault
An intentionally vulnerable OWASP LLM Top 10 training platform for AI Security, Prompt Injection, RAG Security, Agent Security, and GenAI penetration testing.
Python · MIT · updated 18 days agoDetails›AI safety & security
Stars:350secureclaw
SecureClaw - Security Plugin and Skill for OpenClaw OWASP-Aligned
TypeScript · updated 7 months agoDetails›MCP servers
Stars:305claudit-sec
Security audit tool for Claude Desktop and Claude Code on macOS — single-command visibility into MCP servers, extensions, plugins, connectors, scheduled tasks, and permissions.
PowerShell · Apache-2.0 · updated 6 months agoDetails›AI safety & security
Stars:279SecurityClaw
A modular, skill-based autonomous Security Operations Center (SOC) agent that monitors OpenSearch/Elasticsearch data, builds RAG-based behavioral memory, and validates real-time anomalies using LLMs.
Python · MIT · updated 1 month agoDetails›AI agents
Stars:275dodoguard
DodoGuard: Take AI Agents to Production. Test, validate, and operate AI Agents before and after deployment.for Dify, Coze, FastGPT, n8n, Tencent ADP, ByteDance HiAgent, and more.
TypeScript · MIT · updated 1 month agoDetails›Skills & prompts
Stars:254Stroq
Find known secrets in your AI coding agent sessions (Claude Code, Codex, Cursor), then guard the next one with local hooks that trace risky commands to the content that dictated them. Open source, no telemetry.
TypeScript · Apache-2.0 · updated 13 days agoDetails›MCP servers
Stars:187AgentCapture
Deception-layer honeypot that captures & reverse-controls AI pentest agents — embedded decoys, prompt-injection counter-offense, MCP honeypot, conversational C2.
Python · AGPL-3.0 · updated 19 days agoDetails›
Details come from each project’s own repository. Something wrong or missing? Tell us or open a pull request.