I am not a lawyer
Under US law, providing or distributing code or instructions that enables circonvention of drm or other access controls is illegal under the dmca's anti-circumvention provisions.
In AI LLM that outputs working circumvention instructions would likely be treated as providing a tool or service for circumvention that could trigger liability... For the LLM provider