Skip to content

Custom Verifier are not working in new version #4370

@viriyaluckytkp

Description

@viriyaluckytkp

Please review the Community Note before submitting

TruffleHog Version

trufflehog 3.90.3

Trace Output

`trufflehog filesystem test.txt --no-update --verifier gitlab=https://private gitlab domain/ --only-verified --debug

2025/08/07 10:36:52 [updater parent] run
2025/08/07 10:36:53 [updater parent] starting trufflehog
2025/08/07 10:36:53 [updater child#1] run
2025/08/07 10:36:53 [updater child#1] start program
2025-08-07T10:36:53+07:00 info-2 trufflehog trufflehog 3.90.3
🐷🔑🐷 TruffleHog. Unearth your secrets. 🐷🔑🐷

2025-08-07T10:36:53+07:00 info-2 trufflehog starting scanner workers {"count": 8}
2025-08-07T10:36:53+07:00 info-2 trufflehog starting detector workers {"count": 64}
2025-08-07T10:36:53+07:00 info-2 trufflehog starting verificationOverlap workers {"count": 8}
2025-08-07T10:36:53+07:00 info-2 trufflehog starting notifier workers {"count": 8}
2025-08-07T10:36:53+07:00 info-0 trufflehog running source {"source_manager_worker_id": "wP05O", "with_units": true}
2025-08-07T10:36:53+07:00 info-2 trufflehog enumerating source {"source_manager_worker_id": "wP05O"}
2025-08-07T10:36:54+07:00 info-0 trufflehog finished scanning {"chunks": 1, "bytes": 650, "verified_secrets": 0, "unverified_secrets": 0, "scan_duration": "1.290521292s", "trufflehog_version": "3.90.3", "verification_caching": {"Hits":0,"Misses":1,"HitsWasted":0,"AttemptsSaved":0,"VerificationTimeSpentMS":1287}}
2025/08/07 10:36:54 [updater parent] prog exited with 0
2025/08/07 10:36:54 [updater parent] signal (urgent I/O condition) failed (os: process already finished), assuming child process died unexpectedly`

Expected Behavior

Able to scan and validate gitlab token with custom endpoint (private gitlab)

Actual Behavior

Unable to scan gitlab token, and validate it. Few versions before are able to scan it.
Needed flag "--custom-verifiers-only" to be added in command to be able to validate it.

Steps to Reproduce

  1. Run trufflehog using command "trufflehog filesystem test.txt --no-update --verifier gitlab=https://gitlab.domain/ --only-verified --debug"
  2. and scan the file that contains gitlab token

Environment

OS: MacOS Sonoma 14.1.1 (23B81)

Additional Context

References

  • #0000

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions