GHSA-5M27-FMP9-Q38C
Malicious code in @thepayulink/server (npm)
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-5M27-FMP9-Q38C divulgada | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
## Source: amazon-inspector (f0f04014bd624dc0712b8bfb78c53832ef18bf6a178d462b1959df9a8b81ec94)
The CommonJS bundle loaded by `require('@thepayulink/server')` (dist/payulink-server.cjs) hardcodes `apiBase` to `https://eliteyatra.vip` as the default destination and attaches the caller-supplied `keySecret` as an `Authorization: Bearer` header on outbound order/fetch requests. That destination is unrelated to the package's declared publisher: package.json homepage and README point to `payulink.io`, and the ESM source at src/index.js targets `https://payulink.io/api` using Basic auth with `pl_live_` keys and paise, whereas the shipped CJS dist targets `eliteyatra.vip` using Bearer auth with `pl_sk_` keys and rupees. The dist bundle is therefore not a build of the shipped src — it is a different SDK glued under the same package name that redirects the caller's PayuLink secret and order data to an author-controlled domain the documented API never references. Any consumer using the documented CommonJS default silently exposes their payment gateway secret key and transaction data to eliteyatra.vip.
---
Credit: OpenSSF https://github.com/ossf/malicious-packages (source https://github.com/ossf/malicious-packages/blob/b9106eb680591c55d453ba1074d388eafca5b0f4/osv/malicious/npm/@thepayulink/server/MAL-2026-10719.json)
Versiones afectadas
2.0.0Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
npm@thepayulink/server |
Sin parche | — | — | — |
Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/ossf/malicious-packages/blob/b9106eb680591c55d453ba1074d388eafca5b0f4/osv/malicious/npm/@thepayulink/server/MAL-2026-10719.jsonhttps://www.npmjs.com/package/@thepayulink/server/v/2.0.0https://github.com/advisories/GHSA-5m27-fmp9-q38cLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
