You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At least https: and http: should probably be removed from that list.
Steps to Reproduce
Create a file named slack with a valid slack webhook (looks something like https://hooks.slack.com/services/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, this one is not valid though)
TruffleHog Version
trufflehog 3.81.9
Trace Output
Expected Behavior
The slack webhook should be detected
Actual Behavior
The detector finds the webhook, but it is then filtered out by
FilterKnownFalsePositives
. The slack webhook is filtered out heretrufflehog/pkg/detectors/falsepositives.go
Line 82 in 3b0b290
https:
over in the badlisttrufflehog/pkg/detectors/badlist.txt
Line 210 in 3b0b290
At least
https:
andhttp:
should probably be removed from that list.Steps to Reproduce
slack
with a valid slack webhook (looks something likehttps://hooks.slack.com/services/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
, this one is not valid though)trufflehog --no-update filesystem slack
Environment
Additional Context
References
IsKnownFalsePositive
incorrectly marks value as false-positive #1953The text was updated successfully, but these errors were encountered: