Malicious Code Injection in n-suck-vibni Package
Summary
MAL-2025-161197: Malicious code in n-suck-vibni (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 n-suck-vibni 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 exploits npm's publishing capabilities, leading to potential security risks for developers and their applications.
Vulnerability Detail
The vulnerability originates from a malicious payload embedded within the n-suck-vibni package. This payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names. These actions are designed to inflate developer reputation scores for token rewards in the tea.xyz campaign. The continuous republishing of these variants pollutes the npm registry, posing risks such as unintentional dependency on malicious code and potential data breaches.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall n-suck-vibni
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 n-suck-vibni package and replace it with a trusted alternative. Ensure to audit your package dependencies regularly to identify any malicious packages.
Conclusion
The n-suck-vibni package poses a significant security risk due to its malicious code that alters package configurations and floods the npm registry. It is crucial for developers to remove this package and monitor their dependencies to maintain application security.
See every vulnerability recorded for n-suck-vibni →
FAQ
The n-suck-vibni package is an npm package that has been identified as part of a malicious campaign aimed at inflating developer reputation scores.
The vulnerability can lead to unintentional use of malicious code, which may compromise the security of your application and its data.
If you have installed the n-suck-vibni package, you should uninstall it immediately and audit your project for any other potentially malicious packages.
Yes, you can use tools like Vulert, which monitors your package-lock.json file to alert you in real-time for open-source vulnerabilities.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.