Malicious Code Injection in nudela-aahaf0gf-gaafodfa: npm Package Vulnerability
Summary
MAL-2025-163708: Malicious code in nudela-aahaf0gf-gaafodfa (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 nudela-aahaf0gf-gaafodfa package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. However, it has been identified as containing malicious code that compromises its integrity.
Vulnerability Detail
The vulnerability originates from the package's malicious payload, which modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior leads to the continuous republishing of variants that pollute the npm registry, posing risks to developers and users by potentially introducing insecure or harmful packages into their projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nudela-aahaf0gf-gaafodfa
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 remove the affected package from your project by executing: npm uninstall nudela-aahaf0gf-gaafodfa. Additionally, consider using alternative packages that do not exhibit malicious behavior.
Conclusion
The nudela-aahaf0gf-gaafodfa package has been identified as containing malicious code that modifies essential files and repopulates the npm registry with harmful variants. It is crucial for developers to take immediate action by updating or removing the package and monitoring their projects for vulnerabilities.
See every vulnerability recorded for nudela-aahaf0gf-gaafodfa →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to automate the generation and publication of derivative packages.
The vulnerability can lead to the introduction of insecure packages into your project, potentially compromising its security and functionality.
You should uninstall the package immediately and check for any updates or alternatives that do not contain malicious code.
You can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities in your software.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.