chore(deps): re-pin @opena2a/credential-patterns to 0.1.1 (Wave 1 follow-up) — 0.22.1#169
chore(deps): re-pin @opena2a/credential-patterns to 0.1.1 (Wave 1 follow-up) — 0.22.1#169thebenignhacker wants to merge 1 commit intomainfrom
Conversation
…low-up) 0.1.1 brings three false-positive suppressions surfaced by `secretless-ai status` dogfooding inside this repo on 2026-04-29: - Block-comment marker recognition in isKnownExample: /*, <!--, -->, ''', """, JSDoc-continuation lines (^\s*\*) join // and #. - Localhost+demo-password DB connection allowlist with anchored localhost / 127.0.0.1 / [::1] host check (Phase 4.5 case-insensitive password match — Password123 no longer slips, IPv6 loopback recognized). - Bare 'fake' in PLACEHOLDER_INDICATORS (replaces 'fake_' / 'fake-' — catches sk-proj-fake1234567890abc... shape values). hackmyagent's CredVaultPlugin catalog at src/plugins/credvault.ts is unchanged. The 10-entry local subset stays the synchronous CJS detection source; the 0.1.1 isKnownExample additions live in the package and apply only when consumers call the package helpers directly (secretless-ai 0.16.4 does this). Lockstep test __tests__/plugins/credvault/lockstep.test.ts re-runs against 0.1.1 and stays green: every local pattern's regex.source + regex.flags continues to match exactly one entry in the package (the 0.1.1 diff was additive; it did not narrow any of the 56 regexes). Zero behavior change in runtime detection path. Self-scan: 89 → 89. Tests: 2054/2080 pass. Bumps: hackmyagent 0.22.0 → 0.22.1; @opena2a/credential-patterns 0.1.0 → 0.1.1 (exact pin per OpenA2A convention).
There was a problem hiding this comment.
Claude Code Review
VERDICT: APPROVE
SUMMARY: This PR re-pins @opena2a/credential-patterns from 0.1.0 to 0.1.1, a patch dependency update that brings false-positive suppressions in the package's isKnownExample helper. The changes are confined to version strings in package.json, package-lock.json, and CHANGELOG documentation. No source code changes exist in this PR. Hackmyagent's runtime detection path is explicitly documented as zero-behavior-change because the local CredVaultPlugin catalog at src/plugins/credvault.ts remains the synchronous detection source; the 0.1.1 package additions only apply when consumers call package helpers directly (secretless-ai does this, hackmyagent does not). The lockstep test at __tests__/plugins/credvault/lockstep.test.ts (introduced in PR #165, bundled in 0.22.1) verifies the local catalog remains aligned with the package. Version bump to 0.22.1 follows semantic versioning (patch increment). No security or correctness issues introduced.
Reviewed 3 files changed (9366 bytes)
ML-DSA-44 benchmark (ubuntu-latest, c6i.xlarge-class)Budget (AIComply D17): sign p99 < 2.5ms, verify p99 < 1.5ms. |
Summary
Final Wave 1 step: re-pin
@opena2a/credential-patternsfrom 0.1.0 to 0.1.1 in hackmyagent.Catalog 0.1.1 (shipped 2026-04-30 via Trusted Publishing, SLSA v1) brings three false-positive suppressions surfaced by
secretless-ai statusdogfooding inside this repo:isKnownExample:/*,<!--,-->,''',""", JSDoc-continuation lines (^\s*\*) join//and#.localhost/127.0.0.1/[::1]host check (Phase 4.5 case-insensitive password match —Password123no longer slips, IPv6 loopback recognized).'fake'inPLACEHOLDER_INDICATORS(replaces'fake_'/'fake-'— catchessk-proj-fake1234567890abc...shape values).Why this is zero-behavior-change for hackmyagent
CredVaultPluginatsrc/plugins/credvault.tscontinues to use its local 10-pattern catalog as the synchronous CJS-friendly detection source. The 0.1.1isKnownExampleadditions live in the package and apply only when consumers call the package helpers directly — secretless-ai 0.16.4 does this; hackmyagent's runtime detection path is byte-identical.Lockstep test
__tests__/plugins/credvault/lockstep.test.tsre-runs against 0.1.1 and stays green: every local pattern'sregex.source + regex.flagscontinues to match exactly one entry in the package (the 0.1.1 diff was additive on the catalog side; it did not narrow any of the 56 regexes).Bundled commits riding along
This release also includes three patches that landed on
mainafter 0.22.0 cut and are first published to npm in 0.22.1:fix(credential-analyzer): gate AST-CRED-001 on credential-format substring(fix(credential-analyzer): gate AST-CRED-001 on credential-format substring (#164) #167)feat(scan-soul): add --explain to print 9-domain governance model(feat(scan-soul): add --explain option for 9-domain governance model (#163) #166)fix(soul): emit HIGH SOUL-PROFILE-MISMATCH on profile-filter scope bypass(fix(soul): emit HIGH SOUL-PROFILE-MISMATCH on profile-filter scope bypass (#162) #168)Test plan
npm run build)v0.22.1triggers Trusted Publishing release workflownpm view hackmyagent@0.22.1 dist.attestations --jsonreturns SLSA v1 attestations