Skip to content

Supply chain

Dependency does not exist on npmdeps.package-not-on-npm

A direct dependency is not published on npm — often a name an AI assistant invented ("slopsquatting"), which an attacker can register.

  • In force Rule deps.package-not-on-npm
  • 3 clauses

At a glance

deps.package-not-on-npm
Severityhigh
CertaintyObserved — the code as written is the problem
Looks atyour dependencies and the npm registry
When it runsRuns online (skipped with --offline)

How to fix it

Remove it or replace it with the real package you meant.

Check your own app

Run npx scanlyfix scan in your project. Every finding gets an id; after fixing, npx scanlyfix verify <id> proves it is gone.

If it is a false positive in your project, silence that one line with // scanlyfix-ignore-next-line deps.package-not-on-npm -- <why>.

All rules

Your code stays
on your machine

Only findings are uploaded, and only to your own dashboard.