Malicious Code Injection in nasution-poke13: A Threat to npm Ecosystem
Summary
MAL-2025-161999: Malicious code in nasution-poke13 (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
nasution-poke13 is an npm package that is part of a larger campaign aimed at manipulating the npm registry for fraudulent purposes. This package, like others in the campaign, is designed to inflate developer reputation scores through the automatic generation and publication of derivative packages. It is crucial for developers to understand the implications of using such packages, as they can compromise the integrity of their applications and the npm ecosystem.
Vulnerability Detail
The vulnerability in nasution-poke13 stems from its association with a malicious campaign that utilizes autopublish scripts to generate and publish numerous derivative packages with randomized names. This behavior modifies the package.json file by removing private flags, altering version numbers, and continuously republishing variants, which can lead to pollution of the npm registry. The ramifications include potential security risks for applications relying on this package, as well as reputational damage for developers involved.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nasution-poke13
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 workaround, consider using alternative packages that provide similar functionality without the associated risks. Additionally, you can monitor your package dependencies using tools like Vulert, which alerts you to open-source vulnerabilities in real-time. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The nasution-poke13 package poses a significant risk due to its malicious behavior aimed at manipulating the npm registry. 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 nasution-poke13 →
FAQ
nasution-poke13 is an npm package involved in a malicious campaign aimed at manipulating the npm registry.
The vulnerability can lead to the introduction of malicious code and compromise the integrity of your application.
You should remove the nasution-poke13 package from your project immediately and look for alternative packages.
You can use tools like Vulert, which monitors your package-lock.json for vulnerabilities and alerts you in real-time.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities without signing up.