/soundcheck:crypto-library-misusefrom soundcheck
Detects cryptographic correctness bugs in library usage: AEAD nonce reuse, ECDSA k-value reuse, length-extension, padding oracle, and branching on secret material. Use when calling crypto primitives directly.
Ships in soundcheck. 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.
Cryptographic primitives are correct only when their preconditions are met. Not
"weak algorithm picked" — that's cryptographic-failures. These are "right
primitive, wrong wiring": nonce reused, per-signature random reused, comparison
branches on secret bits, exception type leaks which decryption failure happened.
Each pattern below has produced a real CVE (Sony PS3 ECDSA k-reuse, Marvin RSA timing).
hash(secret || msg) as a MAC. SHA-2
length-extension lets an attacker forge a valid tag over an extended message.Flag the vulnerable call site and explain the risk. Then suggest a fix that establishes these properties:
secret || msg. HMAC's two-pass construction defeats length-extension.Translate these principles to the audited file's language and crypto library. Use the documented high-level API (AEAD wrapper, signing context, HMAC primitive, constant-time-compare helper) — do not assemble these guarantees by hand.
After rewriting, confirm:
hash(secret || msg); HMAC or a MAC primitive is usedWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub thejefflarson/soundcheck --plugin soundcheck52 skills in this plugin
/authentication-failuresDetects weak password storage, flawed JWT validation, sessions surviving logout, and missing MFA in authentication code. Use when writing login flows, session management, password storage, JWT handling, MFA implementation, credential validation, or any code that authenticates users. Also invoke when implementing "remember me" functionality or API key management./broken-access-controlDetects missing ownership checks, broken role enforcement, and IDOR vulnerabilities that let users access other users' resources. Use when writing code that checks authorization, enforces resource ownership, handles IDOR (object-level authorization), processes server-side requests to external URLs, or implements access control middleware./Other plugins' skills for the same job