Malicious Code Vulnerability in cormacryan Package: npm Exploit
Summary
MAL-2025-171068: Malicious code in cormacryan (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 cormacryan package is part of the npm ecosystem, primarily used for JavaScript development. It is often utilized in various applications for its functionality in managing dependencies. However, this package has been identified as part of a malicious campaign that floods the npm registry with derivative packages, impacting developers' reputations and the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in the cormacryan package originates from its association with the tea.xyz token reward campaign. This package contains malicious scripts that modify the package.json file by removing private flags, altering version numbers, and generating random package names. The continuous republishing of these variants leads to pollution of the npm registry, which can severely affect developers' reputations and the reliability of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall cormacryan
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, avoid using the cormacryan package and monitor your project's dependencies for any instances of this package. You can also use tools like Vulert to monitor your package-lock.json file for vulnerabilities in real-time.
Conclusion
The cormacryan package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry. Developers should take immediate action to remove this package and monitor their dependencies for any vulnerabilities.
See every vulnerability recorded for cormacryan →
FAQ
The cormacryan package is an npm package used in JavaScript development, but it has been identified as malicious.
The vulnerability can lead to the pollution of the npm registry and may affect your project's integrity and reputation.
You should uninstall the cormacryan package immediately using the command: npm uninstall cormacryan.
You can use Vulert, which monitors your package-lock.json file for vulnerabilities in real-time without requiring code access.
There is no patched version available for the cormacryan package; it is recommended to remove it entirely.