Malicious Code Injection in nasrul-poke6 Package - npm Vulnerability
Summary
MAL-2025-161951: Malicious code in nasrul-poke6 (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 nasrul-poke6 package is part of the npm ecosystem, which is widely used for JavaScript package management. This package, like many others, is intended to facilitate the development and deployment of applications by providing reusable code. However, it has been identified as part of a malicious campaign that exploits npm's publishing capabilities, leading to significant security risks for developers and their applications.
Vulnerability Detail
The vulnerability in the nasrul-poke6 package originates from its association with a malicious campaign aimed at inflating developer reputation scores through the automatic generation and publication of derivative packages. These packages contain scripts that modify the package.json file, removing private flags, altering version numbers, and creating random package names. This behavior not only pollutes the npm registry but also poses a risk of unintentional dependency on compromised packages, potentially leading to further exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nasrul-poke6
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-poke6 package and any other packages associated with the malicious campaign. Additionally, consider using a package-lock.json file to lock down your dependencies and prevent the installation of compromised packages.
Conclusion
The nasrul-poke6 package has been identified as a vector for malicious code injection, posing significant risks to developers and their applications. It is crucial to remove this package and monitor your dependencies for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your projects.
See every vulnerability recorded for nasrul-poke6 →
FAQ
The nasrul-poke6 package is an npm package that has been identified as part of a malicious campaign to inflate developer reputation scores.
This vulnerability can lead to the installation of compromised packages, which may introduce malicious code into your application, posing security risks.
You should uninstall the nasrul-poke6 package immediately and check for any other affected packages in your project.
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.