MAL-2026-11072
Dashboard / Malicious Package / MAL-2026-11072
MAL-2026-11072
Summary: Malicious code in wsh4_edu (npm)
Details: Source: amazon-inspector (0757eee7b6324baca2e2b28261c7ff072c60d578c827a14c1fa54f690b1cd53a) The package's postinstall hook runs index.js, which POSTs the installer's absolute filesystem path (via __filename with sendFullPath: true), Node.js version, platform, and architecture to a hardcoded Discord webhook at discord.com/api/webhooks/1530599209269465319/. The same beacon also fires when the module is required, since index.js is the package main. The absolute path typically embeds the local username and home directory, giving the operator of the webhook a host/identity fingerprint of every machine that installs the package. The webhook URL is split across two string literals and concatenated at call time to evade casual string scanning, and the destination is not caller-configurable. The package name and README self-describe as a typo/beacon experiment. Source: ossf-package-analysis (e68d4c62ae8440581c4400e1cdacb7877912eb23610e273432d18cea61574785) The OpenSSF Package Analysis project identified 'wsh4_edu' @ 1.0.0 (npm) as malicious. It is considered malicious because: - The package communicates with a domain associated with malicious activity.
References: https://www.npmjs.com/package/wsh4_edu/v/1.0.0
Affected packages
Package
Name: wsh4_edu
Purl: pkg:npm/wsh4_edu
Affected ranges
Type: N/A
Events:
