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.
2021
9 pointsNew this year3
Dependency confusion spread beyond npm to pip, gem and WordPress plugin ecosystems.
Seen in 3 reports
Publishing a higher version number under the same package name to shadow the internal package was demonstrated.
Seen in 1 report
Adding a backdoor and raising the version number so the update is offered was shown against plugins.
Seen in 1 report
Kept working5
Hunters repeatedly showed dependency confusion across npm, pip, gem and WordPress.
Seen in 5 reports
They found internal Node.js libraries referenced by name but unclaimed on the public npm registry.
Seen in 3 reports
They checked whether a named npm dependency was unclaimed and whether its install script ran during a build.
Seen in 2 reports
They looked for internal gem names in docs or configs that were unclaimed on the public gem server.
Seen in 1 report
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
The plain HTTP JAR substitution seen in 2019 reports did not recur in the 2021 reports.
Seen in 2 reports