EX-031: This text tells your AI to skip, delete or weaken your tests and checks

This text tells your AI to skip, delete or weaken your tests and checks

Infection level: HIGHEX-031 · Instructions to weaken tests or checks

What the attacker is trying to do

A file tells the agent to add .skip to tests, delete a test file as "flaky", commit with --no-verify, add "|| true" to a CI step, lower a coverage threshold, or make a failing check pass without fixing it. A bad change then gets through because the checks no longer catch it.

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 skip or delete tests, bypass hooks with --no-verify, hide CI failures with "|| true", lower a coverage threshold, or make a failing check pass without a fix. Fix the cause in a reviewed commit. 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