Skip to content

fix(rules): cap the stored length of a leaked-secret value #1592 - #1603

Merged
nc9 merged 5 commits into
mainfrom
fix/leaked-secrets-value-cap-1597
Nov 5, 2026
Merged

nc9 merged 5 commits into
mainfrom
fix/leaked-secrets-value-cap-1597

Conversation

@nc9

@nc9 nc9 commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

Closes #1592. Carries the commits of #1597 by their author, rebased onto main, plus one docs correction.

  • A stored value is cut to 2,048 characters; classification still sees the full value, length keeps the full length, and a cut finding is marked truncated: true.
  • The docs worst-case figure now counts the copies of kept values the site budget also admits, about 40M characters (about 82 MB as UTF-16).

Skills: no change needed.

@nc9
nc9 merged commit a462918 into main Nov 5, 2026
16 checks passed
@nc9
nc9 deleted the fix/leaked-secrets-value-cap-1597 branch November 5, 2026 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

leaked-secrets: cap the stored length of a finding's value (a 1 MB password value is kept whole)

2 participants