Malicious Code Injection in nasrul-poke65: A Threat to npm Ecosystem
Summary
MAL-2025-161957: Malicious code in nasrul-poke65 (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 nasrul-poke65 is part of the npm ecosystem, which is widely used for JavaScript package management. It is often utilized by developers to manage dependencies in their applications. However, this package has been identified as part of a malicious campaign that aims to inflate developer reputation scores through the creation of numerous derivative packages. The malicious nature of this package poses significant risks to the integrity of the npm registry and the applications relying on it.
Vulnerability Detail
The vulnerability in nasrul-poke65 stems from its association with a malicious campaign that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is designed to pollute the npm registry by continuously republishing variants of the package, which can lead to confusion and potential security risks for developers who unknowingly incorporate these packages into their projects. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which exploits npm's publishing mechanisms.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nasrul-poke65
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 nasrul-poke65 package and any other packages associated with the tea.xyz campaign. Additionally, you can monitor your package-lock.json file for any unauthorized changes or additions.
Conclusion
The nasrul-poke65 package poses a significant threat to the npm ecosystem due to its malicious code injection. Developers should take immediate action to update or remove this package to safeguard their applications. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.
See every vulnerability recorded for nasrul-poke65 →
FAQ
nasrul-poke65 is an npm package that has been identified as part of a malicious campaign aimed at inflating developer reputation scores.
The vulnerability can lead to the inclusion of malicious code in your application, potentially compromising its security and integrity.
You should update the package to a patched version or remove it from your project to prevent any security risks.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time 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 any signup.