Malicious Code Injection in nasution-poke46 Package
Summary
MAL-2025-162035: Malicious code in nasution-poke46 (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 nasution-poke46 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 of applications by providing reusable code. However, it has been identified as part of a malicious campaign that aims to exploit the npm registry by flooding it with derivative packages that inflate developer reputation scores for token rewards.
Vulnerability Detail
The vulnerability in the nasution-poke46 package stems from its association with a malicious campaign that modifies the package.json file to remove private flags and change version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior can lead to security risks, including the potential for developers to unknowingly use compromised packages, which can introduce further vulnerabilities into their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nasution-poke46
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 avoid using the nasution-poke46 package and any other packages that are part of the malicious campaign. Regularly audit your package.json and package-lock.json files for any suspicious entries.
Conclusion
The nasution-poke46 package poses a significant risk due to its malicious behavior of modifying package files and flooding the npm registry. It is crucial for developers to remain vigilant, regularly audit their dependencies, and utilize tools like Vulert to monitor for vulnerabilities.
See every vulnerability recorded for nasution-poke46 →
FAQ
nasution-poke46 is an npm package that has been identified as part of a malicious campaign to flood the npm registry with compromised packages.
Using the nasution-poke46 package can introduce malicious code into your application, potentially compromising its security and functionality.
You should uninstall the nasution-poke46 package immediately using the command npm uninstall nasution-poke46 and review your other dependencies for similar vulnerabilities.
You can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities in your software by analyzing your package-lock.json file.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.