THREAT OPS › Threat News › Package managers have an integrity problem
Package managers have an integrity problem
<p>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 signatures, but many package managers are still vulnerable to this threat. Of the 25 package managers reviewed<sup id="fnref:1"><a class="footnote-ref" href="#fn
MITRE ATT&CK techniques
- JavaScriptT1059.007
- VulnerabilitiesT1588.006
- Private KeysT1552.004
- Code RepositoriesT1593.003
- PowerShellT1059.001
- ImpersonationT1684.001
- Code RepositoriesT1213.003
- Malicious PackageAML.T0011.001
- ImpersonationAML.T0073
- Code RepositoriesAML.T0095.000
Indicators of compromise
- 9b129329f58692f6e6578329498a8fe9fbe98f090beb764ffbb8ee2eadd01dcdsha256
- 9e593bb18ea69cc5095e012465dcd675a822ed0dsha1
- 34cbb9a40b4bd1bd767d134a7065e66c2432a676sha1
- d88e31b84d65e754935053b1c584ea8e2320698asha1
- b094ded77ee97a6027ad6cf0e8c7b9f88381814csha1
- b25b8df7cae323c376fe4770882ebbfd805fdbf4sha1
- 8045b8fcfaa30683f233e2cdfa52c98095a85425sha1
- cac0f6daea041b0ccf42934163defb20md5
- CVE-2026-56865cve
- CVE-2026-56864cve
- https://www.mitmproxy.org/url
- https://arxiv.org/abs/2505.04834v3url
- https://docs.mitmproxy.org/stable/concepts/modes/#wireguardurl
- https://www.cpan.org/modules/INSTALL.htmlurl
- https://learn.perl.org/installing/unix_linux.htmlurl
- https://vcpkg.io/en/url
- https://bun.com/docs/pm/cli/addurl
- https://bun.com/docs/pm/lockfile#should-it-be-committed-to-giturl
- https://pip.pypa.io/en/stable/cli/pip_lock/url
- https://conda.github.io/conda-lock/url
- https://pub.devurl
- https://dart.dev/resources/glossary#pub-content-hashurl
- https://pnpm.io/blog/releases/11.4url
- https://docs.conan.io/2/tutorial/versioning/revisions.htmlurl
- https://docs.npmjs.com/cli/v12/configuring-npm/package-lock-jsonurl
- https://pnpm.io/giturl
- https://python-poetry.org/docs/basic-usage/url
- https://docs.astral.sh/uv/guides/projects/#uvlockurl
- https://classic.yarnpkg.com/blog/2016/11/24/lockfiles-for-all/url
- https://guides.rubygems.org/faqs/#using-gemfiles-inside-gemsurl
- https://blog.rust-lang.org/2023/08/29/committing-lockfiles/url
- https://rustfoundation.org/media/improving-supply-chain-security-for-rust-through-artifact-signing/url
- https://blog.packagist.com/an-update-on-composer-packagist-supply-chain-security/url
- https://docs.npmjs.com/about-registry-signaturesurl
- https://registry.npmjs.org/debugurl
- https://registry.npmjs.org/-/npm/v1/keysurl
- https://api.nuget.org/v3-index/repository-signatures/5.0.0/index.jsonurl
- https://pause.perl.org/pause/query?ACTION=pause_04about#pubkeybaturl
- https://cpan.metacpan.org/authors/id/S/SR/SRI/CHECKSUMSurl
- https://docs.ruby-lang.org/en/master/Gem/Security.htmlurl