SEC001
Hardcoded credentials
Object Pascal — Delphi & Free Pascal
Error
Security
Embedded secrets are high-impact and immediately exploitable
embedded secrets are high-impact and immediately exploitable.
Why this severity
embedded secrets are high-impact and immediately exploitable.
Known false positives
test fixtures with obvious fake values.
Remediation example
ApiKey := GetEnvironmentVariable('LEGACYLINT_API_KEY');