Malicious Code Injection in nana-tek82-miaww: A Threat to npm Packages
Summary
MAL-2025-88742: Malicious code in nana-tek82-miaww (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
The package 'nana-tek82-miaww' is part of a series of npm packages that emerged during the tea.xyz token reward campaign. These packages are designed to inflate developer reputation scores by automatically generating and publishing derivative packages with randomized names. This behavior not only compromises the integrity of the npm registry but also poses a risk to developers who may unknowingly use these malicious packages.
Vulnerability Detail
The vulnerability in 'nana-tek82-miaww' originates from its malicious payload, which modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This allows the package to continuously republish variants, polluting the npm registry and potentially leading to security breaches for applications that depend on these packages. The malicious code is designed to exploit the npm ecosystem, making it critical for developers to be vigilant.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nana-tek82-miaww
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 workaround, you can avoid using the 'nana-tek82-miaww' package and look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The 'nana-tek82-miaww' package poses a significant threat due to its malicious code that alters package files and repopulates the npm registry with harmful variants. Developers must take immediate action to remove this package and ensure their applications are secure by using trusted alternatives and monitoring for vulnerabilities.
See every vulnerability recorded for nana-tek82-miaww →
FAQ
The main issue is that it contains malicious code that modifies package.json files and republish variants to pollute the npm registry.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json. Visit Vulert Scanner to check if your application is affected.
If you have installed the package, you should uninstall it immediately using 'npm uninstall nana-tek82-miaww' and look for safe alternatives.
Yes, using this package can lead to security breaches, as it modifies critical files and can introduce vulnerabilities into your application.
To prevent similar vulnerabilities, regularly audit your dependencies, use trusted packages, and keep your software updated.