Malicious Code Injection in nabila-poke26: A Threat to npm Ecosystem
Summary
MAL-2025-161223: Malicious code in nabila-poke26 (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
nabila-poke26 is an npm package that is part of the tea.xyz token reward campaign. This package is designed to facilitate token rewards through various automated scripts. However, it has been identified as containing malicious code that compromises the integrity of the npm registry by generating and publishing derivative packages with altered metadata.
Vulnerability Detail
The vulnerability in nabila-poke26 originates from its involvement in a malicious campaign that floods the npm registry with spammy packages. The malicious code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the pollution of the npm ecosystem. This can result in developers unknowingly using compromised packages, which may lead to security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nabila-poke26
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 nabila-poke26 package from your project by executing: npm uninstall nabila-poke26. Additionally, you can monitor your project for vulnerabilities using tools like Vulert, which can analyze your package-lock.json file for real-time alerts on open-source vulnerabilities.
Conclusion
The nabila-poke26 package poses a significant threat to the npm ecosystem due to its malicious code that alters package metadata and floods the registry with spam. It is crucial for developers to take immediate action by updating or removing the package and utilizing tools like Vulert for ongoing vulnerability monitoring.
See every vulnerability recorded for nabila-poke26 →
FAQ
nabila-poke26 is an npm package associated with the tea.xyz token reward campaign, designed to automate the generation and publication of packages.
The malicious code modifies package metadata, potentially leading to the use of compromised packages that can introduce security vulnerabilities into your application.
You should uninstall the package immediately and check for any other affected packages in your project.
You can use Vulert, which allows you to monitor your package-lock.json file for vulnerabilities without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without signing up.