MAL-2026-10719 Malicious code in @thepayulink/server (npm)
Malicious package
Published
MAL-2026-10719 is a malicious package: @thepayulink/server (npm). Every version was published to cause harm.
Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.
Reference: https://insights.sbomify.com/MAL-2026-10719/ (Markdown: https://insights.sbomify.com/MAL-2026-10719/index.md)
- Package
- @thepayulink/server
- Registry
- npm
What is MAL-2026-10719?
MAL-2026-10719 is a malicious package in @thepayulink/server, published on 16 Jul 2026.
Official description
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.What should I do about MAL-2026-10719?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.