MAL-2026-20062
Malicious code in singpass-myinfo-oidc-helper (npm)
Auswirkung
singpass-myinfo-oidc-helper is a name-squatting package: it takes the unscoped form of the official Singpass/Myinfo SDK `@govtechsg/singpass-myinfo-oidc-helper` (Singapore's national digital identity), so a project that installs the name without its scope, or a build that resolves the unscoped name from the public registry, receives this package instead. Versions 0.0.1 and 0.0.2, published on 2026-11-17, declare a `postinstall` script that runs `node postinstall.js`, which sends an HTTPS GET to `https://claim-test.ngrok.app/hello-world`, an ngrok tunnel controlled by a third party. The request carries no payload, but it confirms the install to that party and discloses the installing machine's public IP address and the time of the install. The script never consumes the response, so the install can hang until the remote side closes the connection. `index.js` only prints a notice; the package describes itself as a "Security research placeholder". The `0.0.0-stage` placeholder carries no install script and is not affected. Remove the package, depend on `@govtechsg/singpass-myinfo-oidc-helper` instead, and block `claim-test.ngrok.app` on build hosts. The OpenSSF Package Analysis project identified 'singpass-myinfo-oidc-helper' @ 0.0.2 (npm) as malicious. It is considered malicious because: - The package communicates with a domain associated with malicious activity.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| npm | singpass-myinfo-oidc-helper | unbekannt | nicht erfasst |