Skip to content

In-depth lesson · Dependency confusion and supply chain

Year by year: 2021

What the disclosed Dependency confusion and supply chain reports of each year show, newest first: what first appeared, what kept working and what turned up less.

Back to the lesson 1 to 9 of 9 (of 19 in all)

Clear the search

2021

9 points

New this year3

  1. Dependency confusion spread beyond npm to pip, gem and WordPress plugin ecosystems.

    Seen in 3 reports
  2. Publishing a higher version number under the same package name to shadow the internal package was demonstrated.

    Seen in 1 report
  3. Adding a backdoor and raising the version number so the update is offered was shown against plugins.

    Seen in 1 report

Kept working5

  1. Hunters repeatedly showed dependency confusion across npm, pip, gem and WordPress.

    Seen in 5 reports
  2. They found internal Node.js libraries referenced by name but unclaimed on the public npm registry.

    Seen in 3 reports
  3. They checked whether a named npm dependency was unclaimed and whether its install script ran during a build.

    Seen in 2 reports
  4. They looked for internal gem names in docs or configs that were unclaimed on the public gem server.

    Seen in 1 report
  5. They found plugins absent from the official directory and checked whether a public plugin with the same slug would be offered as an update.

    Seen in 1 report

Turned up less1

  1. The plain HTTP JAR substitution seen in 2019 reports did not recur in the 2021 reports.

    Seen in 2 reports