trufflehog reports a "verified" Slack webhook in a 2019 commit
IntermediateTroubleshootingSAST, SCA and secrets scanning in CI
Answer
Likely causes → trufflehog tested the credential against the provider and it still works, meaning a real live secret sits in history.
Diagnose →
trufflehog git file://. --only-verified --json | jq '{detector: .DetectorName, commit: .SourceMetadata.Data.Git.commit, file: .SourceMetadata.Data.Git.file}'
Fix → Revoke and reissue the webhook immediately, update consumers, then decide on history rewriting separately.
Prevent → Prioritise verified findings over unverified ones; run --only-verified org-wide on a schedule.
More on SAST, SCA and secrets scanning in CI
gitleaks fails the PR on `tests/fixtures/fake_rsa.pem` and `testdata/aws_creds.json`, which only contain dummy valuesBeginnergitleaks passes locally but the CI job reports 40 old leaks nobody touched in this PRIntermediate`fatal: ambiguous argument 'origin/main..HEAD': unknown revision` in the secrets-scan stepBeginnerSemgrep flags `subprocess.run(cmd, shell=True)` in a script where `cmd` is a hard-coded constantBeginnerSemgrep in CI reports findings in `node_modules/`, `vendor/` and minified `dist/*.js`BeginnerSemgrep job takes 35 minutes and gets killed with `exit code 137`Intermediate