ShtukbaseStandard
page/norms/standards/owasp-secrets.md

Settings: secrets hygiene (OWASP)

Page fields (5)
exclude**/*.lock, **/package-lock.json, **/pnpm-lock.yaml, **/yarn.lock, **/Cargo.lock, **/go.sum
allowMarkerssecrets:allow, gitleaks:allow
minEntropy3.5
minLength16
maxBytes1048576

Settings of the norms SCR-R01 … SCR-R03 of the std-owasp-secrets package. Edit the fields in the header.

  • exclude: what not to scan: globs from the project root.
  • allowMarkers: markers on a line that take it out of the check. Put them only on an example or a test key, and write next to it why.
  • minEntropy: the entropy threshold (bits per character) for SCR-R02. Higher means fewer findings.
  • minLength: from what length a value under a "secret" name is suspicious.
  • maxBytes: files larger than this size are skipped.
The package Standard: secrets hygiene (OWASP) puts this page at /norms/standards/owasp-secrets.md.Source text