AI security · detection · threat intel · vulnerabilities & supply chain · appsec
Open-source security projects
Well-known defensive, dual-use and AI-security open-source projects. Repository, licence and maintainer come from each project's official repository; stars and latest release are refreshed daily. Exploit frameworks and PoC collections are not listed.
80 projects
AI security
- promptfooCLI and library for testing prompts, agents and RAG pipelines, including red-teaming and vulnerability scanning of LLM applications.
- garakLLM vulnerability scanner that probes language models for weaknesses such as prompt injection, jailbreaks, data leakage and toxic output.
- Guardrails AIPython framework that adds input/output guards to LLM applications to detect and mitigate risks and structure outputs.
- NeMo GuardrailsLibrary for adding programmable safety and security controls (rails) to LLM and agentic applications.
- CleverHansAdversarial example library for constructing attacks, building defenses and benchmarking both.
- Adversarial Robustness Toolbox (ART)Python library for machine learning security covering evasion, poisoning, extraction and inference threats, for both red and blue teams.
- GiskardOpen-source evaluation, red-teaming and test-generation library for LLM agents, with an AI vulnerability scanner.
- PyRITMicrosoft's Python Risk Identification Tool, an open-source AI red-teaming framework for proactively identifying risks in generative AI systems.
- Purple LlamaUmbrella project of tools to assess and improve LLM security: Llama Guard and Prompt Guard safeguard models, Code Shield insecure-code filtering, and the CyberSecEval benchmarks.
- safetensorsSimple, safe tensor storage format that avoids the arbitrary code execution risk of pickle-based model files.
- TextAttackPython framework for adversarial attacks, data augmentation and adversarial training of NLP models.
- InspectFramework for large language model evaluations, including safety and dangerous-capability evals.
- Snyk Agent Scan (formerly mcp-scan)Scanner that discovers agent components on a machine (agents, MCP servers, skills) and checks them for prompt injection and vulnerabilities.
- LLM GuardSecurity toolkit of input/output scanners for LLM interactions (prompt injection, data leakage, harmful content).
- Agentic SecurityAgentic LLM vulnerability scanner and AI red-teaming kit.
- RebuffSelf-hardening prompt injection detector with multi-layered defenses for AI applications.
- OWASP Top 10 for LLM ApplicationsDocumentation project listing the top ten security risks for large language model applications, part of the OWASP GenAI Security Project.
- MCP Scanner (Cisco AI Defense)Scans MCP servers and tools for security findings using YARA rules, LLM-based analysis and the Cisco AI Defense API.
- CounterfitCLI providing a generic automation layer for assessing the security of machine learning models.
- ModelScanScanner that detects unsafe code in serialized ML model files to protect against model serialization attacks.
- FicklingPython pickle decompiler and static analyzer for detecting malicious code in pickle files, including ML model files.
- Invariant GuardrailsContextual guardrails for securing agent systems.
- MoonshotModular tool to evaluate and red-team LLM applications.
- MITRE ATLAS DataMachine-readable data for MITRE ATLAS: adversary tactics, techniques and case studies targeting AI systems.
- AI Verify ToolkitToolkit for testing traditional AI applications for fairness, explainability and robustness.
Detection & response
- osqueryExposes the operating system as a relational database so hosts can be monitored and analysed with SQL.
- WazuhOpen source security platform providing unified XDR and SIEM protection for endpoints and cloud workloads.
- CrowdSecOpen-source IDS/IPS, WAF and bot detection for Linux, Windows, Docker and Kubernetes, with a crowdsourced blocklist of malicious IPs.
- FalcoCloud native runtime security tool that detects abnormal behaviour in hosts, containers and Kubernetes from kernel events.
- ZeekNetwork analysis framework that turns traffic into rich logs for security monitoring, going beyond a typical signature IDS.
- SuricataNetwork intrusion detection, intrusion prevention and network security monitoring engine developed by OISF and the Suricata community.
- TetragoneBPF-based security observability and runtime enforcement for Linux and Kubernetes.
- OSSECHost-based intrusion detection system performing log analysis, file integrity checking, policy monitoring, rootkit detection and active response.
- Security OnionFree and open platform for threat hunting, enterprise security monitoring and log management, bundling tools such as Suricata, Zeek and osquery.
- VelociraptorEndpoint visibility and digital forensics tool that collects host-based state with the Velociraptor Query Language (VQL).
- Snort 3Snort 3 (Snort++) is the next generation of the Snort network intrusion prevention system.
Threat intel & rules
- Sigma (SigmaHQ)Main repository of Sigma, a generic and open signature format for describing detections in log events.
- OpenCTIOpen cyber threat intelligence platform for organising, storing and visualising technical and non-technical threat knowledge.
- YARAPattern-matching tool that helps malware researchers identify and classify samples using textual or binary rules.
- MISPOpen source threat intelligence and sharing platform (core software).
- TheHiveSecurity incident response management platform; the open-source repository is archived and current versions are distributed commercially.
- CortexObservable analysis and active response engine, often used alongside TheHive.
Vulnerabilities & supply chain
- TrivyFinds vulnerabilities, misconfigurations, secrets and SBOMs in containers, Kubernetes, code repositories, clouds and more.
- GrypeVulnerability scanner for container images and filesystems.
- OSV-ScannerVulnerability scanner written in Go that uses data from the OSV.dev open vulnerability database.
- ClairStatic vulnerability analysis for container images.
- SyftCLI tool and library for generating a software bill of materials (SBOM) from container images and filesystems.
- CheckovScans infrastructure as code, container images and open source packages at build time to prevent cloud misconfigurations and find vulnerabilities.
- kube-benchChecks whether Kubernetes is deployed according to the CIS Kubernetes Benchmark.
- Sigstore cosignCode signing and transparency for containers and binaries.
- OpenSSF ScorecardAutomated security health metrics for open-source projects.
- Dependency-TrackComponent analysis platform that helps organisations identify and reduce risk in the software supply chain using SBOMs.
- in-totoFramework to protect software supply chain integrity (Python reference implementation).
Application security
- NucleiVulnerability scanner driven by YAML templates for detecting issues in applications, APIs, networks, DNS and cloud configurations.
- GitleaksTool for detecting secrets such as passwords, API keys and tokens in git repositories and files.
- TruffleHogFinds, verifies and analyses leaked credentials.
- Semgrep (Community Edition)Lightweight static analysis for many languages that finds bug variants with patterns that look like source code.
- ZAP (ZAP by Checkmarx)Web application security scanner (ZAP by Checkmarx core project), formerly OWASP ZAP.
- ModSecurityCross-platform web application firewall (WAF) engine for Apache, IIS and Nginx with an event-based rule language.
- BanditTool designed to find common security issues in Python code.
- CorazaGo web application firewall library compatible with ModSecurity rules.
Network & reverse engineering
- GhidraSoftware reverse engineering (SRE) framework.
- radare2UNIX-like reverse engineering framework and command-line toolset.
- CutterFree and open source reverse engineering platform powered by Rizin.
- NmapNetwork discovery and security auditing tool (the Network Mapper).
- ArkimeLarge-scale open source full packet capture, indexing and database system.
- WiresharkNetwork protocol analyzer for capturing and interactively inspecting network traffic.
Forensics
Identity & secrets
- KeycloakOpen source identity and access management for modern applications and services.
- HashiCorp VaultTool for secrets management, encryption as a service and privileged access management.
- AutheliaSingle sign-on and multi-factor authentication portal for web apps.
- SOPSSimple and flexible tool for managing encrypted secrets in files.
- OpenBaoSoftware to manage, store and distribute sensitive data including secrets, certificates and keys (open-source fork of Vault).
Crypto & TLS
- CertbotEFF's ACME client for obtaining Let's Encrypt certificates and optionally enabling HTTPS on a server.
- OpenSSLGeneral purpose TLS and cryptography library.
- ageSimple, modern and secure file encryption tool and Go library with small explicit keys and UNIX-style composability.
- BoulderACME-based certificate authority software, written in Go, that runs Let's Encrypt.
- BoringSSLFork of OpenSSL designed to meet Google's needs; the project says it is not intended for general third-party use.
- WireGuard (wireguard-tools)Userspace tools (wg, wg-quick) for configuring WireGuard, a fast and modern VPN tunnel built on state-of-the-art cryptography.