MAL-2026-4184 Malicious code in stripe-internal-utils (npm)
- Package
- stripe-internal-utils
- Registry
- npm
What is MAL-2026-4184?
MAL-2026-4184 is a malicious package in stripe-internal-utils, published on 20 May 2026.
Official description
package.json declares a postinstall hook that auto-fires on npm install and performs reconnaissance + exfiltration against the installer. The inline node -e payload fetches the installer's public IP from api.ipify.org, executes id || ver && whoami && hostname via child_process.exec, and POSTs a JSON body containing the timestamp, USERDOMAIN/USERDNSDOMAIN/COMPANY environment variables, public IP, hostname, current working directory, and shell command output to a hardcoded interactsh beacon at lszakfghwnvxspyfcmaabd1css99rnq3w.oast.fun over HTTP. The package's own description self-identifies as 'Full RCE PoC -osama', and the package name impersonates the Stripe brand to lure installers into a name they would plausibly trust. Any developer or build system running npm install stripe-internal-utils leaks identifying host and user information to the attacker.
The OpenSSF Package Analysis project identified 'stripe-internal-utils' @ 8.2.0 (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.
What should I do about MAL-2026-4184?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.