An open source project hid a command aimed at AI agents

An open source project called jqwik included a hidden message aimed at an AI agent. The message told the tool to delete code and tests. This is a prompt injection warning: AI tools can be tricked by text inside code, logs, or packages.

Key points

  • An AI agent may follow dangerous instructions hidden in files or output it reads.
  • Check open source packages before letting an AI tool add or change them automatically.
  • Using AI to save time and cost still needs human review at risky steps.

Quick term guide

open source
Software whose code is available for people to view and often modify.
jqwik
A Java testing tool used by developers to check whether code behaves correctly.
AI agent
An AI program that can inspect information and suggest what to do next.
tests
Automatic checks that help confirm code works as expected.
prompt injection
A trick where hidden instructions in text make an AI do something the user did not ask for.
prompt
Text instructions you give to an AI tool.
AI tools
Software that can help create text, code, images, or other work.
packages
Bundles of outside code that developers add to a project to save time.
Read original