Skip to content

Releases

v0.4.0

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

v0.3.2

Choose a tag to compare

@github-actions github-actions released this 04 Dec 20:19

Changed

  • The release workflow now also fails if the tagged commit is not on main, so a tag cannot point at an unmerged branch commit.
  • The README says that the Claude plugin directory listing is not live yet and is waiting on Anthropic's organization verification, and points to the install routes that work today.

Added

  • A sync-mirror workflow copies the skill files of each release to a read-only SHA-1 mirror, motchi-solutions/encryption-audit-sha1, for tools that cannot read SHA-256 Git repositories (such as the Claude plugin directory). It needs the repository secret MIRROR_DEPLOY_KEY.

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

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

v0.3.1

Choose a tag to compare

@github-actions github-actions released this 04 Dec 18:04

Added

  • README table "Use with your agent": install command, skills folder and notes for Claude Code, Codex, Cursor, Windsurf and other agents, and how to run the scanner with no agent or in CI.
  • The release workflow now refuses a tag that does not match the plugin version, and adds install and full-history links to the release notes, which are cut from the matching CHANGELOG section. Tests cover both.

Changed

  • The plugin icon is now the Motchi Solutions logo (it was a padlock), the same image as in listing/. A test keeps the two identical.

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

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

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 04 Dec 16:41

Added

  • --migrate --live starts with a discovery step (scripts/discover-live, live-actions.md). It reads file names only, never opens a file, never touches credentials and runs nothing by default. It reports which cloud and infrastructure tools are installed, which infrastructure-as-code the repo has, and which tools are missing, and proposes read-only checks (identity, code versus deployed) that each need the user's yes. Live mode is still experimental and untested against real systems.
  • scan --suggest-ignore writes suggested-ignore.json: draft ignore entries grouped by rule and file. Reason, owner and expiry are left empty, so nothing is ignored and the file cannot be used as an ignore file until a person completes it. Nothing is offered for a file that holds a private key. Recommended on a project's first run, like the baseline of a secret scanner.
  • Ignore-file guide: "First run: set your baseline" and "How the layers stack" (scope, ignore file, baseline, gate).
  • Interactive mode (--interactive): the agent asks when unsure, every question has a recommended answer plus other likely answers, and risky steps still need an explicit yes. See references/interactive.md.

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 04 Dec 14:05

Added

  • 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.

v0.1.1

Choose a tag to compare

@github-actions github-actions released this 04 Dec 05:30
1e6aa4b

Fixed

  • Change logs and release notes (CHANGELOG*, HISTORY*, NEWS* and similar) are no longer read by the doc rules, so old mentions of MD5 or SHA-1 no longer produce WEAK findings.
  • Claims found in docs are now priority review and never fail --ci.
  • Findings in test code (tests/, testdata/, *_test.go, test_*.py, *.spec.js and similar) get a test-code flag and do not fail --ci. Use the new --include-tests to count them. A private key in test data still counts.
  • Evidence text keeps long action and path names (for example uses: github/codeql-action/init@v4) and still redacts tokens that contain digits.
  • node-forge is flagged below 1.4.1, matching current GitHub advisories (it was 1.3.0).
  • The release workflow cuts the link lines from the release notes. A test covers it.
  • Scripts with a shebang are executable in git (the scanner now has its shebang line). A test covers it.
  • The Code of Conduct contact is a private email (contact@motchi.ca) with a copy-paste report format, instead of a public issue.
  • The marketplace file has a description.

Changed

  • Re-checked every VERIFY fact against primary sources on 2026-12-03. Updated: NIST IR 8547 (final, 2026-10-27), Canada CCCS roadmap, OpenSSL 3.5 (LTS until 2030-04-08), OpenSSH 10.0, Go 1.24, JDK 24, AWS ALB and NLB PQ policy names, AWS KMS and ACM, Google Cloud load balancers (on by default since October 2026), Azure Front Door, Akamai and Fastly. Corrected the Windows row: "ML-KEM-1024 only" is the CNSA 2.0 planning list, not a Windows limit.
  • Inline VERIFY notes in playbooks, detection docs and scanner fix texts are settled: confirmed facts are written in with sources, and vague ones now say what to check.
  • --migrate --live is labelled experimental in the skill, the options and the README.
  • README install section: commands for the Claude Code plugin, npx skills, gh skill (preview) and a manual copy, each tested, with minimum versions and a telemetry note for the skills installer.

Known gaps

  • --migrate --live and live --test handshakes are still not exercised against real systems.
  • Still marked VERIFY because a primary source could not be read: FIPS 206 and HQC status, the EU roadmap milestones, post-quantum support in Azure Key Vault, Managed HSM and Application Gateway, and in Oracle Cloud (OCI). Compliance rows: PCI DSS 4.2.1, 3.5.1, 3.6/3.7 and 12.3.3, GDPR Article 32, Quebec Law 25 section 10.
  • A trial on three public repositories (Flask, Express, Gin) found no misses, but those repositories hold little crypto code, so recall is not measured.
  • Each rule has about one fixture line, so false-positive rates on real code are not measured.

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 04 Dec 03:41
57a93d0

Added

  • The encryption-audit agent skill (skills/encryption-audit/), with the options --scan, --report, --test, --migrate (--plan, --guided, --auto, --live) and --ci, and the modifiers --path, --out, --hosts, --since, --resume, --baseline and --fail-on.
  • A read-only scanner (scripts/scan) with about 225 rules for 12 language groups, infrastructure, keys and certificates, identity and tokens, supply chain and docs. It writes findings.json, cbom.json (CycloneDX 1.7) and results.sarif (SARIF 2.1.0).
  • Converters to-sarif and to-cbom, and check-staleness, which flags facts older than 180 days.
  • An ignore file (.encryption-audit-ignore) where each entry needs a reason, an owner and an expiry date. Expired entries are reported again.
  • Baselines, incremental scans (--since), resumable scans of large repos, and a list of skipped files.
  • Compliance mapping (guidance only) to PCI DSS, FIPS 140-3, HIPAA, PIPEDA, Quebec Law 25, GDPR, NIST IR 8547, CNSA 2.0 and the Canada CCCS roadmap.
  • Eight migration playbooks, git-safety rules and live-action rules.
  • Standards and vendor facts with source links and dates, or VERIFY labels.
  • Test fixtures, expected findings, trigger evals and tests/run-tests.
  • GitHub setup: CI, a monthly stale-facts check, a release workflow, issue and pull request templates, CODEOWNERS and Dependabot for GitHub Actions.
  • A Claude Code plugin manifest and marketplace file.

Known gaps

  • --migrate --live and live --test handshakes were not exercised against real systems.
  • Some vendor and standards facts are marked VERIFY.