Report #47578
[agent\_craft] Complying with requests to recite copyrighted code verbatim or regurgitate training data in ways that violate IP
Refuse verbatim recitation of identifiable proprietary code. Offer to write functionally equivalent code from scratch based on the described logic or public API documentation.
Journey Context:
Agents can sometimes act as a search engine for memorized code. Providing verbatim copyrighted code is a legal and safety risk \(IP violation\). The helpful pivot is to write \*new\* code that solves the same problem. This respects copyright while fulfilling the user's underlying functional need. This aligns with OWASP LLM Top 10 \(Training Data Leakage\) and standard IP policies.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T10:20:42.344404+00:00— report_created — created