What does IH-INJ-004 flag?
Flags a skill that tells the agent to fetch a remote file and follow it, on a schedule or once, or to overwrite its own skill files from the network.
- Instructions to fetch a remote file and follow it, such as a heartbeat file every 30 minutes.
- Downloads written over SKILL.md or into the agent workspace, such as SOUL.md.
Why it matters
A scan only covers the copy on disk. If the skill pulls its real instructions from a server later, the author can change what the agent does after you reviewed it.
Examples
Illustrative shapes with placeholders in angle brackets. They show what the rule looks at; they are not runnable and not taken from real malware.
Can IH-INJ-004 fire on a safe skill?
- Docs that link to a remote copy of the skill for reading, not following, can match when worded as an instruction.
How do I fix an IH-INJ-004 finding?
- Pin the instructions in the skill.
- If updates are needed, fetch them for review, diff them (for example with scan --since-baseline), and never follow or install them automatically.
How do I tune or allow IH-INJ-004?
If the remote file is under your control and reviewed, exclude that one file with ignoreGlobs.
Every key is described in Configuration. To print this rule from the CLI, run ironheights rules show IH-INJ-004.
What can IH-INJ-004 miss?
- Fetch instructions that are phrased indirectly or hidden in code.
- What the remote file says when it is fetched.
No finding means no rule matched. It is not proof of safety. Files larger than 1 MiB are skipped without being read; the verdict is then incomplete, not no findings, but the file is still not checked. See Limitations.
Related rules
ironheights rules list.