CRITICAL npm Malware

Malicious code in amplitude-ma-ts (npm)

MAL-2026-3028 · GHSA-987f-7782-4mjj

Published · Modified

Dependency scanning

Check whether amplitude-ma-ts is in your codebase

Corgea flags malicious and compromised dependencies with reachability analysis, so you fix the packages that actually run in your application instead of working through the whole lockfile.

Description

npm stealer. Hardcoded Discord webhook id 1497047226428690432 in postinstall Folder/bin/S.js. Exfils {hostname, whoami, pwd, public_ip (api.ipify.org), /etc/hosts} via Discord embed. v1.0.21 empty placeholder, v1.0.22 shipped payload — name-squat-then-poison. Typosquats @amplitude/* analytics scope. Maintainer 4senna bugbounty4senna+1@gmail.com (Gmail plus-alias throwaway). Score 20, signals: install_hook + nodejs_phone_home + iplookup_website + discord_bot + discord_exfil + exfil_whoami_hostname. Report: data/reports/research-threat-analysis/reports/2026-04-24-amplitude-ma-ts.md


__

Source: amazon-inspector (88366a7453a0226ce379fc1e267e15daf9e3c144387e614528c88ab30cb0a49c)

The package amplitude-ma-ts was found to contain malicious code.

Source: ghsa-malware (b1c8391060a42708e68425943e4a2f779e2ce09e51ca578282148df1e761affd)

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 (2cba685b107eb30c1b216522bcb10e36df5eb8096a549b86ed097b9dbc7f192c)

The OpenSSF Package Analysis project identified 'amplitude-ma-ts' @ 1.0.22 (npm) as malicious.

It is considered malicious because:

  • The package communicates with a domain associated with malicious activity.

  • The package executes one or more commands associated with malicious behavior.

Ready to move

Start Securing

Free, no credit card | First findings in minutes