AI Security Atlas › All entries › Model Supply Chain & Training Integrity

GuardrailFixes high risks

Dependency Allowlisting & Package Verification

New packages must come from an approved registry or mirror and pass provenance, age, and malware checks before install.

Open in the interactive atlas →

Impact

Hallucinated or typo-squatted names cannot be installed by people or agents.

Why this severity

Guardrails take the highest severity of the risks they mitigate: Unreviewed AI-Suggested Code & Dependencies (High), Hallucinated Package Squatting (High).

Method: OWASP Risk Rating Methodology

Related

Mitigates

Remediation

  1. Mirror approved packages internally and point package managers at the mirror.
  2. Require lockfiles with hashes.
  3. Scan new packages for install scripts and known malware.

How to verify

Pattern

npm config set registry https://registry.internal.example/
npm ci --ignore-scripts

Framework mapping

OWASP Top 10 for LLM Applications 2025

MITRE ATLAS

NIST AI RMF 1.0