Malicious Code Detected in gomoku-ts Package - Security Alert
Summary
MAL-2025-21695: Malicious code in gomoku-ts (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 gomoku-ts package is a JavaScript library designed for creating and playing the game Gomoku. It is commonly used in web applications to provide interactive gaming experiences. However, recent findings have revealed that this package contains malicious code, posing significant security risks to applications that utilize it.
Vulnerability Detail
The vulnerability in the gomoku-ts package stems from the inclusion of malicious code that can compromise the security of applications using this library. This code may allow unauthorized access to sensitive data, execute arbitrary commands, or facilitate other malicious activities. The issue was identified in version 0 and has been classified as a serious threat to users and developers relying on this package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall gomoku-ts
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 an immediate update is not feasible, consider removing the gomoku-ts package from your project until a secure version is released. You can do this by executing: 'npm uninstall gomoku-ts'. This will prevent any potential exploitation of the malicious code.
Conclusion
The discovery of malicious code in the gomoku-ts package poses a serious threat to applications that utilize it. Developers are urged to update or remove the package to safeguard their projects. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.
See every vulnerability recorded for gomoku-ts →
FAQ
gomoku-ts is a JavaScript library used for creating and playing the game Gomoku in web applications.
The malicious code can potentially allow unauthorized access to sensitive data and execute arbitrary commands.
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.
It is recommended to check for the latest version of the gomoku-ts package and update it to mitigate the vulnerability.
Consider removing the gomoku-ts package from your project until a secure version is available to prevent exploitation.