EX-029: A file or folder name is giving your AI orders

A file or folder name is giving your AI orders

Infection level: HIGHEX-029 · File or folder name that instructs the AI

What the attacker is trying to do

The name of a file or folder reads like an instruction ("ignore previous instructions...") or hides invisible characters. An agent that lists the project reads every name, so a name alone can steer it.

Defanged example

No example file exists for this rule yet.

How to fix it

Rename or delete the file or folder. A name is read by an agent when it lists a project, so it can carry orders just like file contents. Do not let an agent act on this project until the name is changed.

Technical details

Detected by
Checks files of type
unknown
OWASP
LLM01:2025 Prompt Injection; ASI03 Prompt Injection via External Content