/gabbe:prompt-injection-defensefrom GABBE
Defends agentic systems against direct and indirect prompt injection using defense-in-depth. Applies the Lethal Trifecta test, Rule of Two, instruction hierarchy, spotlighting, and DUAL-LLM quarantine patterns.
Ships in GABBE. 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.
Defend agentic systems against direct and indirect prompt injection using defense-in-depth. No single control is sufficient: frontier labs publicly acknowledge that prompt injection cannot be fully solved in current LLM architectures, so the objective is to layer controls, contain the blast radius, and gate high-impact actions behind a human. Grounded in OWASP LLM01:2025 (Prompt Injection).
Phase and gate: S02 (trifecta assessment), S05 (build), S07 (review). Evidence: the defence report (surfaces, trifecta assessment, controls, human gates) in docs/security/THREAT_MODEL.md. Part of security-baseline.skill.md for AI software. For tool permissions see agent-tool-review.skill.md.
Classify the injection surface
Apply the LETHAL TRIFECTA test, then the RULE OF TWO
Apply layered defenses (defense-in-depth)
Add a detection pre-filter (necessary, not sufficient)
Require human-in-the-loop approval for high-impact or trifecta-complete actions
A defense report containing:
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub andreibesleaga/gabbe --plugin gabbe49 skills in this plugin
/adr-writerGenerate Architecture Decision Records for significant technical decisions. Use when: architecture decision, ADR, why did we choose, why are we using, architectural choice./api-designAPI contract (OpenAPI, GraphQL SDL or proto) written before code, with resources, errors, pagination and authentication. Use when a new endpoint or API is needed or the contract of an existing one must change./arch-designArchitecture design from approved requirements — quality scenarios, style choice, decomposition, 4+1 or arc42 views, ADRs and risks. Use when a new system or major subsystem needs an architecture before implementation planning./assurance-ladderChoose how strongly a component must be verified, from plain tests (level 0) to a machine-checked proof of a small core (level 3), record the choice in an ASSURANCE_PLAN, and know which evidence each level leaves. Use at S01/S02 when planning verification, when a requirement mentions concurrency, money, authorisation or safety, or when asked how sure we are that code is correct. Use when: assurance level, how strongly to verify, formal verification, choose verification level, assurance plan, prove correctness, model checking, high-risk component./audit-trailAppends one structured row per decision, phase change, approval or failure to agents/memory/AUDIT_LOG.md. Use when a decision, human approval, gate result or task outcome must be recorded, or when someone asks why something was done./characterization-testsUse before changing code that has no tests or weak tests. Pins what the code does today with golden-master and characterisation tests, handles non-determinism, and records a coverage baseline, so later changes can be checked against it. Use when: characterization test, characterisation test, golden master, approval test, pin behaviour, no tests, legacy tests, snapshot current behaviour, baseline coverage.Other plugins' skills for the same job