CanonicalSecurity
Hardcoded credentials (CWE-798): secrets belong in env vars or a secret manager, never in source
An API key, password, or private key written as a literal in source code is compromised the moment it is committed — git history keeps it even after you delete the line. Read secrets from the environment or a secret manager; rotate anything that was ever hardcoded.
securitysecretscwe-798