Malicious Code Injection in nasrul-poke73: A Threat to npm Ecosystem
Summary
MAL-2025-161966: Malicious code in nasrul-poke73 (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-poke73 is part of the npm ecosystem, which is widely used for JavaScript package management. It is often utilized by developers to share and manage code efficiently. However, this package has been identified as part of a malicious campaign that aims to manipulate the npm registry by generating and publishing numerous derivative packages with altered metadata, thereby inflating developer reputation scores for token rewards.
Vulnerability Detail
The vulnerability in nasrul-poke73 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 leads to the continuous republishing of these variants, which pollutes the npm registry and can compromise the integrity of the ecosystem. The malicious payload is designed to execute autopublish scripts that automate this process, making it difficult for developers to identify and mitigate the threat.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nasrul-poke73
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, you can remove the nasrul-poke73 package from your project by executing the following command: npm uninstall nasrul-poke73. This will prevent any malicious code from executing while you assess the situation and look for a secure alternative.
Conclusion
The nasrul-poke73 package poses a significant threat to the npm ecosystem due to its malicious behavior. It is crucial for developers to remain vigilant, update their packages regularly, and utilize tools like Vulert to monitor for vulnerabilities. By taking proactive measures, you can help safeguard your projects from potential threats.
See every vulnerability recorded for nasrul-poke73 →
FAQ
nasrul-poke73 is an npm package that has been identified as part of a malicious campaign aimed at manipulating the npm registry.
This vulnerability can lead to the pollution of the npm registry, potentially compromising the integrity of your project and affecting its dependencies.
You should uninstall the package immediately and check for any other affected packages in your project.
Yes, you can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time.
You can use the Vulert playground at Vulert Scanner to check if your application is affected without needing to sign up.