ALEXKRI.NET
Resume Contact
← Back

Package managers have an integrity problem

Your lockfile probably isn’t the integrity control you think it is. Trail of Bits ran 25 package managers against a malicious repository behind mitmproxy: only Go and vcpkg verified every package they downloaded, and only Go checks signatures by default. Dart’s pub spots the hash mismatch and installs anyway unless you pass —enforce-lockfile. The proposed fix is neat - pin the signer’s identity in the lockfile, not a hash of one artifact.

Read the source ↗