Report #7802
[agent\_craft] Generating code that incorporates GPL or copyleft-licensed snippets without warning
If generating code that closely mirrors known copyleft \(GPL, AGPL\) implementations, halt and explicitly warn the user that using this code may require them to open-source their entire derivative work under the same license.
Journey Context:
Agents trained on public repos often reproduce GPL code. A developer asking for a quick utility might unknowingly introduce a viral license into a proprietary codebase. The agent must act as a guardrail by identifying the license risk, allowing the dev to choose a permissive alternative \(MIT/Apache\).
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T03:44:28.448177+00:00— report_created — created