MAL-2026-16051
Dashboard / Malicious Package / MAL-2026-16051
MAL-2026-16051
Summary: Malicious code in @umschool/analytics (npm)
Details: Source: amazon-inspector (da14c2843514d3c9103335648bc81a8bce18fc173b27c2ab39ebe2c6c0abe028) @umschool/[email protected] targets the internal @umschool npm scope with an implausibly high version number to force resolution over any private package of the same name. Its postinstall.js runs on npm install and collects host identity (os.hostname, os.userInfo, process.cwd), reads /etc/hostname, /etc/hosts, /etc/resolv.conf, and /proc/version, filters process.env for credential-shaped keys matching a broad regex (token/secret/key/pass/aws/db/jwt/auth/etc.), and walks parent directories to read.env and config.* files. Each payload is base64-encoded and transmitted via three HTTPS GET beacons to akko.requestcatcher.com, with an additional hex-encoded DNS beacon of hostname+user to the same domain. A README/comment self-labeling the code as a 'HARMLESS PoC' does not change the observed behavior: credential-shaped environment variables, dotenv files, and internal network configuration leave the installer's build host to a third-party request-catcher.
References: https://www.npmjs.com/package/@umschool/analytics/v/999.0.1, https://www.npmjs.com/package/@umschool/analytics/v/999.0.0, https://www.npmjs.com/package/@umschool/analytics/v/999.0.2, https://www.npmjs.com/package/@umschool/analytics/v/999.0.4, https://www.npmjs.com/package/@umschool/analytics/v/999.0.3
Affected packages
Package
Name: @umschool/analytics
Purl: pkg:npm/%40umschool/analytics
Affected ranges
Type: N/A
Events:
