serpacksven@1.0.4
Vulnerability report · Last retrieved from osv.dev October 6, 2026 at 2:31 PM UTC
OSV ID
MAL-2026-17625
Ecosystem
npm
Summary
The tarball contains only package.json and json.txt. The declared main (index.js) is absent, so requiring the package fails — the package is not a functional JS library. json.txt is a heavily obfuscated PowerShell script that hides the console window via GetConsoleWindow + ShowWindow(0) and SetWindowPos to offscreen coordinates (-32000,-32000), performs randomized sleeps and junk-variable noise, concatenates ~150 base64 string fragments into one buffer, base64-decodes and XOR-decrypts it with key 89, then reflectively loads the decoded bytes as a.NET assembly through a runtime-constructed [System.Reflection.Assembly]::Load invocation whose type and method names are rebuilt from char-code arithmetic. The in-memory.NET payload is opaque and attacker-controlled. The package has no lifecycle scripts, so installation alone does not execute json.txt, but any environment that invokes the shipped file via powershell will run the embedded payload. The disguised.txt extension, cover-story main entry, console-hiding, anti-analysis obfuscation, and reflective load of an opaque buffer are the signature of a malware staging artifact rather than legitimate tooling.
Source: amazon-inspector (89aa9ce877a176ce5c26aec2bce6e397ad287a6f26f625870cd5d6a5bef60cc9)
Protect your entire dependency tree
Scan your lock files automatically on every PR. Block malicious packages before they reach production.