Malicious Code Detected in Snapchat-UI Package: Version 96.8.0 Compromised
Summary
MAL-2025-190615: Malicious code in snapchat-ui (npm). Affects snapchat-ui versions 96.8.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 'snapchat-ui' package is a JavaScript library used in web applications to implement user interface components inspired by Snapchat's design. It provides various UI elements that developers can use to enhance the visual appeal of their applications. However, version 96.8.0 of this package has been flagged for malicious activity, raising concerns about its security and integrity.
Vulnerability Detail
The vulnerability in the 'snapchat-ui' package arises from its communication with a domain associated with malicious activities. This behavior poses significant risks, including data exfiltration, unauthorized access to user information, and potential exploitation of the application using this package. The malicious nature of the package was identified by the OpenSSF Package Analysis project, which monitors and assesses the security of open-source packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall snapchat-ui
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 an immediate workaround, you can remove the 'snapchat-ui' package from your project to prevent any potential exploitation. Use the following command: npm uninstall snapchat-ui. Consider using alternative UI libraries that are well-maintained and have a good security track record.
Conclusion
The 'snapchat-ui' package version 96.8.0 has been identified as malicious due to its communication with a harmful domain. Users of this package are advised to uninstall it and seek alternative solutions to ensure the security of their applications. Regular monitoring of dependencies using tools like Vulert can help maintain a secure software environment.
See every vulnerability recorded for snapchat-ui →
FAQ
The 'snapchat-ui' package is a JavaScript library designed for building user interface components inspired by Snapchat's design.
A malicious package is one that contains harmful code or behavior, such as communicating with unauthorized domains or compromising user data.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Simply upload your package-lock.json file to the Vulert playground at Vulert Scanner to check for vulnerabilities.
Currently, there is no patched version available for the compromised version 96.8.0 of the 'snapchat-ui' package.
It is recommended to uninstall the 'snapchat-ui' package and replace it with a secure alternative to mitigate any security risks.