test-supply-npm-lib-4npm
Advisory published Updated
test-supply-npm-lib-4 is a confirmed malicious npm package (MAL-2026-17314) that executes malicious code on install (malicious versions 3.3.3, 3.3.4, 3.3.5…). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in test-supply-npm-lib-4 (npm)
What this malware does
package.json declares a dependency sourced from a git URL (git+https://[email protected]/agustedone/test-supply-npm-git-prepare-proof-4.git) pinned to commit 0abd2c55e475f12f58fb67ac487db4c1b00cf597, rather than from the npm registry. On npm install, npm clones that GitHub repository and runs any lifecycle scripts it contains, including a prepare hook indicated by the dependency's name. The dependency source is an individual GitHub account (agustedone/...) unrelated to any established publisher, and the fetched code is not subject to npm registry review or integrity checks against a registry tarball. Whoever controls that GitHub repository controls code executed on the installer's machine at install time.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Malicious packageFind it
Search your lockfiles and build artifacts for test-supply-npm-lib-4 (4 malicious versions).
If you installed it — respond
Remove test-supply-npm-lib-4 from your project and lockfile, then assume any secrets accessible to the build or runtime were exposed: rotate API keys, tokens, and credentials, and audit for unexpected outbound activity or persistence.
Did it already run?
If test-supply-npm-lib-4 was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
Detect & block this
O3 blocks test-supply-npm-lib-4-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.