Critical Malicious Code Vulnerability in @seung-ju/openapi-generator Package
Summary
MAL-2025-190756: Malicious code in @seung-ju/openapi-generator (npm). Affects @seung-ju/openapi-generator versions 0.0.4. 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 @seung-ju/openapi-generator is an npm package designed to facilitate the generation of API client libraries from OpenAPI specifications. It aims to streamline the development process by providing developers with tools to automate the creation of client code. However, this package has been identified to contain malicious code, posing significant security risks to users and their systems.
Vulnerability Detail
The vulnerability originates from the presence of embedded malicious code within the @seung-ju/openapi-generator package. This code can compromise any computer that has the package installed, allowing unauthorized access to sensitive information such as secrets and keys. The malicious nature of this code means that simply removing the package may not eliminate all traces of the compromise, as full control of the affected system may have been granted to an external entity.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall @seung-ju/openapi-generator
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
There are no specific workarounds available due to the nature of the malicious code. The best course of action is to uninstall the package and secure your system.
Conclusion
The @seung-ju/openapi-generator package contains malicious code that poses a serious security threat to users. Immediate action is required to uninstall the package and secure any sensitive information. Regular monitoring for vulnerabilities using tools like Vulert can help prevent future incidents.
See every vulnerability recorded for @seung-ju/openapi-generator →
FAQ
Immediately uninstall the package using npm uninstall @seung-ju/openapi-generator and rotate any sensitive information stored on the affected system.
You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without requiring any signup.
The risks include unauthorized access to sensitive data, potential data breaches, and complete compromise of the affected system.
While removing the package is essential, it is recommended to perform a thorough security audit of your system and rotate all secrets and keys to mitigate any potential damage.
Currently, there is no patched version available for the @seung-ju/openapi-generator package, so updating will not resolve the issue.