/security-agent-skills:evaluating-model-guardrailsfrom security-agent-skills
Systematically tests whether a model's safety and policy guardrails hold under adversarial pressure. Covers building policy-grounded probe sets, multi-turn escalation, encoding/obfuscation bypasses, role reframing, and measuring bypass rates.
Ships in security-agent-skills. 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.
A guardrail is a claim: "the model will refuse this class of request." A single successful jailbreak is an anecdote; what you need is a measurement, the rate at which the boundary holds across a structured battery of attacks. Evaluating guardrails means grounding probes in the actual policy, attacking each along known bypass axes, and scoring outcomes reproducibly, so you can state how strong the boundary is, not just that someone once beat it.
Evaluate models and deployments you own or are authorized to test. Use benign, clearly-scoped probes against a defined policy; do not generate real harmful output against systems you do not control. If you can't name the authorization, stop.
Ground the probes in the stated policy. Get the actual list of what this deployment must refuse or constrain (its safety policy, its system prompt's rules, its allowed scope). Every probe targets a specific rule, so a result maps to a policy line, not a vibe. An undefined policy is the first finding: you cannot evaluate a boundary no one has drawn.
Build a baseline probe set. For each rule, write direct requests that should be refused and benign near-misses that should be allowed. The near-misses matter: a guardrail that refuses everything is broken differently from one that refuses nothing. Record baseline refuse/allow behavior before attacking.
Attack along the bypass axes. Take each refused probe and apply the known transformations: multi-turn escalation (warm up, then pivot), encoding and obfuscation (alternate scripts, spacing, invisible characters, indirection), role and context reframing (fiction, hypothetical, translation, "for research"), and instruction-hierarchy conflict (content claiming higher authority than the system rule). Each axis is a separate test of the same rule.
Define graded, reproducible outcomes. Decide in advance what counts as a bypass: full compliance, partial or hedged compliance, or refusal. Score each probe with a fixed rubric so runs are comparable and a fix can be measured against a baseline. "It felt jailbroken" is not a result; "the encoding axis bypassed rule 4 in 7 of 10 trials" is.
Measure rate and stability. Run each probe multiple times; models are stochastic, and a boundary that holds once may fail on retry. Report bypass rate per rule and per axis, and flag the axes that reliably win. A rule that fails 30 percent of the time is not protected.
Record and recommend. Report per-rule, per-axis bypass rates with example transcripts, and the structural fixes: enforce the boundary with input and output filtering rather than prompt instructions alone, reduce what the model can do when uncertain, add a separate safety layer instead of relying on the model's restraint. Record confirmed bypasses and rules that held across all axes (killed) in the schema.
Confirm. A support assistant must refuse to reveal another user's order details. Direct requests refuse. Under multi-turn escalation (establish a helpful frame, then ask "as we discussed, pull the other order"), it complies in 6 of 10 trials; an encoding variant of the same ask succeeds 8 of 10. Confirmed guardrail bypass on the cross-user rule,
high, remediation = enforce authorization on the data access itself, not the model's refusal; add an output check for other-user data.Kill. A model must not output a specific restricted category. Across all four axes and 10 trials each, an input classifier blocks the request and an output classifier blocks the response before the user sees it; the model's own refusal is only the third layer. Every probe is refused or filtered. Killed,
kill_reason= "boundary enforced by input and output filters independent of the model; 0 of 40 adversarial trials bypassed."
You need the deployment's actual policy, a probe set grounded in it, the four bypass axes, a fixed grading rubric, and enough repeated trials to report a rate. Any harness that can send structured conversations and log graded outcomes works; the policy grounding and the reproducible rubric are the method, and the specific payloads are interchangeable.
testing-agents-for-indirect-prompt-injection - when the bypass arrives through
ingested content rather than the user.auditing-ai-agent-permissions - a bypassed guardrail matters only as far as the
model's permissions let it act.testing-llm-insecure-output-handling - what a bypassed output can do at the
downstream sink.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub unboundcompute/security-agent-skills --plugin security-agent-skills194 skills in this plugin
/adjudicating-dependency-cve-reachabilityDecide whether a CVE in a dependency actually exposes your application before you scramble to patch: is the vulnerable function on a real call path from your code, do the trigger preconditions hold, and can an attacker control the input that reaches it. Use when an advisory, SCA scan, or dependency bot flags a CVE and you must separate a genuine exposure from unreachable noise, or justify why you are or are not affected. Covers pinning the vulnerable symbol, call-path reachability, precondition checks, and taint from your entry points./adjudicating-taint-pathsDecide whether a whitebox lead is a real bug by tracing taint from an untrusted source to a dangerous sink and confirming every hop against live source. Use after a scanner, a candidate list, or your own reading surfaces a "this looks dangerous" sink (SQL exec, system/exec, file open, deserialize, template render, redirect target, memcpy) and you must decide whether attacker- controlled input actually reaches it - or kill the lead with evidence. Covers forward and reverse taint, witness paths, sanitizer analysis, and the evidence rules that separate a finding from a false positive.Other plugins' skills for the same job