Skip to content

MAL-2026-11057 Malicious code in merchantprefsservice-paypal (npm)

Unknown
Published
Updated
Exploit status
No public exploit known

Description


-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (145fc1d224cc012a8cbdea5823b1573df6400ce6a24837b2c25710772152724f)

The package's preinstall script (index.js) executes automatically on npm install and collects host identifiers — hostname, platform, arch, home directory path, and configured DNS servers — then POSTs them to the hardcoded Burp Collaborator subdomain fdw2vnyonnpdk7x3ntotw7omtdz5n4bt.oastify.com at path /hit. The package name mimics an internal PayPal-namespaced service, consistent with a dependency-confusion beacon that fires when a developer or build system inadvertently resolves the public name over an intended private one. The exfiltrated DNS server list additionally reveals internal network configuration.

Source: ghsa-malware (3cb0650e6084dbdffdf3011ee427b9997afa2ff2778d43e5e7929945cd14f54a)

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 (1d3ce91132c1aa082533f130bf0d67c0369ebeb3564c49a134004da1cf9f29fc)

The OpenSSF Package Analysis project identified 'merchantprefsservice-paypal' @ 28.0.0 (npm) as malicious.

It is considered malicious because:

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

Upgrade path

1 package: 0 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
npm merchantprefsservice-paypal(npm) = 4.0.0; = 24.0.0; = 28.0.0; All versions No fix listed No fix yet

Affected products

ProductAffected versionsFixed in
npm merchantprefsservice-paypal(npm) All versions No fix listed
npm merchantprefsservice-paypal(npm) = 28.0.0 No fix listed
npm merchantprefsservice-paypal(npm) = 24.0.0 No fix listed
npm merchantprefsservice-paypal(npm) = 4.0.0 No fix listed

References