Zum Inhalt springen
← AI red teaming: techniques, open-source tools and automated pipelines

Lektion 17 von 18 · 9 Min.

Bonus: the open-source red-teaming toolbox, and how to choose

A dated survey of the actively maintained open-source tools for scanning, attacking, evaluating and defending AI systems, with how to choose between them and what to check before you adopt one.

Diese Seite gibt es vorerst auf Englisch.

The tool landscape changes quickly, so this lesson gives you a method as well as a list. The table below is a snapshot of public repository metadata read from GitHub’s interface on 12 October 2026. The descriptions are each project’s own words. “Last push” is the date of the most recent push to the repository. Stars measure attention, not quality, and a recent push shows that the code is being worked on, not that it is good. Read each project’s documentation before you adopt it.

Public GitHub repository metadata, read 12 October 2026. Sorted by stars, except where noted.
ProjectWhat it says it isLicenceStarsLast push
promptfooTest your prompts, agents and RAGs; red teaming, pentesting and vulnerability scanning for AIMIT25,9282026-10-12
garak (NVIDIA)The LLM vulnerability scannerApache-2.09,5362026-10-10
NeMo Guardrails (NVIDIA)An open-source toolkit for adding programmable guardrails to LLM-based conversational systemsApache-2.07,2802026-10-12
Adversarial Robustness Toolbox (ART)A Python library for machine-learning security: evasion, poisoning, extraction and moreMIT6,2662026-10-08
Giskard (giskard-oss)Open-source evaluation and testing library for LLM agentsApache-2.05,8882026-10-12
PyRIT (Microsoft)The Python Risk Identification Tool for generative AIMIT4,6052026-10-12
PurpleLlama (Meta)A set of tools to assess and improve LLM securityNo single licence reported by GitHub: read the repository4,4252026-09-29
agent-scan (Snyk)A security scanner for AI agents, MCP servers and agent skillsApache-2.03,1322026-10-09
DeepTeam (Confident AI)A framework to red team LLMs and AI agentsApache-2.03,0082026-10-01
Inspect (UKGovernmentBEIS)A framework for large language model evaluationsMIT2,9872026-10-11
AI Red Teaming Playground Labs (Microsoft)Labs to run AI red-teaming training, including infrastructureMIT2,0942026-02-13
Augustus (Praetorian)An LLM vulnerability scanner written in GoApache-2.03022026-10-10
LLM Guard (Protect AI)The security toolkit for LLM interactionsMIT3,218Archived; last push 2026-07-08
HarmBenchA standardised evaluation framework for automated red teaming and robust refusalMIT1,0682024-08-16

Which tool for which job

JobStart withWhy
Broad scan of a model or endpoint from the command linegarak or AugustusBoth organise probes, detectors, generators and buffs, with reports you can keep (lesson 11)
Red teaming an application and running it in CIpromptfooIts documentation covers plugins, strategies, targets and grading, with CI/CD integration and JUnit export
Scripted attacks, multi-turn conversations and other modalitiesPyRITOrchestrators, converters, targets, scorers and memory, as shown in the series (lesson 12)
A general evaluation harness for models and agentsInspect or GiskardBuilt for evaluation and testing rather than only attacks
Agents and MCP serversagent-scanDescribes itself as a scanner for agents, MCP servers and agent skills
Guardrails to test and compareNeMo Guardrails, and Llama Guard as a classifier modelOpen building blocks for the filtering layer (lesson 15)
Machine-learning-level attacks on classifiersARTEvasion, poisoning and extraction for classic models
Learning and trainingThe Playground LabsTwelve challenges you can run locally, with a planted objective to score

Five questions before adopting a tool

  1. Does it match the job? A model scanner, an application tester and an evaluation harness are different things.
  2. Is it maintained? Check the last push and whether the project is archived. LLM Guard, for example, is archived at the time of reading.
  3. What is the licence? Check it yourself. GitHub could not report a single licence for some projects.
  4. What leaves your network? Most tools send prompts to a model API. Know which provider sees your data and your attack content.
  5. Can you reproduce a result? Look for versioned releases, fixed seeds where offered, and exportable logs.

Using several tools

Different scanners ship different probes. Running two gives wider coverage, but the raw numbers are not comparable, because their probes, detectors and defaults differ (lesson 14). Pick one as your trend line, keep it fixed, and use the others to look for gaps in the coverage matrix from lesson 7.

Das Wichtigste

  • Choose a tool by the job: scanning, application testing, scripted attacks, evaluation, agents, guardrails or classic machine learning.
  • Stars show attention. Recent activity, archival status and licence tell you more.
  • Check what data a tool sends to which provider before you run it.
  • Use one tool as a fixed trend line and others to find coverage gaps.

Testen Sie sich

  1. 1. What does a recent push to a repository show?

    • The code is being worked on, not that it is good — Richtig.
    • The tool has been independently audited
    • The tool is free of bugs
    • The licence changed

    Activity is a maintenance signal, not a quality guarantee.

  2. 2. Which tool describes itself as a scanner for AI agents and MCP servers?

    • agent-scan — Richtig.
    • HarmBench
    • ART
    • MLflow

    That is how its repository describes it.

  3. 3. Why check what leaves your network?

    • Many tools send prompts to a model API — Richtig.
    • Tools never use the network
    • It speeds up scans
    • Licences require it

    Attack content and your data may go to a provider.

  4. 4. Why are raw failure rates from two scanners not comparable?

    • Their probes, detectors and defaults differ — Richtig.
    • They use different colours
    • One is faster
    • They both report zero

    Compare within one fixed setup, not across tools.

Mit FireAI ausprobieren

Wenden Sie diese Lektion auf Ihrem eigenen Mac an.

Quellen

Setzen Sie es auf Ihrem Mac um

Teste alle Funktionen 17 Tage kostenlos, ohne Karte.

Download für Mac Doku