Malicious Code Injection in nasution-poke5 Package: A Threat to npm Users
Summary
MAL-2025-162039: Malicious code in nasution-poke5 (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-poke5 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 system, leading to significant security risks for developers and users alike.
Vulnerability Detail
The nasution-poke5 package contains malicious code that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior is part of a broader scheme to inflate developer reputation scores through the tea.xyz token reward campaign. The malicious payload continuously republishes variants of the package, polluting the npm registry and potentially compromising applications that depend on it.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall nasution-poke5
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-poke5 package and any other packages that may be part of the tea.xyz token reward campaign. Monitor your package dependencies closely and consider using tools like Vulert to keep track of vulnerabilities in real-time.
Conclusion
The nasution-poke5 package poses a significant threat due to its malicious code that alters package configurations and repopulates the npm registry with untrusted variants. It is crucial for developers to remove this package and monitor their dependencies to maintain application security.
See every vulnerability recorded for nasution-poke5 →
FAQ
The nasution-poke5 package is an npm package that has been identified as part of a malicious campaign aimed at manipulating the npm registry.
The malicious code can compromise your application's integrity by altering package configurations and introducing untrusted code.
You should immediately uninstall the nasution-poke5 package and review your project's dependencies for any other potentially malicious packages.
You can use tools like Vulert, which monitors your package-lock.json file for vulnerabilities in real-time without requiring code access.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without any signup.