Malicious code in @coinme-security/risk-sdk-react-native (npm)
- GHSA-6j4q-c564-3x35
Description
The package declares a postinstall hook ("postinstall": "node.phone-home.js install") that executes.phone-home.js, which collects os.hostname(), process.platform, process.version and the package name and transmits them as query parameters in an HTTPS GET to a hardcoded third-party endpoint at https://workinc.top/oob/o1-<token>. The same beacon is reproduced in index.js, the declared main entry, so the callback also fires on require()/import of the module. Both paths wrap the request in try/catch so failures produce no output. index.js exports an empty object and implements none of the functionality the package name advertises, and the published version number (99.0.0) is set implausibly high for the name, a shape that wins version resolution against an internal package of the same scope. Installing or loading the package therefore sends the installer's host identity to an endpoint unrelated to the named vendor, with no opt-out and no declared purpose. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/78d0ba20d615fbedd73fd1d3140928492091c0df/osv/malicious/npm/@coinme-security/risk-sdk-react-native/MAL-2026-21012.json))
Text from the GitHub Advisory record.
Recommendation
Remove the package and rotate any secret the machine that installed it could reach. There is no version to update to.
Affected
@coinme-security/risk-sdk-react-nativenpm
No versions listed
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.