All rules →
Rules / Go
SHIELD-GO-009

Hardcoded password or secret

highGoCWE-798CVSS 7.5

What it detects

Hardcoded credentials in Go source code can be extracted by attackers.

How to fix

Use environment variables or a secrets manager instead of hardcoded credentials.

Scan your repo freeFull documentation
Back to all rules
SHIELD-GO-009: Hardcoded password or secret — Zennoxa Shield