Package managers have an integrity problem

A review of 25 popular package managers found that fewer than half used lockfiles that checked for tampering by default, while only two verified every downloaded package’s integrity. The article warns that package repositories could become a more attractive target if attacks on package developers are mitigated. It argues that cryptographic hashes or signatures can help, but that practical implementations involve design and usability trade-offs.

AI-written summary, checked against the cited sources. How summaries work

Image: Trail of Bits

Primary source

Package managers have an integrity problem Trail of Bits

Coverage 2 publishers

  1. Trail of BitsFirst reportPrimary source

    Package managers have an integrity problem

    I tested 25 of the most popular package managers to check whether they detect a compromised package repository injecting malicious code into legitimate packages. This code integrity problem could be solved using cryptographic hashes or…

  2. Lobsters

    Package managers have an integrity problem

    I tested 25 of the most popular package managers to check whether they detect a compromised package repository injecting malicious code into legitimate packages. This code integrity problem could be solved using cryptographic hashes or…

Earliest report first. Articles stay on their publishers’ sites; each link opens the original.