Malicious Code Injection in sant-cookik-raimu: A Threat to npm Users
Summary
MAL-2025-165754: Malicious code in sant-cookik-raimu (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 package 'sant-cookik-raimu' is part of the npm ecosystem, which is widely used for JavaScript package management. It is designed to facilitate the development and sharing of code. However, this package has been identified as part of a malicious campaign that aims to exploit npm's publishing system. The vulnerability arises from scripts embedded within the package that manipulate package metadata and publish harmful variants, thereby compromising the integrity of the npm registry.
Vulnerability Detail
The vulnerability in 'sant-cookik-raimu' stems from its association with a malicious campaign that floods the npm registry with derivative packages. These packages contain scripts that automatically modify the package.json file to remove private flags, alter version numbers, and generate random package names. This not only inflates developer reputation scores for token rewards but also pollutes the npm registry, making it difficult for developers to find legitimate packages. The malicious payload can lead to the installation of compromised packages, potentially exposing applications to further security risks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall sant-cookik-raimu
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 'sant-cookik-raimu' package and look for alternative packages that provide similar functionality without the associated risks. Additionally, consider using npm audit to identify and address vulnerabilities in your project.
Conclusion
The sant-cookik-raimu package poses a significant threat to npm users due to its malicious code designed to manipulate package metadata and flood the npm registry. It is essential to remove this package and monitor for any updates or patches. Utilizing tools like Vulert can help maintain the security of your applications by providing real-time alerts for open-source vulnerabilities.
See every vulnerability recorded for sant-cookik-raimu →
FAQ
The sant-cookik-raimu package contains malicious code that modifies package metadata and floods the npm registry with harmful variants.
You can use Vulert, which monitors open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without needing to sign up.
You should remove the package immediately and monitor your project for any unusual behavior. Consider updating to a patched version if available.
Yes, tools like npm audit and Vulert can help identify and manage vulnerabilities in your npm packages.
Ignoring this vulnerability can lead to the installation of compromised packages, which may expose your application to security risks and data breaches.