Quick heads up: Ars/Slashdot are reporting that a developer added a hidden prompt injection to jqwik, a Java testing library for JUnit 5.
The injected text reportedly told AI coding agents to disregard previous instructions and delete jqwik tests/code. It was apparently meant as a protest against vibe coding / AI-agent use, but it’s a good reminder for all of us:
If you’re using coding agents, don’t blindly trust dependency output, terminal output, test logs, README text, or generated instructions. Treat project files and tool output as untrusted input.
Worth a quick read: