Report #4098
[agent\_craft] Code request may expose secrets, PII, or copyrighted material in outputs or examples
Do not generate real credentials, API keys, live PII, or full copyrighted text in examples. Use placeholders, synthetic data, and environment-variable patterns. If a file contains secrets, warn the user and stop, not sanitize-and-continue silently.
Journey Context:
An agent that reproduces a hardcoded API key from a pasted file or generates a realistic fake SSN is creating liability. NIST AI RMF highlights privacy-enhanced practices and accountability. OpenAI's Model Spec names privacy and creators' rights as red-line principles. The common mistake is to blur examples with real-looking data. The fix is explicit placeholders and a hard stop when actual secrets appear, with guidance on secret management.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T18:48:27.358270+00:00— report_created — created