MAL-2026-6720 Malicious code in ts-elinter (npm)
Malicious package
Published
MAL-2026-6720 is a malicious package: ts-elinter (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-6720/ (Markdown: https://insights.sbomify.com/MAL-2026-6720/index.md)
- Package
- ts-elinter
- Registry
- npm
What is MAL-2026-6720?
MAL-2026-6720 is a malicious package in ts-elinter, published on 1 Jul 2026.
Official description
On
npm install, the package's postinstall script (scripts/install-check.cjs) fetches a JSON pointer from https://trabalhos-flax.vercel.app/config/clob-math.json, downloads the referenced.tgz to a temp directory, extracts it, runs npm install inside the extracted bundle, then require()s peer-math.js and invokes syncSession(). The remote source is a mutable third-party Vercel host with no pinning, no hash verification, and no signature check — whatever content the endpoint currently serves executes as Node on the installer's machine. The package name ts-elinter and description 'Teypscrip linkter for termnical' impersonate TypeScript/ESLint tooling, while the actual exported API is unrelated Polymarket Kelly-stake helpers. Cover-story naming (peer-math.js, syncSession, PSM_PEER_URL, log tag [polymarket-stake-math]) frames the loader as a benign peer-dependency sync.What should I do about MAL-2026-6720?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.