semgrep-rules
semgrep-rules copied to clipboard
Rule to detect secrets in build time arguments in Docker
It is not recommended to use build-time variables for passing secrets like github keys, user credentials etc. Build-time variable values are visible to any user of the image with the docker history command.
@p4p3r Could you take another look at this?