@marketfront/madvpopup @7.0.0
Vulnerability report · Last retrieved from osv.dev July 6, 2026 at 10:15 AM UTC
OSV ID
MAL-2026-6785
Ecosystem
npm
Summary
Package declares postinstall: node scripts/postinstall.js . scripts/postinstall.js is a 162KB obfuscator.io-style payload (string-array + RC4 + base64 decoders, per-call scope aliases, and anti-debug: NODE_OPTIONS inspection, inspector-module check, Date.now() tight-loop timing probe gating execution via a global flag). On npm install the script collects hostname, network interfaces, cwd, uid/gid, home, tmpdir, uptime, username, npm_config_user_agent, Windows-specific variables (USERDOMAIN, COMPUTERNAME, PROCESSOR_ARCHITECTURE, APPDATA, LOCALAPPDATA, PROGRAMDATA, TEMP), and the full process.env , and POSTs them over HTTPS to a hardcoded (obfuscated) remote endpoint. A dedicated helper iterates process.env against a large embedded allowlist of credential-shaped variable names (AWS/DB/CI/token patterns) and includes matches in the outbound payload — direct credential harvest against installer machines and CI runners where cloud/registry tokens live in the environment. The library surface is non-functional cover: dist/index.js re-exports ../src/index.js , which is not shipped in the tarball; the only executable code is the postinstall. Scope and metadata ( @marketfront/ , homepage docs.marketfront.io , repo github.marketfront.io , bugs jira.marketfront.io , README instructing .npmrc redirect to npm.marketfront.io ) impersonate an internal-corporate namespace, consistent with a dependency-confusion attack against a specific organization's developers.
Source: amazon-inspector (7a5356e994576873d423448281716731228660a884a5adf5cb7327dc7520a2e2)
Protect your entire dependency tree
Scan your lock files automatically on every PR. Block malicious packages before they reach production.