Instruction file tells the agent to bypass its own controls
An instruction file matches one of a small, enumerated set of shapes: disregarding prior instructions, skipping the permission prompt, exfiltrating credentials, or fetching and executing remote content. A heuristic over prose - it runs in `deep`, not in `quick`, and it can never exceed `possible`.
medium possible agent workspace ASI ASI01 / CWE-77
What it looks like
From CLAUDE.md in the fixture suite.
The fixture test asserts this finding.
How to fix it
Delete the sentence. If it was written in good faith - a shortcut for a noisy prompt - say what the project actually needs instead: which commands are safe to run, which directories to leave alone. An instruction file should describe the project, never the agent's own controls.
// describe the project, not the agent's permission model
The fix for your agent host
Choose the configuration format used by your host.
Check your own repository
npx owlwarden scan --preset deep
npx owlwarden explain agent-instructions-directive
explain prints the rule and fixes in the terminal. It does not
use the network.