/motoedie-code-review:security-analysisfrom motoedie-code-review
Report-only security analysis of code changes and selected paths for vulnerabilities and security test gaps. Reviews untrusted input, auth, sessions, APIs, files, network calls, commands, queries, parsing, secrets, and dependencies. Supports uncommitted, staged, branch, base-ref, revision-range, and path scopes; quick, standard, deep, and focus options.
Ships in motoedie-code-review. 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.
Read when SKILL.md points to them.
Report-only static security review of code changes or selected paths: report vulnerabilities and security test gaps, never edit code.
--repo <repo> --mode branch|base|uncommitted|staged|range|paths, plus
--base <ref> (branch/base) or --revision <rev> (range), and one
--path <path> per selected path or path filter. A limitation no reviewer
completes sets complete to false.quick (default) runs every applicable Quick pass, standard adds
applicable Standard passes, and deep adds threat modeling, exploit
validation, and operational readiness for the whole change. Depth never
reduces the tracing or evidence a selected rule requires. A focus changes
attention and report emphasis; it never removes otherwise applicable rules.confirmed candidate with the verifier's corrections and drop
each merged or rejected one. Keep any candidate whose verdict is missing
for any reason as proposed, and set complete to false.Every subagent is read-only and gets the full paths to
review-rules.md, which it must read and follow,
and output-format.md, plus the resolved scope, the active depth and focus, and
user instructions. Reviewers also get their file IDs and ranges or hunks, their
scanner candidates to verify and limitations to complete, the full paths of
their selected passes, and the full path to this file for its Checklist routes
only. You follow review-rules.md too. Pick each subagent's model and effort by
role from models.md.
If a subagent fails, times out, or returns unusable output, keep the findings
and gaps you already have or gave it as proposed, set complete to false, and
continue. Anything left unreviewed or undecided also sets complete to false.
Every review runs owasp-secure-coding-review.md and security-test-generation.md. Load other passes only when the scoped code or a focus evidences their surface; every applicable rule in a loaded pass is mandatory.
| Evidence or focus | Quick pass |
|---|---|
| Untrusted input, schema, query, command, parser, template, rendered content | input-and-content.md |
| Login, recovery, MFA, session, cookie, JWT, OAuth/OIDC, shared auth control | authentication-and-sessions.md |
Object access, roles, permissions, tenant/account/workspace/org boundary, job, export, shared middleware; focus authz or focus tenant-isolation | authorization-and-tenant-isolation.md |
Password, token, credential, API key, private key, passphrase, cookie, auth header, PII, customer data, export, snapshot, log, telemetry, queue, cache, browser state, outbound data; focus sensitive-data | sensitive-data-flow.md |
| File access, upload, archive, converter, URL fetch, outbound request | files-and-network.md |
| API, webhook, WebSocket, browser state/rendering, cross-origin messaging | api-and-browser.md |
| Password, token, credential, secret, random value, encryption, signature, key | cryptography-and-secrets.md |
| Browser resource, infrastructure, dependency/build, or operational change | Relevant sections of additional-topics.md |
Unclear trust boundary, attacker goal, or abuse case; focus threat-model | threat-modeling.md |
| Plausible vulnerability needing exploitability proof or an unclear validation path | exploit-validation.md |
Audit events, alerting, rollback, rotation, incident response, privileged access; focus operational-readiness | operational-readiness.md |
focus tests still runs the mandatory security-test pass. A changed dependency,
build script, or configuration is classified in the OWASP pass.
standard adds these, without rerunning equivalent Quick rules:
| Evidence | Standard pass |
|---|---|
| Specialized interpreter, output format, or parser | specialized-injection.md |
| Route, controller, handler, API schema/DTO, serializer, webhook, external API client, API version/router configuration | api-security.md |
| Login, session, password, MFA, OAuth/OIDC, TLS/certificate, random token, encryption, signing or signature verification, or key code/configuration | identity-and-cryptography.md |
| Upload, archive, converter, temporary file, download | extended-files.md |
| Encryption, signing, hashing, key derivation, or key lifecycle | extended-cryptography.md |
| Dependency manifest, lockfile, registry, install/build script, build plugin, CI pipeline, or artifact configuration | supply-chain.md |
deep selects every applicable Quick and Standard pass and runs threat
modeling, exploit validation, and operational readiness for the whole change.
At every depth, the last three Quick rows still trigger those passes.
README.md (opens in a new tab)evals/evals.json (opens in a new tab)passes/additional-topics.md (opens in a new tab)passes/api-and-browser.md (opens in a new tab)passes/api-security.md (opens in a new tab)passes/authentication-and-sessions.md (opens in a new tab)passes/authorization-and-tenant-isolation.md (opens in a new tab)passes/cryptography-and-secrets.md (opens in a new tab)passes/exploit-validation.md (opens in a new tab)passes/extended-cryptography.md (opens in a new tab)passes/extended-files.md (opens in a new tab)passes/files-and-network.md (opens in a new tab)passes/identity-and-cryptography.md (opens in a new tab)passes/input-and-content.md (opens in a new tab)passes/operational-readiness.md (opens in a new tab)passes/owasp-secure-coding-review.md (opens in a new tab)passes/security-test-generation.md (opens in a new tab)passes/sensitive-data-flow.md (opens in a new tab)passes/specialized-injection.md (opens in a new tab)passes/supply-chain.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub motoedie/.dotfiles --plugin motoedie-code-review6 skills in this plugin
/change-analysisReport-only project-impact summary of current branch changes. Explains the problem the change answers, what changed, and its direct and downstream effects on system behavior, UX, workflows, contracts, compatibility, and operations. Use before opening an MR or when a reviewer needs concise project context. Does not perform defect, maintainability, or security review./code-behaviorReport-only review of changed code for functional correctness, data and API contracts, and performance and resource risks. Use for branch, staged, uncommitted, or path-scoped defect review. Excludes test-gap, structural maintainability, lint, type-checker, and security analysis./Other plugins' skills for the same job