Malicious Code Detected in Magic-Poc Package: npm Vulnerability Alert
Summary
MAL-2025-192939: Malicious code in magic-poc (npm). Affects magic-poc versions 0.1.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 'magic-poc' package, version 0.1.0, is a Node.js library available through npm. It is designed for specific functionalities within JavaScript applications. However, this package has been flagged for malicious activity, as it communicates with a domain linked to harmful practices, potentially compromising user data and application integrity.
Vulnerability Detail
The vulnerability in the 'magic-poc' package arises from its ability to connect to a domain associated with malicious activities. This connection can lead to unauthorized data access, data exfiltration, or the execution of harmful scripts within the user's environment. The identification of this malicious behavior was made by the OpenSSF Package Analysis project, which flagged the package due to its suspicious network communications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall magic-poc
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 workaround, consider using alternative packages that offer similar features without the malicious behavior. Always review the package's reputation and community feedback before integrating it into your project.
Conclusion
The 'magic-poc' package has been identified as malicious due to its communication with harmful domains. It is essential for developers to remove this package from their projects and seek safer alternatives to protect their applications and user data.
See every vulnerability recorded for magic-poc →
FAQ
The 'magic-poc' package is a Node.js library available on npm, designed for specific functionalities in JavaScript applications.
'magic-poc' is considered malicious because it communicates with a domain associated with harmful activities, posing risks to user data and application security.
You can use Vulert, which monitors open-source vulnerabilities in your software. By uploading your package-lock.json file, you can receive real-time alerts about vulnerabilities, including those related to 'magic-poc'.
If you have installed 'magic-poc', it is crucial to uninstall it immediately using the command: npm uninstall magic-poc, and consider using alternative packages.
For more details, you can refer to the OpenSSF Package Analysis project or visit the Vulert website for monitoring and alerts on open-source vulnerabilities.