Skip to content

v0.4.0

Latest

Choose a tag to compare

@github-actions github-actions released this 05 Dec 01:13
e1e741f

Fixed (from field tests on real websites)

  • Scanner noise. A catalog or README line that repeats this skill's own description is no longer read as an RSA or post-quantum claim (keyed to the skill's name and distinctive phrases, so a real claim such as "our auth service signs with RSA" still counts). The documented Cloudflare Turnstile test keys and values that are one repeated character are no longer reported as hardcoded keys, and staged-secret-check accepts the same values. ftp://example.com and other reserved hosts are no longer reported as plain-text service URLs (one list, scripts/public_values.py, serves both that rule and the third-party list).
  • Non-security SHA-1 and MD5. MD5 or SHA-1 next to words like etag, cache or checksum, and next to no security word, now has priority review, Low confidence and the flag non-security-context. The class stays WEAK, so --ci still counts it; accept it with an ignore entry.
  • The ledger and the scanner now skip the same places. The skip rules moved to scripts/walk_lib.py. seed-ledger no longer plans units for .next, .vscode, test-results or .agents (also .idea, playwright-report, coverage and other tool-output folders, which the scanner now skips too) and never lists secret-looking file names. Stale findings from an older scan inside those folders are ignored when seeding.
  • Reports count what they show. The summary splits code findings from doc claims, section 5 lists every doc claim, the UNKNOWN list is no longer cut at 15, long lists say how many were cut, and an appendix lists any counted finding that appears nowhere else (SAFE, PQ-READY). A test checks that every finding ID in the summary count appears in the body.
  • The skill folder now has its own LICENSE (identical to the root one, checked by a test), so installs no longer show "none bundled".

Added

  • Rule COM-UNKEYED-HASH-GUESSABLE (UNKNOWN, priority review): a plain hash, SHA-256 included, of an IP address, email, phone number or similar. The SAFE finding next to it is dropped. The audit method (attack class C-01 and the hunter prompt) now tells readers to look for this on purpose, because a field test found it only by reading code.

  • Recall corpus: 58 weak or quantum-vulnerable cases and 26 safe look-alikes, including synthetic versions of the three field cases.

  • Tests for the --ci exit codes on noise-only input (0), on a non-security SHA-1 (still 1), and for the new behaviours above.

  • Secret files: ask first. scan --list-secret-files prints the names of secret-looking files and opens nothing. SKILL.md Step 2 tells the agent to run it, show the list, and ask whether to scan with --skip-secret-files (recommended) or let the scanner open them; with no answer it skips them. A scan that does open secret-named files prints a note saying how many and which flag avoids it. The scanner default is unchanged, because the default is what finds a committed private key.

  • --ci no longer hides what it skips. It still does not count findings in test code or claims in docs (documented in references/ci-mode.md), which is why a plain scan can show WEAK while --ci exits 0. It now prints how many it did not count and how to count them (--include-tests).

  • Indirect unkeyed hashes. COM-UNKEYED-HASH-INDIRECT catches a plain hash of a variable such as rateIdentifier or id when the nearby code, the variable name or the file name point to an IP, email, phone number or rate limit. A SHA-1 used as an idempotency key or UUID v5 now has priority review (class stays WEAK).

Known limits

  • --ci has been run in the field only on repositories that fail, so the pass path rests on the repository's own tests. --migrate --live is still experimental and untested against real systems.

Install and use with your agent: https://github.com/motchi-solutions/encryption-audit/blob/v0.4.0/README.md#use-with-your-agent

Full history: https://github.com/motchi-solutions/encryption-audit/blob/v0.4.0/CHANGELOG.md