Critical Malicious Activity Detected in Moonskin Package (npm)
Summary
MAL-2025-6945: Malicious code in moonskin (npm). Affects moonskin versions >= 1.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 Moonskin package is an npm library designed for various functionalities in web development, including UI components and styling. It is widely used due to its ease of integration and flexibility. However, recent findings have revealed that this package communicates with a domain linked to malicious activities, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability in the Moonskin package arises from its communication with a domain associated with malicious activity. This could lead to data breaches, unauthorized access, or the injection of harmful code into applications that depend on this package. The issue was introduced in version 1.0.0 and has not been addressed in subsequent releases, making it critical for users to take immediate action to mitigate potential risks.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall moonskin
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, users can remove the Moonskin package from their project until a secure version is available. This can be done using the command: 'npm uninstall moonskin'. Alternatively, consider using a different package that offers similar functionality without the associated risks.
Conclusion
The Moonskin package has been identified as having a critical vulnerability due to its communication with a malicious domain. Users are strongly advised to update or remove the package to protect their applications from potential security threats. Staying informed about vulnerabilities through tools like Vulert is essential for maintaining application security.
See every vulnerability recorded for moonskin →
FAQ
Moonskin is an npm package used for web development, providing various UI components and styling options.
The package communicates with a domain linked to malicious activities, which could compromise application security.
You can use Vulert, which monitors open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.
Consider removing the Moonskin package from your project or using an alternative package until a secure version is available.
Utilize tools like Vulert, which alerts you to vulnerabilities in your software by monitoring your package-lock.json file.