EX-037: This text tells your AI to do something and not to tell you

This text tells your AI to do something and not to tell you

Infection level: HIGHEX-037 · Instructions that ask the agent to keep its actions secret from the user

What the attacker is trying to do

A file gives the agent a job (create a file, skip a test, edit a settings file, send something out) and then tells it to keep that from you: "do not tell the user", "do not mention it", "without telling the user". Plain wording like this has no trick words, but the request to hide the job is what gives it away. The same text can sit in a steering file, a README, a CONTRIBUTING note or a comment in source code.

Defanged example

No example file exists for this rule yet.

How to fix it

Remove the instruction. A file your agent reads should not tell it to change files, tests, settings or send anything and then keep that from you. If a step is really needed, write it as an open instruction that the agent reports to you. If you are documenting the attack, put it in a fenced code block or say that the agent must never do it.

Technical details

Detected by
a text pattern
Checks files of type
instruction, docs, memory, tool-result, code
OWASP
ASI02 Inadequate Human-in-the-Loop Controls; ASI03 Prompt Injection via External Content; LLM01:2025 Prompt Injection