You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
scan --skip-secret-files: never opens files whose names look like secrets (env files, keys, certificates, credentials files, secrets folders; .env.example is still scanned). They are listed as skipped, by name only. Off by default, because the default scan is what finds a committed private key.
Full audit mode (--audit) with --profile quick|standard|deep and --budget. Method in references/full-audit/: guidance versus full mode, reconnaissance, a deterministic coverage ledger, hunting over 19 crypto attack classes (C-00 to C-18, with severity anchors), a candidate gate, a fresh verifier per candidate, a final re-check, and a report. Only confirmed records carry a severity; needs_validation names the missing fact and an owner-observed plan.
Scripts (standard library only): seed-ledger, apply-hunter-result (the parent's validated way to write evidence into the ledger), check-trace (shows the real source line behind every trace step), validate-coverage-ledger (with --require-complete), validate-audit-findings, check-out-dir. Schemas coverage-ledger.schema.json and audit-findings.schema.json. Samples in examples/full-audit/.
Rules: JS-CREATECIPHER, JAVA-TRUSTALL-MANAGER, ID-DJANGO-WEAK-HASHER, RNG-GO-MATHRAND-CALL. package.json is read for crypto libraries and known-weak versions.
A labeled recall corpus (tests/recall/, 52 weak or quantum-vulnerable cases and 20 safe look-alikes) with recall and precision checks.
A loopback test of the documented openssl s_client live-check commands, including the hybrid group X25519MLKEM768 (runs when OpenSSL 3.5 or newer is installed).
Credits section in the README: the full-audit design is inspired by Cloudflare's security-audit-skill (MIT). No text or code was copied.
Plugin icon. Trigger evals for audit requests.
Tests that reject any non-standard-library import, any GitHub Action not pinned to a commit SHA, symbolic-link following, and any rule that is slow on hostile input.
Fixed
--profile quick with --scope could mark in-scope code out_of_scope when an out-of-scope subsystem was processed first.
Seeding no longer makes empty units or key and randomness units for folders with no source code (CI and editor config).
A weak requests ... verify=False line that also calls decode() is no longer hidden by the jwt.decode exclusion.
The scanner followed symbolic links. A link inside a scanned repo could point at a file outside it, which broke the rule never to read secrets. Links (file and folder) are now skipped and listed.
Context-bound random-number rules also read a security word in a function signature up to 3 lines above, and the context words now include tok, reset, verif and login. This found misuse the same-line check missed.
Comment-only lines in code files no longer produce findings (keys and secrets in comments are still reported, because that is a leak).
Docs that say a weak hash was replaced or removed ("we replaced MD5 with Argon2id") are no longer WEAK claims.
jwt.decode(..., verify=False) is no longer also reported as a TLS finding.
DES detection covers DES.Create and the OpenSSL DES_* functions.
Changed
Benchmarked on nine real web and infrastructure projects (read-only, with --skip-secret-files, nothing edited). The first run found three noise sources, now fixed: framework build output (.next, .nuxt, .svelte-kit, .turbo, .vercel and similar) is skipped as generated code, coding-agent skill folders (.agents, .cursor, .codex, .gemini, .windsurf, .claude/skills) are skipped and listed, and test config files (playwright.config, vitest.config, jest.config, cypress.config), .test.mjs/.cjs files, .tftest.hcl files, e2e/ and cypress/ folders count as test code. Total findings across the nine projects fell from 1,155 to 211, WEAK findings from 128 to 14, and the slowest scan from 64 seconds to 2. The remaining WEAK findings were checked by path and type, and one by its source line: a published public test key from a bot-protection vendor is reported as a hardcoded key. Add it to .encryption-audit-ignore with an owner and an expiry.
Running the target's own code or tests (--test, --audit) is allowed only inside an enforced sandbox (no network, empty environment, read-only target, low limits). Without one, the claim becomes needs_validation. This replaces the earlier "ask first" rule.
Re-checked the open VERIFY rows against primary sources on 2026-12-04. Settled: Azure Application Gateway (no post-quantum groups listed), the EU roadmap milestones (read from the roadmap PDF, Version 1.1), FIPS 206 and HQC (NIST's project page lists no draft), Azure Key Vault and Managed HSM (no post-quantum key types), OCI Load Balancer and Vault (nothing documented), GDPR Article 32(1)(a).
Scanning a copy of this skill inside a project (for example .claude/skills/encryption-audit/) skips the skill's own folder and lists it as skipped, so its rule tables and docs are not reported as the project's weak crypto.
Description of the skill now covers when to trigger on audit, JWT, key-storage and crypto-agility requests, and says that a question gets an answer with no files written.
Known gaps
PCI DSS 4.2.1, 3.5.1, 3.6/3.7 and 12.3.3 are settled from the v4.0.1 PDF (12.3.3 became required on 2025-03-31), and Quebec Law 25 section 10 from the official CQLR PDF. The open VERIFY list is now empty. Caveats: the CNSA 2.0 dates are secondary-source, the section 10 quote needs a spot-check, and the v4.0 to v4.0.1 summary of changes was not read.
--migrate --live is still untested against real systems. Live handshakes are tested on loopback only.
The recall corpus is small and was used to tune the rules, so it is a regression guard. On three public vulnerable apps the findings were read by hand without a full miss count. Recall on large real codebases is unmeasured.
The full-audit method was walked end to end once, by one agent playing every role in turn (so independence was reduced), with --profile quick on a public intentionally vulnerable Flask app: 13 ledger units, 4 confirmed, 1 needs_validation and 1 rejected records, both validators passing, and --require-complete correctly refusing because one unit was blocked. That run found three wrong trace line numbers (now caught by check-trace) and the missing ledger-writing step (now apply-hunter-result). It has not been run with separate agents, nor by a different model, nor on a large repository.
CLAUDE.md at the repository root triggers a plugin-validator warning. It is the contributor file, so it stays.