Improve secrets control gap classification#1612
Open
modelsbridgeaicom-ship-it wants to merge 1 commit into
Open
Improve secrets control gap classification#1612modelsbridgeaicom-ship-it wants to merge 1 commit into
modelsbridgeaicom-ship-it wants to merge 1 commit into
Conversation
4 tasks
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.
Skill Improvement ($50-150 Bounty)
Skill Modified
Skill name:
secrets-managementSkill path:
skills/devsecops/secrets-management/Addresses #1611.
What Was Wrong
The skill said missing secret detection tooling should not be counted as a secrets finding, but later classified "No secret detection tooling deployed" as Critical. That could make a clean repository with no exposed credential look like it has a Critical leaked-secret finding.
The skill also only considered repo-visible scanner config, so platform-native controls like GitHub Secret Protection or GitLab Secret Detection could be missed when no
.gitleaks.toml,.trufflehog.yml, or.secrets.baselineis committed.What This PR Fixes
Evidence
Before, this benign case could be overclassified:
After, this is recorded as platform-native scanner coverage and does not create a Critical leaked-secret finding.
Before, this real exposure could be mixed with tooling gaps:
After, this creates one Critical Secret Exposure finding plus a separate High Secrets Control Gap. The control gap supports remediation priority but is not counted as a second leaked-secret finding.
Test Cases Added/Updated
skills/devsecops/secrets-management/tests/benign/platform-native-scanning-no-local-config.mdskills/devsecops/secrets-management/tests/vulnerable/active-secret-with-control-gap.mdValidation
git diff --checkskills/androles/Secrets Control Gaps,GitHub Secret Protection,GitLab Secret Detection,Validity State,Remediation State,Not Evaluable, and platform-native scanner wordingBounty Tier
Bounty Info
CONTRIBUTING.mdbounty terms