@myorder-frontend-commons/analytics
Affected
- Versions:
0.0.0-stage,0.0.1,0.1.0,0.2.0,1.0.0,1.1.0,1.2.0,10.0.0,100.0.0,101.0.0,2.0.0,3.0.0,5.0.0,99.0.0
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-4xrc-8qvp-c7r5
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in @myorder-frontend-commons/analytics (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (4e5f7ea46a15cf0b816818dfef340f91e8e4b3b8ac149af84cf133282a90202e)
Package is published to the public npm scope @myorder-frontend-commons and declares preinstall, install, and postinstall lifecycle scripts all set to node poc.js, so the payload auto-executes on any npm install that resolves this scope. poc.js collects host identifiers (os.hostname(), os.userInfo().username, os.platform()/arch/release, process.cwd(), node version, package metadata, and names of CI-related environment variables) and transmits them via HTTP GET to a hardcoded Interactsh out-of-band subdomain at db4jftohu4noreqdanngpnb3ger45ykrt.oast.fun and a hardcoded IP-based backup collector at 80-190-83-27.nip.io, plus a hex-encoded DNS-label beacon containing the hostname, user, and version. index.js exports stubs that mirror the API shape of an internal package of the same name, which is the dependency-confusion lure: an internal build system that mistakenly resolves against the public registry will install this package and immediately execute the beacon. The payload satisfies the installer-harm gate (install-time code execution plus host-identifier exfiltration to third-party collectors) regardless of any "authorized PoC" framing, because the installer did not consent and the destinations are not controlled by the installer.
Source: ghsa-malware (cbade25b03a760b27caec2096e5167b8742e35bf836a879acfb5c1fb04b9db17)
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.
Source: ossf-package-analysis (43a2fe0052005fedc0434fc354ae8777e198113f2371fddfbc9d79ffdd87fbb5)
The OpenSSF Package Analysis project identified '@myorder-frontend-commons/analytics' @ 99.0.0 (npm) as malicious.
It is considered malicious because:
Not rated by the source.
0.0.0-stage, 0.0.1, 0.1.0, 0.2.0, 1.0.0, 1.1.0, 1.2.0, 10.0.0, 100.0.0, 101.0.0, 2.0.0, 3.0.0, 5.0.0, 99.0.0None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0