Malicious Code Injection in nasrul-poke26: A Threat to npm Ecosystem
Summary
MAL-2025-161914: Malicious code in nasrul-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
nasrul-poke26 is an npm package that has been identified as part of a malicious campaign targeting the npm registry. This package, like others in the campaign, is designed to exploit the npm ecosystem by generating and publishing derivative packages with the intent of inflating developer reputation scores for token rewards. Its functionality is compromised, making it a vector for malicious activities.
Vulnerability Detail
The vulnerability in nasrul-poke26 originates from its inclusion in a campaign that floods the npm registry with malicious packages. These packages contain scripts that modify the package.json file to remove private flags, alter version numbers, and create random package names, leading to the pollution of the npm registry. The ramifications include potential security risks for developers who unknowingly integrate these packages into their projects, as well as damage to the integrity of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nasrul-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 avoid using the nasrul-poke26 package and any other packages that are part of the malicious campaign. Regularly audit your dependencies using tools like npm audit to identify and mitigate risks.
Conclusion
The nasrul-poke26 package poses a significant threat to the npm ecosystem due to its malicious nature. Developers should take immediate action to remove this package and monitor their dependencies for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your applications.
See every vulnerability recorded for nasrul-poke26 →
FAQ
nasrul-poke26 is an npm package that has been identified as part of a malicious campaign aimed at flooding the npm registry with harmful packages.
The vulnerability can lead to the introduction of malicious code into your project, potentially compromising its security and integrity.
You should uninstall the package immediately using 'npm uninstall nasrul-poke26' and check your package-lock.json for any references to it.
You can use tools like npm audit or services like Vulert, which monitors your package-lock.json for vulnerabilities in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.