checkout-mobile-pay-button
Affected
- introduced
0(semver)
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-c2h8-p68f-vf8m
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in checkout-mobile-pay-button (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (3299d3b20175ec3cd68c2355ccafd1e969237d93b2e708c92a9913ff323b19be)
[email protected] is a lure package: its name and README describe a 'mobile pay button platform adapter', but index.js unconditionally require()'s _loader.js on load. _loader.js reconstructs attacker-controlled hostnames at runtime via string-split/join obfuscation (oob-worker.cf100-416.workers.dev, oob-worker.cf101-adf.workers.dev, oob-worker.cf102-baf.workers.dev), downloads a platform-specific binary via https.get, writes it to /tmp or %TEMP% under a disguised name (.cache_<hex> on Unix, dotnet_diag_<hex>.exe on Windows), chmods 0755, and spawns it detached via /bin/sh -c or cmd.exe with.unref(). A DNS TXT covert channel over tin.dl.well1.site / tina.dl.well1.site / ldr.dl.well1.site / win.dl.well1.site (c.<domain> chunk-count then i.<domain> base64 chunks) provides a fallback delivery path when the workers.dev origins fail. The exported CheckoutMobilePayButton class is a stub with no real functionality; the package's only effect on install/require is fetching and executing opaque attacker-controlled bytes on the installer's host.
Source: ghsa-malware (0ce331757d94d948eb0d5685493abeb7926a32a4884e1166787bcd51bd655866)
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.
Not rated by the source.
0 (semver)None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0