IH-REF-001mediumMetadata

Referenced script is not in the package

SKILL.md tells the agent to run a script or file that the skill does not ship. The agent may improvise, fetch a replacement, or run whatever later appears at that path. A command or code block is graded above a passing mention.

What does IH-REF-001 flag?

Flags a SKILL.md that tells the agent to run a script or file that the skill does not ship.

  • A command or code block in SKILL.md that runs a relative path not present in the skill.
  • A command is graded above a passing mention.

Why it matters

When the file is missing, the agent may improvise, fetch a replacement from the web, or run whatever later appears at that path. All three are worse than the author intended.

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.

Missing script
Flagged
python3 scripts/sync.py --all  (scripts/sync.py not shipped)
Script present
Not flagged
python3 scripts/sync.py  (file present)
Placeholder path
Not flagged
python3 path/to/your_script.py

Can IH-REF-001 fire on a safe skill?

  • Files the skill generates on first run before calling them.
  • Paths that refer to the user project rather than the skill.

How do I fix an IH-REF-001 finding?

  • Ship the file in the skill, fix the path, or remove the instruction.
  • Agents should stop and ask the user when a referenced script is missing.

How do I tune or allow IH-REF-001?

If the file is created at run time, say so next to the command or lower the rule with ruleOverrides.

{
  "ruleOverrides": {
    "IH-REF-001": {
      "severity": "low"
    }
  }
}

Every key is described in Configuration. To print this rule from the CLI, run ironheights rules show IH-REF-001.

What can IH-REF-001 miss?

  • Scripts referenced from code rather than SKILL.md.
  • Absolute paths outside the skill.

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.

Scores and thresholds shown are the CLI defaults; your config can change them. List every rule from the terminal with ironheights rules list.

All 44 rules