Repository navigation
feat(rules): add leaked-secret source metadata - #1277
WilliamK112 wants to merge 2 commits into
Conversation
Signed-off-by: Ching-Wei Kang <[email protected]>
|
Reviewed head: 4c49327 Thanks @WilliamK112, this is a clean, well-scoped take on #1230. Verdict: changes needed before merge (CI is red); the design itself looks right. Blocking
Checked, no issues
Low |
|
Reviewed head: 4c49327 Thanks @WilliamK112. The metadata design is sound: every item gets Must fix (both CI failures):
Should fix (docs, or the html offset itself):
Low:
The CHANGELOG entry, DCO sign-off and lack of new dependencies are all fine. Verdict: needs changes (1 and 2 required; 3 to 5 strongly suggested). |
Signed-off-by: Ching-Wei Kang <[email protected]>
|
Addressed both CI failures and the location-semantics review at 8371601. The prefilter test now compares findings without offset and separately proves that the padded offset shifts by the exact prefix length. I refreshed .secrets.baseline with detect-secrets 1.5.0 and verified the hook passes. The docs now define offsets as UTF-16 indices, distinguish serialized HTML, fetched external scripts, and per-element inline text, and explain deduplication. Added multibyte-prefix, serialized-HTML, and inline-base64 coverage; synthetic-tag findings with negative rebased positions are now omitted instead of being reported at zero. Verification: 2,270 passed, 25 existing todos, 0 failed across the corpus, critical, and location suites; typecheck, lint, format check, diff check, and secret scan all pass. |
|
Reviewed head: 8371601 Thanks @WilliamK112. Verdict: pending maintainer review. Every item from the earlier review is addressed and I found nothing blocking. CI is green on this head (CLI tests, secret scan, changelog guard, DCO, docs build, CodeQL). Earlier review (4c49327), checked against this head
Checked, no issues
Low, optional
|
|
Landed, thank you @WilliamK112. Your two commits are on main under your name: d1b8b95 and 6c8eba6, shipped in v0.0.142 via the stacked release PR #1331 (rebase-merged, so this PR shows as closed rather than merged). Leaked-secret findings now carry the matched value's length and source offset, which makes them much easier to act on. (Nik) |
Summary
Closes #1230.
Verification
Checklist