Malicious Code Injection in polymeria-nuyio: A Threat to npm Packages
Summary
MAL-2025-164502: Malicious code in polymeria-nuyio (npm). Affected versions are not published. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
polymeria-nuyio is an npm package that is part of the tea.xyz token reward campaign. It is designed to facilitate the distribution of token rewards through various npm packages. However, this package has been identified as malicious, containing scripts that automatically generate and publish derivative packages with altered metadata, aimed at inflating developer reputation scores.
Vulnerability Detail
The vulnerability in polymeria-nuyio stems from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants that pollute the npm registry, potentially compromising the integrity of the ecosystem and affecting developers relying on legitimate packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall polymeria-nuyio
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, avoid using the polymeria-nuyio package and consider using alternative packages that provide similar functionality without the associated risks.
Conclusion
The polymeria-nuyio package poses a significant threat due to its malicious code that alters package metadata and floods the npm registry with derivative packages. It is essential to remove this package and monitor your dependencies for vulnerabilities using tools like Vulert to maintain the integrity of your software projects.
See every vulnerability recorded for polymeria-nuyio →
FAQ
The vulnerability involves malicious code that modifies package metadata and repackages it, leading to potential pollution of the npm registry.
You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Check your application against the vulnerability using the Vulert playground at Vulert Scanner.
Immediately uninstall the package using 'npm uninstall polymeria-nuyio' and check for any other affected packages.
Yes, consider using other npm packages that provide similar functionalities without the malicious behavior. Research and verify their integrity before use.
Vulert uses your package-lock.json to monitor and alert you in real-time for open-source vulnerabilities, ensuring your application remains secure.