security(ci): allowlist incident-doc paths in gitleaks + non-block dependency-review (no GHAS)#7
Merged
Merged
Conversation
eadaf68 to
ead9b51
Compare
…emove corrupted gitleaks regex
ead9b51 to
9ef74ae
Compare
nitinwepro
approved these changes
May 14, 2026
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.
Summary
Option-B fix for the two CI gates that block every PR after the 2026-05-09 Shai-Hulud incident docs landed:
.gitleaks.tomlallowlist did not cover the repo-rootSECURITY-INCIDENT-*.md/SECURITY-AUDIT-*.md/SECURITY-EXCEPTIONS*.mdfiles, so the custombb-malware-blockchain-loader-markerrule fired on its own documentation. Adds those paths to the existing[allowlist].pathsarray.actions/dependency-review-actionerrors with"Dependency review is not supported on this repository. Please ensure that Dependency graph is enabled along with GitHub Advanced Security"because GHAS is not currently enabled on private repos and is not being purchased right now. Addscontinue-on-error: trueat job level so the gate is non-blocking until GHAS is enabled.Both gates remain installed and visible in PR CI runs; they just stop self-blocking every PR.
Test plan
Gitleaks+Dependency Reviewchecks are green (or "passed with errors" for dep-review)bb-malware-blockchain-loader-markerrule still fires on a fake commit that adds an IoC string to a non-allowlisted runtime file🤖 Generated with Claude Code