Image: cdn.prod.website-files.com · rights & removal
Executive Summary
Facts Only
* The attack involved a dependency chain leading to an execution payload.
* A decoy package named `multicall-error-decoder` was published to npm.
* This decoy triggered installation of code from a GitHub repository via a specified dependency (`github:outgoingyang/multicall-error-decoder`).
* The malicious code included an install script: `"install": "node dist/error-decoder/handlers.js"`.
* The payload downloaded and executed code on Windows or ran remote scripts on Macs upon installation.
* The initial package, `web3-mev-error-decoder@0.1.0`, was targeted for this dependency injection.
* The malicious repository was hosted on a GitHub account.
* npm replaced the package with a security holder shortly after the GitHub advisory was published.
* The real code was not present in the initial registry tarball.
* The payload included runtime decryption (AES) of strings before executing platform-specific commands.
Full Take
The attack demonstrated a sophisticated method of supply chain poisoning by exploiting trust in package registries and dependency resolution mechanisms. The core pattern involves using a seemingly innocuous, legitimate artifact as an entry point to trick automated systems (like security scanners) into ignoring the actual malicious payload. The attacker created a false positive on npm by publishing a clean decoy, relying on the fact that standard inspections focus on registry artifacts rather than deep Git dependency resolutions. This forces defenders to recognize that package contents are not solely defined by what resides in the registry tarball but must also account for source dependencies specified via protocols like `git:`. The complexity of obfuscating Stage 2—the actual execution logic residing in a remote GitHub repository—highlights a failure mode where security tooling is optimized for static artifact inspection, leading to blindness regarding dynamic code execution orchestrated through external Git references. This implies that defenses must shift from inspecting package metadata to mandating the resolution and scanning of all transitive git dependencies during installation processes.
Pattern detected: ARC-0024 Ambiguity, ARC-0063 Systemic (mission drift), ARC-015 Authority Game.
From the original · Endor Labs Blog
The package itself contained almost nothing. Instead, it told npm to pull in a second piece of code directly from a GitHub account.Read the full story at endorlabs.com
Sentinel unavailable
The automated check of the source article's wording did not complete, so no result is shown.
This looks only at the wording of the original source article, not at this page's AI-written sections. A small local AI model made this estimate. It has not been checked against known human and machine texts, so treat it as provisional. It cannot show who wrote an article.
