Critical Malicious Code Vulnerability in oj-sp-common Package
Summary
MAL-2026-61: Malicious code in oj-sp-common (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 oj-sp-common package is an npm library designed for use in JavaScript applications, providing common functionalities and utilities for developers. However, it has been identified as containing malicious code that compromises the security of any system where it is installed. This vulnerability poses a significant risk to developers and organizations relying on this package for their projects.
Vulnerability Detail
The vulnerability originates from the presence of embedded malicious code within the oj-sp-common package. This code can grant unauthorized access to an attacker, allowing them to control the affected system fully. As a result, any secrets or sensitive information stored on the compromised machine may be exposed. The malicious nature of this code is classified under CWE-506, indicating that it appears to be intentionally harmful.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall oj-sp-common
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
Currently, there are no effective workarounds to mitigate the risks associated with this vulnerability other than removing the package and securing the system.
Conclusion
The oj-sp-common package has been identified as containing malicious code that compromises system security. Immediate action is required to remove the package and secure any sensitive information. Utilizing tools like Vulert can help monitor for such vulnerabilities in the future.
See every vulnerability recorded for oj-sp-common →
FAQ
oj-sp-common is an npm package that provides common functionalities for JavaScript applications.
The malicious code can grant attackers full control over your system, potentially exposing sensitive information.
You should remove the oj-sp-common package immediately and rotate any secrets or keys stored on the affected system.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can check your application using the Vulert playground without any signup.
Vulert is a tool that monitors open-source vulnerabilities using just the package-lock.json file, providing real-time alerts for any issues.