/gabbe-security:ai-red-teamingfrom gabbe-security
Proactively attacks AI/agent systems to discover failures before adversaries, scoring attack-success-rate and gating CI on it. Covers OWASP LLM Top 10 and agentic application threats.
Ships in gabbe-security. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Proactively attack your own AI/agent system to discover failures before an adversary does. This is the offensive complement to the defensive skills: prompt-injection-defense.skill builds the layered controls and ai-safety-guardrails.skill builds the rails — this skill tries to break both. Red teaming is threat-led: it designs scenarios from a model of who would attack and why, executes them as concrete attacks, scores the attack-success-rate (ASR), and gates CI on it so regressions are caught automatically. Stated honestly: red teaming reduces risk by finding failures, but it can never prove safety — absence of a successful attack in your suite is not evidence the system is safe.
Phase and gate: S06 and S07 for tier 3 AI software, and again after any model, prompt, tool or retrieval change (S11, S12). Evidence: the red-team plan and ASR scorecard in docs/security/RED_TEAM_REPORT.md.
Design threat-led scenarios mapped to OWASP LLM Top 10
threat-model.skill rather than re-deriving it.Build the attack technique library
Automate with red-team tooling
Score attack-success-rate (ASR) and gate CI
llm-as-judge.skill and spot-check the judge against human labels.Run human red-teaming for the long tail
Make it continuous
prompt-injection-defense.skill. Findings drive fixes there; they do not substitute for them.A red-team plan plus an ASR scorecard:
What SKILL.md sets; muted values are Claude Code's defaults
21 skills in this plugin
/access-controlDesign roles and permissions with least privilege and review authorisation checks. Use when adding roles, permissions or admin features, or when auditing who can access what./agent-sandboxingIntrinsic least-privilege isolation for agents touching a local OS, shell, or filesystem — the enforcement layer behind prompt-injection-defense and ai-safety-guardrails. Use when: agent sandbox, sandbox policy, least privilege isolation, filesystem allowlist, egress deny-by-default, syscall restriction, microVM agent isolation, contain agent blast radius./agent-tool-reviewReview which tools, permissions and data an AI agent in the software has, and cut them to what its task needs. Use at S02 and S07 for any product or feature in which a model can call tools, write files, send messages or run code. Use when: agent tool permissions, tool permission review, excessive agency, agent least privilege, mcp tool review, agent capability review./ai-ethics-complianceCheck an AI feature against EU AI Act and GDPR duties, test for bias and proxy variables, and screen for dark patterns. Use before shipping a feature that scores, ranks or profiles people, or that talks to users as an AI. Use when: ai ethics, eu ai act, bias test, fairness check, dark pattern, ai transparency./ai-safety-guardrailsAdd input, output, retrieval and execution rails around an LLM feature: PII scrubbing, output checks, and human approval for high-stakes actions. Use when building or reviewing a feature that sends user data to a model or acts on model output./api-securityAudit and harden REST or GraphQL endpoints against broken object-level authorisation, weak authentication and resource abuse. Use when adding or reviewing an API, tokens or rate limits.npx claudepluginhub andreibesleaga/gabbe --plugin gabbe-securityOther plugins' skills for the same job