Use when reviewing UI for accessibility — WCAG 2.2 AA, keyboard nav, focus, ARIA, contrast, screen-reader semantics — even on 'is this a11y-OK?' or 'mach das barrierefrei'.
日本語の概要は準備中です。原文の説明を表示しています。
Use for an adversarial red-team / blue-team / auditor review of an AI agent's CONFIG + behaviour (rules, skills, MCP, hooks, permissions) — attack-chain → defensive-gap list, not a code audit.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
A holistic, adversarial review of an agent's configuration and behaviour —
the trust anchor, not the application code. Where threat-modeling
models a code change and security-audit hunts
code vulnerabilities, this skill asks: given this assembled agent config
(rules, skills, MCP servers, hooks, permissions, memory), how would an attacker
turn it against its owner, and what defensive gap lets them?
Pairs the static signal from /security-audit-config with an
adversarial three-lens pass. Output is decision support — surface the
trade-off, name the gap; the human decides.
D/F category from /security-audit-config that warrants depth.Inspect the config the agent actually loads and check each surface in turn:
instruction files (CLAUDE.md /
AGENTS.md / .cursor/rules / copilot-instructions), installed skills + their
allowed-tools, MCP servers + their tool descriptions, hooks + lifecycle
scripts, permission/auto-approve settings, persistent memory, and CI
workflows that run an AI agent (.github/workflows/* invoking an agent
action or CLI: check trigger — pull_request_target on fork PRs is
attacker-influenced —, permissions: grants, secrets exposure, and whether
PR title/body/diff flow into the agent's prompt). Run the static
pass first:
npx tsx node_modules/@event4u/agent-config/src/scripts/security_audit_config.ts --root <repo> --json
For each surface, construct concrete attack chains, grounded in the known classes:
bypassPermissions, Bash(*), auto-approve, npx -y.${{ secrets.NPM_TOKEN }}"; an agent triggered via
pull_request_target with permissions: write-all executes it —
entry: PR body → mechanism: prompt injection into the CI agent →
impact: secret exfiltration + supply-chain write).Name the chain: entry → mechanism → impact. Be specific (which file, which tool).
For each red-team chain, evaluate the existing defences: are the always-on
rules (untrusted-input-defense,
lethal-trifecta-guard,
non-destructive-by-default) in
force? Is the egress gated? Is the untrusted leg quarantined? Note what is
present and what is absent.
Pair each attack chain with its defensive gap and prioritise (likelihood ×
impact). For a neutral second opinion on the hardest calls, run
ai-council (council_depth: deep) and
judge-security-auditor over the flagged
files. Produce a ranked attack-chain → gap → recommended control table.
A prioritised findings table — attack chain | defensive gap | OWASP ASI | recommended control | confidence —
prefixed with the trust-and-safety banner, because this is advisory security output:
> HUMAN REVIEW REQUIRED — adversarial agent-config review. Findings are
> decision support, not a guarantee; detection is probabilistic. Validate
> each chain before acting.
Recommend controls; never auto-apply config changes (per
scope-control).
security-audit / threat-modeling./security-audit-config — the static A–F counterpart.untrusted-input-defense, lethal-trifecta-guard — the prevention rules.threat-modeling, judge-security-auditor, ai-council.まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Use when reviewing UI for accessibility — WCAG 2.2 AA, keyboard nav, focus, ARIA, contrast, screen-reader semantics — even on 'is this a11y-OK?' or 'mach das barrierefrei'.
日本語の概要は準備中です。原文の説明を表示しています。
Use when defining or auditing the activation event — aha-moment selection, retention correlation, falsifiable definition. Triggers on 'what is our aha moment', 'redefine activation'.
日本語の概要は準備中です。原文の説明を表示しています。
Use when capturing an architectural decision — file naming, next ADR number, Status / Context / Decision / Consequences, index regen; fires even without saying 'ADR'.
日本語の概要は準備中です。原文の説明を表示しています。
Adversarial critique — devil's advocate, stress-test, honest teardown ('poke holes', 'be brutal', 'was hältst du davon'); explicit request only. Routine code or design review → code-review.
日本語の概要は準備中です。原文の説明を表示しています。
Use when reading, creating, or updating agent documentation, module docs, roadmaps, or AGENTS.md. Understands the full .augment/, agents/, and copilot-instructions structure.
日本語の概要は準備中です。原文の説明を表示しています。
Use when editing AGENTS.md (package root) or templates/AGENTS.md (consumer) — enforces Thin-Root contract: hard char ceilings, ≥40% pointer ratio, mandatory emergency-triage block.
日本語の概要は準備中です。原文の説明を表示しています。