Critical Malicious Code Vulnerability in phx-core5 Package
Summary
MAL-2026-1814: Malicious code in phx-core5 (npm). Affects phx-core5 versions 8.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
phx-core5 is an npm package designed for core functionalities in various web applications. It is widely used due to its modular architecture and ease of integration. However, the package has been found to contain malicious code, posing significant security risks to applications that rely on it.
Vulnerability Detail
The vulnerability originates from a malicious code injection in version 8.0.0 of the phx-core5 package. This code can potentially allow unauthorized access to sensitive data, execute arbitrary commands, or compromise the integrity of the application. The malicious nature of this vulnerability makes it critical for developers to address it immediately to prevent exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall phx-core5
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
If immediate updating is not feasible, consider removing the phx-core5 package from your project until a secure version is available. You can do this by running: npm uninstall phx-core5.
Conclusion
The phx-core5 package has a critical vulnerability due to malicious code injection in version 8.0.0. It is imperative for developers to update to the latest version or remove the package to safeguard their applications. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.
See every vulnerability recorded for phx-core5 →
FAQ
The malicious code can lead to unauthorized access, data breaches, and potential control over the affected application.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
Yes, updating to the latest version of the phx-core5 package will address the vulnerability.
Consider removing the phx-core5 package from your project as a temporary measure until a secure version is available.
The vulnerability was reported by ReversingLabs, a cybersecurity firm specializing in threat intelligence.