trufflehog icon indicating copy to clipboard operation
trufflehog copied to clipboard

Feat: bitbucket app

Open x-stp opened this issue 4 months ago • 2 comments

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 lint this requires golangci-lint)?

x-stp avatar Jun 07 '25 18:06 x-stp