-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Labels
Description
The GitLab secrets detector seems to trigger on any use of MAVEN_SETTINGS_PROFILE in a Dockerfile.
TruffleHog Version
trufflehog 3.93.4
Trace Output
n/a
Expected Behavior
Trufflehog does not report a false-positive.
Actual Behavior
Found unverified result 🐷🔑❓
(Verification info cached)
Detector Type: Gitlab
Decoder Type: PLAIN
Raw result: MAVEN_SETTINGS_PROFILE
Rotation_guide: https://howtorotate.com/docs/tutorials/gitlab/
Version: 1
File: search/Dockerfile
Line: 12
Steps to Reproduce
Create a Dockerfile with the following contents:
FROM scratch
ARG GITLAB_ACCESS_TOKEN_TYPE=Private-Token
ARG GITLAB_ACCESS_TOKEN
ARG MAVEN_SETTINGS_PROFILE=test
Having either GITLAB_ACCESS_TOKEN or GITLAB_ACCESS_TOKEN_TYPE present in the file will cause the next line to be reported as a false-positive.
Environment
n/a
Additional Context
References
Reactions are currently unavailable