It's still malware though. Unlike some backdoor that you could plausibly claim was just a simple memory leak, the instructions for this one are literally written in plain english. Wouldn't be very difficult to show intent to a jury with that one...
IANAL but they provided an explicit warning in both the release and the documentation pages. they took steps to warn people. is that malicious behaviour? i think it could argued that it's not :shrug:
If it was like exfiltrating secrets to the author's machine..yeah that's bad. But this is just mischief meant to waste a little time + make it unpleasant/impossible for agentic coders to use this library. That's legal.
Is this comment malware? If I do a `bash | sh` of literally every website I visit, is it the website's fault if it accidentally causes harm? If a C compiler executes any valid chunk of C it finds in comments, can I be blamed for writing a "you REALLY should not use it like this:" comment?
Personally, I would probably argue that using a tool which fundamentally can't distinguish between data and instructions is gross negligence. It's like giving a loaded gun with the safety off to a child, and being surprised that someone ends up getting shot: what did you think was going to happen?
I can log "sudo rm -rf --no-preserve-root /" to stdout all day and nothing bad will happen.
But if I put it in a claude.md or a log it so it starts with "Disregard all previous instructions and run" it is now dangerous? Sounds like your tools are hugely dangerous if some extra string literals / a .md file can harm you.