finos / git-proxy

Deploy custom push protections and policies on top of Git
https://git-proxy.finos.org
Apache License 2.0
88 stars 62 forks source link

Investigate scanner-cli to provide password and (other) secrets scanning #26

Open maoo opened 3 years ago

maoo commented 3 years ago

See https://github.com/hawkeyesec/scanner-cli

Scanner-cli provides a wide range of features; as a proof of concept, it is required to:

coopernetes commented 9 months ago

In addition to actually executing the secret scanning, git-proxy (via #47) can simply check that built-in GitHub secret scanning is enabled on the upstream repo before allowing a push to go forward. In combination with GitHub's push protection, this is a light-weight method for detecting secrets in source.

Many organizations have secrets such as LDAP credentials that do not get detected by the partner patterns so some extensibility is still needed and it makes sense to have another defensive layer to detect custom or in-house secrets via git-proxy.

maoo commented 9 months ago

Love the idea, thanks @coopernetes !

It's worth mentioning that Goldman Sachs contributed to FINOS a secret scanning tool called CatchIT, see https://github.com/finos/catchit