Malicious Code Detected in @mesh-components/card: A Critical Vulnerability
Summary
MAL-2026-2022: Malicious code in @mesh-components/card (npm). Affects @mesh-components/card versions 99999.0.0. 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 @mesh-components/card is a component library designed for building user interfaces in web applications. It provides various UI elements that developers can utilize to enhance the visual appeal and functionality of their applications. However, this package has been flagged for containing malicious code, which poses significant security risks to any application that integrates it.
Vulnerability Detail
The vulnerability in the @mesh-components/card package arises from its version 99999.0.0, which has been identified as malicious by the OpenSSF Package Analysis project. The package communicates with a domain linked to malicious activities and executes commands that can lead to unauthorized access or data breaches. This vulnerability can compromise the integrity of applications using this package, potentially allowing attackers to manipulate or steal sensitive information.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @mesh-components/card
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 @mesh-components/card package entirely until a secure version is released. If you need similar functionality, consider using alternative packages that have been vetted for security.
Conclusion
The @mesh-components/card package has been identified as containing malicious code, posing a significant threat to applications that utilize it. It is essential to take immediate action by updating or removing the package to safeguard your application from potential attacks. Utilizing tools like Vulert can help maintain awareness of vulnerabilities in your software dependencies.
See every vulnerability recorded for @mesh-components/card →
FAQ
The package has been reported to communicate with a domain associated with malicious activities and execute harmful commands.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By analyzing your package-lock.json file, Vulert can identify if your application is affected. You can also check using the Vulert playground without any signup.
If an immediate update is not possible, consider removing the package and using alternative libraries that provide similar functionality without the associated risks.
While specific exploits have not been detailed, the nature of the malicious behavior suggests that attackers could leverage this vulnerability to gain unauthorized access or execute harmful actions within affected applications.
Regularly monitor your dependencies using tools like Vulert, which can provide real-time alerts for any vulnerabilities in your open-source packages.