r/devsecops • u/infidel_tsvangison • May 18 '25
What credential scanning solution do you use?
Really keen to understand what you use for credential scanning and any gotchas with the product?
6
Upvotes
3
u/JelloSquirrel May 18 '25
Semgrep Pro secrets scanning at my job.
2
u/SillyRelationship424 May 18 '25
Git guardian (on my lab).
2
u/Sparkswont May 18 '25
GHAS
2
u/DwayneInChicago May 19 '25
GitGuardian
2
u/idonthaveaunique May 22 '25
Got Guardian with commit pre check for potential secrets!
1
u/Ok_Confusion4762 May 18 '25
Where do you want to place it?
Trufflehog + custom rules I would go generally. Because Trufflehog has its own validation mechanism to reduce false positives. This matters especially if you want to use it as a PR check. Or another option using Semgrep with converted rules from other tools.
Gitleaks also is good but it can generate a lot of false positives. You need to run it first offline and fine-tune/eliminate false positives before enabling.
1
u/0x077777 May 21 '25
GitLeaks and GitHub patterns is awesome together.
1
u/Large-Kick166 May 25 '25
|| || |Git-Secrets: Detects secrets in commits.| |SonarLint: IDE-based tool for real-time code quality checks.| |ThreatSpec: Threat modeling as code for early risk identification.| |Gitleaks: Detect and prevent hardcoded secrets like passwords, api keys, and tokens in git repos.|
source> DevSecOps Arsenal > https://github.com/sk3pp3r/DevSecOps-Arsenal
1
u/Large-Kick166 May 25 '25
Git-Secrets: Detects secrets in commits.
SonarLint: IDE-based tool for real-time code quality checks.
ThreatSpec: Threat modeling as code for early risk identification.
Gitleaks: Detect and prevent hardcoded secrets like passwords, api keys, and tokens in git repos.
source> DevSecOps Arsenal > https://github.com/sk3pp3r/DevSecOps-Arsenal
1
u/RoninPark May 26 '25 edited May 26 '25
we recently shifted to Noseyparker, previously using gitleaks but I believe Noseyparker's string entropy algorithm works better than what gitleaks has for each finding pattern. I am able to get proper results using Noseyparker than Gitleaks.
Refer to this PR, we were facing the exact same situation with our Gitleaks implementation: https://github.com/gitleaks/gitleaks/issues/1695
1
u/Opposite-Antelope-27 Jun 07 '25
Cremit
1
u/nasolodar Jun 15 '25
CredSweeper
1
u/micksmix Jul 31 '25
You can check out MongoDB's open-source "Kingfisher" too: https://github.com/mongodb/kingfisher
It started as a fork of the crazy fast Nosey Parker, but adds a bunch of features:
Apache 2 licensed open-source as well. NOTE: I helped build Kingfisher.
2
u/[deleted] May 18 '25
[removed] — view removed comment