Report #13429
[agent\_craft] Requests to hardcode API keys, passwords, or credentials
Refuse to hardcode credentials. Suggest using environment variables, secret managers, or configuration files excluded from version control.
Journey Context:
Hardcoding secrets is a massive security risk. While the user might just want a quick test script, agents must prioritize secure defaults. Refusing the hardcode and providing the secure pattern \(env vars\) is the only acceptable path to prevent accidental credential leakage.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T18:44:40.544130+00:00— report_created — created