IH-DEP-001highIntegrity

Install names a package that does not exist

The skill installs an npm or PyPI package whose name the registry does not know (HTTP 404). Anyone can register that name and ship code that runs on the next install. Checked only with scan --check-registry; an offline or failed lookup is reported as not checked, never as missing.

What does IH-DEP-001 flag?

With scan --check-registry, flags a skill that installs an npm or PyPI package whose name the registry does not know.

  • A metadata install entry or an npm or pip install line whose package name returns HTTP 404 from the registry.
  • An offline or failed lookup is reported as not checked, never as missing.

Why it matters

An unregistered name can be claimed by anyone. Whoever registers it first ships code that runs on the next install of the skill.

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.

Unregistered package
Flagged
npm install -g name-nobody-registered  (registry 404)
Real package
Not flagged
npm install -g typescript  (registry 200)

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

  • A package that was just published and is not yet visible in the registry.
  • A private registry package checked against the public registry.

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

  • Fix the package name, or publish and pin the real package.
  • Do not install the skill until the name resolves to the intended publisher.

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

The check only runs with --check-registry. Leave it off for private packages, or exclude the file with ignoreGlobs.

{
  "ignoreGlobs": [
    "docs/known-example.md"
  ]
}

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

What can IH-DEP-001 miss?

  • Packages that exist but are malicious or typosquatted.
  • Ecosystems other than npm and PyPI.

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