Malicious Code Detected in afisha-logger Package
Summary
MAL-2025-14143: Malicious code in afisha-logger (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 afisha-logger package is an npm library designed for logging functionalities in JavaScript applications. It allows developers to easily implement logging features, helping in debugging and monitoring application behavior. However, this package has been found to contain malicious code, posing a significant risk to applications that utilize it.
Vulnerability Detail
The vulnerability arises from the inclusion of malicious code within the afisha-logger package. This code can potentially compromise the security of applications that depend on this library, leading to unauthorized access, data breaches, or other malicious activities. The issue was introduced in version 0 and affects all subsequent versions, making it critical for users to address this vulnerability promptly.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall afisha-logger
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, consider removing the afisha-logger package from your project until a secure version is released. You can uninstall it using the command: npm uninstall afisha-logger.
Conclusion
The afisha-logger package has been identified to contain malicious code, which poses a significant threat to applications using it. Users are urged to update or remove the package to safeguard their applications. Utilizing tools like Vulert can help monitor for such vulnerabilities effectively.
See every vulnerability recorded for afisha-logger →
FAQ
afisha-logger is an npm package used for logging in JavaScript applications, providing developers with tools to track application behavior.
The specific nature of the malicious code has not been disclosed, but it poses risks such as unauthorized access and data breaches.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.
Users are advised to check the package repository for any updates or patches that address the vulnerability in afisha-logger.
If immediate updates are not possible, consider removing the package from your project as a temporary measure to mitigate risks.