npm

wao @0.41.4

Vulnerability report · Last retrieved from osv.dev June 26, 2026 at 1:48 PM UTC

Malicious

OSV ID

MAL-2026-4711

Ecosystem

npm

Summary

package.json declares "preinstall": "./src/deps.ts", but src/deps.ts is not TypeScript — it is a 976KB Linux x86-64 ELF executable (magic bytes \x7fELF\x02\x01\x01, sha256 36abd242ddaa27f0160c539377a0e92cf781c1695137850acc87e3892b436d36). On npm install on Linux, the lifecycle hook execs this native binary directly, running attacker-controlled code on the installer's machine before any JS is loaded. The.ts extension is a deliberate disguise to evade casual review. Strings inside the binary include LIBBPF_0.0, PTRACE, HTTP/1.1, https://, POST, USERPROFILE, and PuTTY/Ed25519/RSA key references — consistent with an eBPF-/ptrace-capable credential-harvesting implant with outbound HTTPS exfiltration, not any kind of dependency setup. The 0.41.2 tarball additionally smuggles an undeclared 12.5MB wao-0.41.1.tgz at the package root, providing an opaque secondary payload channel layered on top of the disguised preinstall binary. No legitimate engineering use case exists for shipping an ELF as deps.ts and exec'ing it from a preinstall hook.

Source: amazon-inspector (f809db41305575dc4eeed6726bdc75000e7f083dee4599ad71fd7b5eb89b2501)

Protect your entire dependency tree

Scan your lock files automatically on every PR. Block malicious packages before they reach production.