AI Security Tools
The open-source toolkit for attacking and defending AI systems, ranked by GitHub stars — 66 tools across 6 categories.
66 tools
- promptfoopromptfooTest & red-team LLM apps, agents, and RAG pipelines26.0k
- SkillSpectorNVIDIASecurity scanner for AI agent skills — detect prompt injection, data exfiltration and supply-chain risks20.3k
- evalsopenaiFramework for evaluating LLMs and LLM systems — open-source benchmark registry19.6k
- PentestGPTGreyDGLAutomated penetration testing framework powered by LLMs16.0k
- lm-evaluation-harnessEleutherAIFew-shot evaluation framework for language models14.2k
- PresidioMicrosoftDetect, redact and anonymize PII in text, images and structured data11.3k
- PySyftOpenMinedPerform data science on data in someone else's server — federated learning and secure computation10.0k
- garakNVIDIALLM vulnerability scanner — probes for jailbreaks, prompt injection, data leakage9.6k
- guardrailsguardrails-aiAdd programmable guardrails to LLM outputs7.5k
- OpenLLMetrytraceloopOpen-source observability for GenAI/LLM applications based on OpenTelemetry7.5k
- NeMo GuardrailsNVIDIAToolkit for adding programmable rails to LLM conversations7.3k
- AI-Infra-GuardTencentFull-stack AI red teaming — agent scan, skills scan, MCP scan, LLM jailbreak evaluation6.9k
- Superagentsuperagent-aiProtect AI apps against prompt injections, data leaks and harmful outputs6.8k
- 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, security5.9k
- llm-attacksllm-attacksUniversal & transferable adversarial attacks on aligned LLMs4.8k
- PyRITmicrosoftPython Risk Identification Tool for generative AI red teaming4.6k
- dotsensity-aiDeepfake Offensive Toolkit for red-teaming face verification systems4.6k
- PurpleLlamameta-llamaMeta's tools to assess and improve LLM security (CyberSecEval)4.4k
- FedMLFedML-AIUnified federated learning library — distributed training with privacy4.1k
- safetensorshuggingfaceSafe way to store and distribute model tensors — prevent deserialization attacks3.9k
- jailbreak_llmsverazuo15,140 ChatGPT jailbreak prompts dataset from Reddit, Discord and websites3.8k
- 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.0k
- FoolboxbethgelabCreate adversarial examples that fool neural networks in PyTorch, TensorFlow and JAX3.0k
- HELMstanford-crfmHolistic Evaluation of Language Models (HELM) — reproducible LLM benchmarking2.9k
- 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.5k
- 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.1k
- AI-Red-Teaming-PlaygroundmicrosoftAI red teaming playground labs with training infrastructure from Microsoft2.1k
- CheckListmarcotcrBehavioral testing of NLP models beyond accuracy — checklist methodology2.0k
- TensorFlow PrivacytensorflowTrain ML models with differential privacy for training data2.0k
- agentic_securitymsoedovAgentic LLM vulnerability scanner and AI red teaming kit2.0k
- OpacuspytorchTrain PyTorch models with differential privacy2.0k
- open-appsecopenappsecML-based web application and API security engine — preemptive threat prevention1.7k
- 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
- LangKitwhylabsToolkit for monitoring LLMs — safety, security and text quality metrics1.0k
- NVFlareNVIDIANVIDIA Federated Learning Application Runtime Environment981
- counterfitAzureCLI for assessing security of ML models — evasion, extraction, poisoning945
- diffprivlibIBMIBM Differential Privacy Library — mechanisms, models, and tools920
- JailbreakingLLMspatrickrchaoResearch on jailbreaking LLMs using adversarial attacks799
- RobustBenchRobustBenchStandardized adversarial robustness benchmark (NeurIPS 2021)790
- modelscanprotectaiScan ML models for unsafe code (deserialization attacks)784
- OpenAttackthunlpOpen-source package for textual adversarial attack research781
- ML Privacy MeterprivacytrustlabAudit data privacy in statistical and machine learning algorithms728
- lm-watermarkingjwkirchenbauerLLM output watermarking — embed and detect watermarks in model-generated text704
- jailbreakbenchJailbreakBenchOpen robustness benchmark for LLM jailbreaking687
- ficklingtrailofbitsPython pickling decompiler and static analyzer — detect malicious model files672
- ai-safety-gridworldsgoogle-deepmindRL environments illustrating AI agent safety properties from DeepMind639
- TrustLLMHowieHwongTrustworthiness evaluation of LLMs across safety, fairness, robustness and privacy (ICML 2024)632
- deep-pwningcchioMetasploit for machine learning — adversarial attack toolkit570
- PromptInjectagencyenterpriseFramework for quantitative analysis of LLM prompt injection robustness528
- 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.