Malicious Code Injection in soap-commitizen-markdown-janus Package
Summary
MAL-2025-189554: Malicious code in soap-commitizen-markdown-janus (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 soap-commitizen-markdown-janus package is an npm module designed to facilitate the use of Commitizen for generating standardized commit messages. It is part of a broader ecosystem of tools that help developers maintain consistent commit history. However, this package has been compromised, making it susceptible to malicious activities that can affect the integrity of projects relying on it.
Vulnerability Detail
The vulnerability originates from a malicious code injection within the soap-commitizen-markdown-janus package. This package is linked to a token reward campaign that has flooded npm with similar malicious packages. The injected code modifies the package.json file by removing private flags, altering version numbers, and generating random package names. This behavior is intended to inflate developer reputation scores and pollute the npm registry, potentially leading to security risks for projects that utilize this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall soap-commitizen-markdown-janus
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 remove the soap-commitizen-markdown-janus package from your project by executing: npm uninstall soap-commitizen-markdown-janus. This will prevent any malicious code from executing until a secure version is available.
Conclusion
The soap-commitizen-markdown-janus package has been compromised with malicious code that can affect the integrity of projects using it. It is crucial to update or uninstall the package to protect your applications from potential risks. Utilizing tools like Vulert can help monitor and alert you to such vulnerabilities in real-time.
See every vulnerability recorded for soap-commitizen-markdown-janus →
FAQ
It is an npm module that helps developers generate standardized commit messages using Commitizen.
The malicious code can modify your package.json, remove private flags, and publish unauthorized versions, compromising your project's integrity.
You should immediately update or uninstall the package to mitigate any potential risks.
Yes, you can use Vulert, which monitors your package-lock.json for vulnerabilities in real-time without requiring code access or installation.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.