trufflehog
trufflehog copied to clipboard
Feat: bitbucket app
fork off brandonjyan:bitbucketapppassword which lived here https://github.com/trufflesecurity/trufflehog/pull/1498
The previous complex logic has been replaced with a clean, single-pass approach using a unified credentialPatterns slice for simplicity and performance.
The entire detector has been brought up to current project standards, attempt w/ cleaner regex with named capture groups and improved resource handling.
xxlarge bench is 2x faster.
Checklist:
-
[ ✔️ ] Tests passing (
make test-community)? -
[ ✔️ ] Lint passing (
make lintthis requires golangci-lint)?