Skip to content
AI Skills Central

Type to search Agent Skills, workflows, tutorials, tools and the glossary.

Red-teaming

Definition

Deliberately attacking an AI system to find harmful, insecure or embarrassing behaviour before real users or attackers can find it.

In more detail

Red-teaming mixes manual creativity with automated scanners such as promptfoo or garak. Findings become regression tests so fixed problems stay fixed.

A useful red-team plan starts from the application's threat model: what data can it reach, what actions can it take, and who might want to misuse it. Test prompt injection through every input channel, data leaks from retrieval and memory, unsafe tool use, and harmful or off-brand outputs. Record each finding with the exact input, keep it as a regression case, and re-run the suite whenever the model, prompt or tools change.

  • Eval

    A repeatable test that measures how well an AI system performs on a defined set of cases, so you can compare versions instead of guessing.

  • Jailbreak

    A prompt crafted to get a model to bypass its safety training and produce content it would normally refuse to write, often by role-play.

  • Prompt injection

    Input that overrides or subverts a model's instructions, either typed in directly or hidden in content the model reads while it works.

  • Constitutional AI

    A training method in which a model learns to be harmless by critiquing and revising its own answers against a written list of principles.

  • Guardrails

    Checks placed around a model that filter, validate or block its inputs and outputs according to rules or classifiers, at run time.

  • Interpretability

    Research into how a model works inside: which internal patterns stand for which concepts, and how they combine to produce an output.

  • Red-team your chatbot for prompt injection

    Generate attacks for its purpose, confirm each failure by hand, apply mitigations and re-run.

    WorkflowIntermediate2 h6 steps

  • AI red teaming

    Attacking your own AI application to find unsafe or insecure behaviour before others do.

    SkillIntermediate

  • garak

    Scanner that probes LLMs for vulnerabilities such as prompt injection.

    Tool

  • AI security

    Defending against prompt injection, data leakage and over-permissioned agents.

    SkillIntermediate