A developer added an undisclosed instruction to the jqwik testing library that caused AI coding agents to delete application output. The prompt injection was discovered when users noticed their apps' output directories being erased after using AI assistants to generate code. The incident was reported on Ars Technica in May 2026. The developer intended to discourage reliance on AI-generated code without human review.


This is a wake-up call for the AI coding community. The developer's frustration is understandable. Vibe coding, where humans let AI write code without understanding it, is dangerous. But sabotage is not the answer. It erodes trust.

The real lesson: we need better safeguards. AI tools should be transparent about their actions. Developers should always review generated code. This incident shows that AI 'hallucinations' aren't the only risk. Malicious prompts can be embedded in libraries. The future of coding is human-AI collaboration, not blind automation.