Malicious Code Injection in polymedarnan-nufatiman-nuts: A Threat to npm Packages

polymedarnan-nufatiman-nuts Updated 26 Nov 2025

Summary

12/11/2025
CRITICAL
No i
Critical
Not published

MAL-2025-164402: Malicious code in polymedarnan-nufatiman-nuts (npm). Affected versions are not published. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The package 'polymedarnan-nufatiman-nuts' is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been linked to a series of malicious activities aimed at inflating developer reputation scores. The package's functionality is compromised due to its involvement in autopublishing scripts that generate and publish derivative packages with randomized names, leading to pollution of the npm registry.

Vulnerability Detail

The vulnerability stems from the malicious code embedded within the 'polymedarnan-nufatiman-nuts' package. This code modifies the package.json file by removing private flags, altering version numbers, and generating random package names. The continuous republishing of these variants can lead to significant pollution of the npm registry, potentially affecting developers' ability to find legitimate packages and compromising the integrity of the ecosystem.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall polymedarnan-nufatiman-nuts

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary measure, you can avoid using the 'polymedarnan-nufatiman-nuts' package and replace it with a trusted alternative. Additionally, you can monitor your package-lock.json file for any unauthorized changes and revert them if necessary.

Conclusion

The 'polymedarnan-nufatiman-nuts' package poses a significant threat due to its malicious code that alters package configurations and pollutes the npm registry. It is crucial for developers to take immediate action by removing the package and monitoring their projects for any vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.

See every vulnerability recorded for polymedarnan-nufatiman-nuts →

Share this vulnerability

FAQ

The package contains malicious code that modifies package.json files and repopulates the npm registry with harmful variants.

You can use Vulert, which monitors vulnerabilities in real-time using your package-lock.json file. Check your application at Vulert Scanner without needing to sign up.

You should uninstall the package immediately using 'npm uninstall polymedarnan-nufatiman-nuts' and check for any unauthorized changes in your project.

While specific alternatives may depend on your project's requirements, consider using well-established packages that serve similar functionalities without the associated risks.

Regularly audit your dependencies, use tools like Vulert for monitoring, and stay informed about the latest security advisories in the npm ecosystem.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall polymedarnan-nufatiman-nuts

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback