Skip to content

In-depth lesson · Dependency confusion and supply chain

Root causes

Every point the Dependency confusion and supply chain reports back under this heading, best-backed first, each with the reports it is seen in.

Back to the lesson 1 to 8 of 8
  1. Internal package names were left unclaimed on public registries.

    Seen in 4 reports
  2. Build configuration referenced dependency repositories over HTTP without integrity checks.

    Seen in 2 reports
  3. Documentation referenced a gem name without ensuring it was registered on the public gem server.

    Seen in 2 reports
  4. A test script contained a dangling reference to a decommissioned storage bucket name, combined with unsafe unzipping.

    Seen in 1 report
  5. The package manager resolved dependencies from the public registry rather than only the internal one.

    Seen in 1 report
  6. The npm client or registry configuration allowed fallback to the public registry for private package names.

    Seen in 1 report
  7. The default gem source was not restricted to the internal repository.

    Seen in 1 report
  8. The plugin update system trusts the directory by slug name, so an unclaimed slug can be registered by anyone.

    Seen in 1 report