MAL-2025-171858 Malicious code in shankarsharma (npm)

Malicious package Published
Package
shankarsharma
Registry
npm

What is MAL-2025-171858?

MAL-2025-171858 is a malicious package in shankarsharma, published on 12 Nov 2025.

Official description

This package appears to be part of the tea.xyz token reward campaign that flooded npm. These packages typically contain autopublish scripts (auto.js, autopublish.js, autopublish2.js, autopublish3.js) designed to automatically generate and publish derivative packages with randomized names to inflate developer reputation scores for tea protocol token rewards. The malicious payload modifies package.json to remove private flags, changes version numbers, generates random Indonesian-themed package names (some variants are also in English), and continuously republishes variants to pollute the npm registry.

What should I do about MAL-2025-171858?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

Sources

Is MAL-2025-171858 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free