chore(deps): update dependency betterleaks/betterleaks to v1.7.0 - #8
Open
renovate-orgmentem[bot] wants to merge 1 commit into
Open
chore(deps): update dependency betterleaks/betterleaks to v1.7.0#8renovate-orgmentem[bot] wants to merge 1 commit into
renovate-orgmentem[bot] wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.6.1→1.7.0Manual step: update
BL_SHA256in.github/workflows/ci.ymlto the new release's checksum. Thesecretsjob fails until then (Renovate cannot recompute a release-asset hash).Release Notes
betterleaks/betterleaks (betterleaks/betterleaks)
v1.7.0Compare Source
What's New
More better rules, faster!
More Rules
Full list of rules added:
We added 87 new rules, and increased rules with validation from 106 to 187 while dropping scan times.
Better Rules
Thanks to the excellent work by @joeleonjr, the default generic rule now filters out common public-by-design credentials. These credentials are explicitly intended for client-side use and generally lack access to sensitive data or privileged operations. Reporting them as generic secrets creates unnecessary triage work.
Some publishable credentials have distinctive formats and can be filtered directly. Supabase publishable keys, for example, match the recognizable
sb_publishable_[A-Za-z0-9_-]{31}format.Other credentials do not have a unique shape. An hCaptcha site key looks like an ordinary UUID, so filtering every matching UUID would hide unrelated secrets. Betterleaks therefore requires both the expected format and nearby provider context:
This removes a known hCaptcha site key from generic results without suppressing every UUID in the codebase.
Faster Scans
Scans are faster now thanks to a couple optimizations:
without first allocating lowercase copies (based on github.com/RRethy/ahocorasick MIT) #240
rebuilding maps of candidate rule IDs for each fragment #240
[\w.-]{0,50}?: #233Despite the default ruleset growing from 325 to 412 rules, scan time decreased across all six repository and scan-mode combinations tested.
Changelog
5babeb2Drop near matches (#245)bc21eb2Feat/rule timings (#227)66d51b6Filter Publishable and Test Keys from Generic Results (#207)555b1ecFix PostHog key length ranges and add personal key validator (#259)7a28a0dMore rules and rule updates (p-r) (#260)a47f6c9Perf/detect optimizations (#240)118446eRemove left preamble for a quick perf win (#233)38c1686Rules/jul 15 batch 1 (#246)b49c535Rules/jul 17 batch 1 (#253)b76f266Some Azure Rules (#222)8e6d239add config check test to ci (#263)2168b56another batch (#255)88f8ab7another batch (#257)f64b922another batch needs more review (#262)872e374bump min ver (#226)813bd3bbunch of comments (#243)5c859adcloudsmith rule (#235)d0f00a3consistent quoting7f9ed4acouple of 'm's (#256)2eac852fast walk (#238)85b491cfix data race w/ runtime bindings (#231)f629149fix(detect): log filter-skipped findings (#199)63d589ffix(kubernetes): expand Secret detection range (#244)06e89aalimit sourcegraph regex and keywords (#248)1ebee5cmore rules (#249)6381fa4need to review (#264)9be6bc2render rule (#242)e382667stripe validator (#247)501de59support for quoted and escaped values in --log-opts (#201)0b4063dvalidation check for existing gcp-api-key rule, create new gemini rules (#230)Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate.