Malicious Code Detected in @hoyowave/jsapi: Security Risk Alert
Summary
MAL-2025-6904: Malicious code in @hoyowave/jsapi (npm). Affects @hoyowave/jsapi versions >= 19.9.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 @hoyowave/jsapi is an npm library designed for JavaScript applications, providing various functionalities for developers. However, it has been identified as having a serious security vulnerability that allows it to communicate with a domain associated with malicious activities, potentially compromising user data and application integrity.
Vulnerability Detail
The vulnerability, identified as MAL-2025-6904, originates from version 19.9.0 of the @hoyowave/jsapi package. This version and later versions have been found to communicate with a domain linked to malicious activities. The ramifications of this vulnerability include unauthorized data access, potential data breaches, and exploitation of the application by malicious actors, posing significant risks to both developers and end-users.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @hoyowave/jsapi
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 @hoyowave/jsapi package from your project until a secure version is available. You can do this by executing: npm uninstall @hoyowave/jsapi.
Conclusion
The @hoyowave/jsapi package has a critical vulnerability that allows it to connect with a malicious domain, posing significant risks to applications using it. Immediate action is required to update or remove the package to safeguard your application and its users.
See every vulnerability recorded for @hoyowave/jsapi →
FAQ
The vulnerability allows the package to communicate with a domain associated with malicious activities, posing security risks.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
As a temporary measure, consider uninstalling the package to mitigate risks until a secure version is available.
While specific exploits have not been detailed, the communication with a malicious domain indicates a high risk of data breaches and unauthorized access.
Regularly monitor your dependencies for vulnerabilities using tools like Vulert and keep your packages updated to the latest secure versions.