/fable5-methodology:security-reviewfrom fable5-methodology
Runs a structured vulnerability pass over code, checking for injection, auth/authz gaps, secrets exposure, unsafe deserialization, SSRF, and more. Reports findings by severity with concrete fixes.
Ships in fable5-methodology. 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.
Attackers send the inputs you didn't imagine. This pass walks the code from the attacker's side of every trust boundary. Work the checklist concretely — for each item either point to the line that handles it or record its absence as a finding.
List every point where external data enters: HTTP params/body/headers/cookies, CLI args, file contents, env vars, message-queue payloads, third-party API responses, uploaded files. For each, trace where the data GOES — into a query? a shell command? a file path? an HTML response? a deserializer? The dangerous combination is always untrusted-source → sensitive-sink. Find the sinks.
For each, find the handling line or log a finding:
execFile/subprocess with an
arg array and shell=False; never shell=True with user data.../ is neutralized. Never open(base + user_input).dangerouslySetInnerHTML/
|safe/v-html sink and confirm the input is trusted or sanitized (XSS).pickle/yaml.load (unsafe loader)/Java native
deserialization/eval/Function() on untrusted data. Use safe parsers (JSON, yaml.safe_load).secrets, crypto.randomBytes), never Math.random/
random.random; TLS verification never disabled.HttpOnly+Secure+SameSite; tokens not in localStorage
if XSS is reachable.Layer the ecosystem's specific classes on top:
Object.assign/merge from user JSON), child_process
misuse, regex catastrophic backtracking (ReDoS), missing helmet.yaml.load, subprocess(shell=True), pickle, Jinja2 SSTI, Flask debug=True
in prod, assert used for security checks (stripped under -O).npm audit, pip-audit,
cargo audit, and a SAST pass (semgrep) if available — read findings, don't just paste them.Rank findings; each gets file:line, the concrete exploit ("attacker sends ?id=../../etc/passwd
→ reads arbitrary files"), and the specific fix — not "sanitize input" but "use
Path(base).joinpath(name).resolve() and assert it's relative to base".
SEC-CRITICAL api/reports.js:47 SQL injection
Code: db.query(`SELECT * FROM reports WHERE owner='${req.query.user}'`)
Exploit: ?user=' OR '1'='1 → dumps all reports; ?user='; DROP TABLE... → destructive.
Fix: db.query('SELECT * FROM reports WHERE owner = $1', [req.query.user])
Plus (SEC-HIGH, same line): no authz — any caller reads any owner's reports. Check
req.query.user === session.userId (or a role grant) before querying.
Every external-input boundary has been traced to its sinks; every checklist item is either tied to a handling line or logged as a finding; findings are ranked with file:line, a concrete exploit, and a specific fix; and no CRITICAL finding is left un-flagged. Reporting is sufficient — do not fix beyond the task's scope without saying so (integrity-guardrails rule 7).
What SKILL.md sets; muted values are Claude Code's defaults
26 skills in this plugin
/architecture-decisionsChoose between competing technical approaches and make design decisions with an explicit trade-off order. Trigger this when a task requires selecting among 2+ viable designs — "should we use X or Y", designing a schema, shaping a public API, choosing a storage/queue/cache mechanism, deciding whether to add a dependency, or deciding whether to introduce an abstraction. Do NOT trigger for initial request parsing (use task-planning), for line-level style questions (use implementation-standards), or when the codebase already has an established pattern for this exact problem — in that case, follow the existing pattern without deliberation./codebase-explorationMap an unfamiliar repository before changing anything in it — structure sweep, entry points, configs, test baseline, targeted tracing, and mental-model confirmation. Trigger this the FIRST time you work in a repo (or an unfamiliar subsystem of a known repo) in a session, before your first edit there — whenever the user says "fix/add/change X" in code you have not yet mapped. Do NOT trigger for repos or areas you already mapped this session, for single-file scripts with no surrounding project, or for parsing the request itself (use task-planning) — this skill is about understanding the code, not the ask.npx claudepluginhub unpaidattention/fable5-methodology --plugin fable5-methodologyOther plugins' skills for the same job