AI Security Tools
The open-source toolkit for attacking and defending AI systems, ranked by GitHub stars — 66 tools across 6 categories.
66 tools
- SkillSpectorNVIDIASecurity scanner for AI agent skills — detect prompt injection, data exfiltration and supply-chain risks28.3k
- promptfoopromptfooTest & red-team LLM apps, agents, and RAG pipelines27.8k
- evalsopenaiFramework for evaluating LLMs and LLM systems — open-source benchmark registry19.8k
- PentestGPTGreyDGLAutomated penetration testing framework powered by LLMs16.7k
- lm-evaluation-harnessEleutherAIFew-shot evaluation framework for language models14.6k
- PresidioMicrosoftDetect, redact and anonymize PII in text, images and structured data12.1k
- garakNVIDIALLM vulnerability scanner — probes for jailbreaks, prompt injection, data leakage10.3k
- PySyftOpenMinedPerform data science on data in someone else's server — federated learning and secure computation10.1k
- AI-Infra-GuardTencentFull-stack AI red teaming — agent scan, skills scan, MCP scan, LLM jailbreak evaluation7.8k
- guardrailsguardrails-aiAdd programmable guardrails to LLM outputs7.7k
- NeMo GuardrailsNVIDIAToolkit for adding programmable rails to LLM conversations7.6k
- OpenLLMetrytraceloopOpen-source observability for GenAI/LLM applications based on OpenTelemetry7.6k
- Superagentsuperagent-aiProtect AI apps against prompt injections, data leaks and harmful outputs6.9k
- cleverhanscleverhans-labAdversarial-example library for benchmarking ML robustness6.5k
- ARTTrusted-AIAdversarial ML — evasion, poisoning, extraction, inference attacks and defenses6.3k
- FATEFederatedAIIndustrial-grade federated learning framework for privacy-preserving ML6.1k
- GiskardGiskard-AIEvaluation and testing library for LLM agents — detect hallucination, bias, security6.0k
- PyRITmicrosoftPython Risk Identification Tool for generative AI red teaming5.2k
- llm-attacksllm-attacksUniversal & transferable adversarial attacks on aligned LLMs4.9k
- dotsensity-aiDeepfake Offensive Toolkit for red-teaming face verification systems4.6k
- PurpleLlamameta-llamaMeta's tools to assess and improve LLM security (CyberSecEval)4.5k
- FedMLFedML-AIUnified federated learning library — distributed training with privacy4.1k
- safetensorshuggingfaceSafe way to store and distribute model tensors — prevent deserialization attacks4.0k
- jailbreak_llmsverazuo15,140 ChatGPT jailbreak prompts dataset from Reddit, Discord and websites3.9k
- TextAttackQDataAdversarial attacks, data augmentation and model training for NLP3.5k
- differential-privacygoogleGoogle's differential privacy algorithm libraries3.4k
- llm-guardprotectaiSecurity toolkit for LLM interactions — input/output scanning3.2k
- DeepTeamconfident-aiRed team LLMs and AI agents with 40+ attack methods — jailbreaking, RAG poisoning, PII leakage3.1k
- FoolboxbethgelabCreate adversarial examples that fool neural networks in PyTorch, TensorFlow and JAX3.0k
- HELMstanford-crfmHolistic Evaluation of Language Models (HELM) — reproducible LLM benchmarking3.0k
- whylogswhylabsData logging library for ML model monitoring — privacy-preserving profiling2.8k
- FaceForensicsondyariLarge-scale face forgery detection benchmark dataset (FaceForensics++)2.8k
- alibi-detectSeldonIOOutlier, adversarial and data drift detection algorithms2.6k
- AI-Red-Teaming-PlaygroundmicrosoftAI red teaming playground labs with training infrastructure from Microsoft2.3k
- torchattacksHarry24kPyTorch adversarial attack implementations (torchattacks) — FGSM, PGD, C&W and more2.2k
- llm-securitygreshakeResearch on indirect prompt injection — new ways of breaking app-integrated LLMs2.2k
- agentic_securitymsoedovAgentic LLM vulnerability scanner and AI red teaming kit2.1k
- CheckListmarcotcrBehavioral testing of NLP models beyond accuracy — checklist methodology2.1k
- TensorFlow PrivacytensorflowTrain ML models with differential privacy for training data2.0k
- OpacuspytorchTrain PyTorch models with differential privacy2.0k
- open-appsecopenappsecML-based web application and API security engine — preemptive threat prevention1.8k
- rebuffprotectaiPrompt-injection detector for LLM applications1.5k
- promptmaputkusenSecurity scanner for custom LLM applications1.3k
- Safety-Promptsthu-coaiChinese safety prompts for evaluating and improving LLM safety1.2k
- DeepfakeBenchSCLBDComprehensive deepfake detection benchmark — standardized comparison of methods1.1k
- HarmBenchcenterforaisafetyStandardized evaluation framework for automated red teaming and robust refusal1.1k
- agentic-radarsplx-aiSecurity scanner for LLM agentic workflows — detect risks in agent pipelines1.1k
- TenSEALOpenMinedHomomorphic encryption operations on tensors for private ML inference1.0k
- NVFlareNVIDIANVIDIA Federated Learning Application Runtime Environment1.0k
- LangKitwhylabsToolkit for monitoring LLMs — safety, security and text quality metrics1.0k
- counterfitAzureCLI for assessing security of ML models — evasion, extraction, poisoning943
- diffprivlibIBMIBM Differential Privacy Library — mechanisms, models, and tools921
- JailbreakingLLMspatrickrchaoResearch on jailbreaking LLMs using adversarial attacks822
- modelscanprotectaiScan ML models for unsafe code (deserialization attacks)803
- RobustBenchRobustBenchStandardized adversarial robustness benchmark (NeurIPS 2021)792
- OpenAttackthunlpOpen-source package for textual adversarial attack research782
- ML Privacy MeterprivacytrustlabAudit data privacy in statistical and machine learning algorithms729
- lm-watermarkingjwkirchenbauerLLM output watermarking — embed and detect watermarks in model-generated text713
- jailbreakbenchJailbreakBenchOpen robustness benchmark for LLM jailbreaking709
- ficklingtrailofbitsPython pickling decompiler and static analyzer — detect malicious model files680
- ai-safety-gridworldsgoogle-deepmindRL environments illustrating AI agent safety properties from DeepMind638
- TrustLLMHowieHwongTrustworthiness evaluation of LLMs across safety, fairness, robustness and privacy (ICML 2024)635
- deep-pwningcchioMetasploit for machine learning — adversarial attack toolkit571
- PromptInjectagencyenterpriseFramework for quantitative analysis of LLM prompt injection robustness534
- ARESthu-mlBenchmarking adversarial robustness on image classifiers528
- BlindAImithril-securityConfidential AI deployment with secure enclaves512
Star counts from the GitHub API, refreshed daily by the pipeline. Inclusion is editorial — a curated set, not an exhaustive index.