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.
52 repos in AI safety & security matching “security”
Red-teaming, guardrails, privacy and security tools for AI systems.
AI safety & security
Stars:1klangkit
LangKit: An open-source toolkit for monitoring Large Language Models (LLMs). Extracts signals from prompts & responses, ensuring safety & security. Features include text quality, relevance metrics, & sentiment analysis. A comprehensive tool for LLM observability.
Jupyter Notebook · Apache-2.0 · updated 2 years agoDetails›AI safety & security
Stars:951skylos
Open source local-first PR scanner that finds dead code, security bugs, secrets, quality regressions, and AI-code mistakes before merge. For first timers refer to https://duriantaco.github.io/skylos/repo-map/
Python · 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›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›AI safety & security
Stars:626CipherChat
A framework to evaluate the generalization capability of safety alignment for LLMs
Python · MIT · updated 1 year agoDetails›AI safety & security
Stars:540hackagent
HackAgent is an open-source security toolkit to detect vulnerabilities of your AI Agents
Python · Apache-2.0 · updated 10 days 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›AI safety & security
Stars:451ai-jailbreaks
AI jailbreaks: 35 paste-ready AI jailbreak prompts for 25+ frontier and open-weight models - system prompts, AGENTS.md specs, and Ollama Modelfiles. Built for AI security research and red-team testing.
updated 1 month 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›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›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›AI safety & security
Stars:315greywall
Container-free, deny-by-default sandbox for AI coding agents. Kernel-enforced filesystem, network, and syscall isolation for Linux and macOS
Go · Apache-2.0 · updated 1 month agoDetails›AI safety & security
Stars:304clawdstrike
Agentic AI EDR for developer workstations and autonomous agent swarms. Build Swarm Detection & Response platforms with Clawdstrike.
TypeScript · Apache-2.0 · updated 10 days agoDetails›AI safety & security
Stars:183ai-runtime-lab
Engineering deterministic, production-grade systems around non-deterministic LLMs — FSM, durable execution, retries, DAGs, agent runtimes, model routing, edge inference, RAG, memory, multi-agent orchestration, security, and observability. 14 runnable proof-of-concept phases.
Python · updated 4 months agoDetails›AI safety & security
Stars:123guardian-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+…
Python · updated 10 days 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›AI safety & security
Stars:68NoPII
Ready-to-run examples showing NoPII PII protection with OpenAI, Anthropic, LangChain, LlamaIndex, and more
Python · MIT · updated 6 months agoDetails›AI safety & security
Stars:54llmtrace
Zero-code LLM security & observability proxy. Real-time prompt injection detection, PII scanning, and cost control for OpenAI-compatible APIs. Built in Rust.
Python · MIT · updated 3 months 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›
Details come from each project’s own repository. Something wrong or missing? Tell us or open a pull request.