Malicious Code Injection in nasrul-poke30: A Threat to npm Ecosystem
Summary
MAL-2025-161919: Malicious code in nasrul-poke30 (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-poke30 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 distribution of JavaScript applications. However, it has been identified as part of a malicious campaign that exploits npm's publishing capabilities, leading to potential security risks for developers and users alike.
Vulnerability Detail
The vulnerability in nasrul-poke30 originates from its association with a malicious campaign designed to inflate developer reputation scores through the automatic generation and publication of derivative packages. The malicious code modifies the package.json file to remove private flags, alters version numbers, and creates random package names, which can lead to pollution of the npm registry. This not only compromises the integrity of the npm ecosystem but also poses risks to applications that may unknowingly depend on these malicious packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nasrul-poke30
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 prevent the installation of the nasrul-poke30 package by using npm's package-lock.json to lock your dependencies. Ensure that your project does not include this package in any of its dependencies.
Conclusion
The nasrul-poke30 package poses a significant threat to the npm ecosystem due to its malicious code designed to manipulate package publishing. It is essential for developers to be vigilant, regularly update their dependencies, and utilize tools like Vulert to monitor for vulnerabilities. Taking immediate action to remove affected packages is crucial for maintaining the security of your projects.
See every vulnerability recorded for nasrul-poke30 →
FAQ
nasrul-poke30 is an npm package that has been identified as part of a malicious campaign aimed at manipulating the npm registry.
The malicious code can lead to the publication of unauthorized packages, potentially compromising your project's integrity and security.
You should uninstall the package immediately using the command npm uninstall nasrul-poke30 and check for any other malicious dependencies.
You can use tools like Vulert, which monitors your package-lock.json 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.