Malicious Code Detected in golf-hcm-project Package
Summary
MAL-2025-21661: Malicious code in golf-hcm-project (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 golf-hcm-project is an npm package designed for managing golf-related data and functionalities. It is utilized in various applications to streamline operations related to golf management. However, this package has been identified to contain malicious code, posing significant security risks to users and their applications.
Vulnerability Detail
The vulnerability in the golf-hcm-project package stems from the inclusion of malicious code that can compromise the integrity and security of applications utilizing this package. This code may lead to unauthorized access, data breaches, or other harmful actions within the affected systems. The malicious nature of this code was discovered through security assessments, highlighting the importance of scrutinizing third-party packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall golf-hcm-project
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 temporary workaround, you can avoid using the golf-hcm-project package until a secure version is released. Consider using alternative packages that provide similar functionalities without the associated risks.
Conclusion
The discovery of malicious code in the golf-hcm-project package underscores the importance of vigilance when using third-party libraries. Users are advised to remove the affected package and monitor for updates or alternatives to ensure the security of their applications.
See every vulnerability recorded for golf-hcm-project →
FAQ
The golf-hcm-project package is an npm package designed for managing golf-related data and functionalities in applications.
The malicious code found in the golf-hcm-project package can lead to unauthorized access and potential data breaches.
You can use Vulert to monitor and alert for open-source vulnerabilities in your application. Visit Vulert Scanner to check if your application is affected by this vulnerability.
If a patched version of the golf-hcm-project package is available, you can update it using the command: npm update golf-hcm-project.
If you cannot update the package immediately, consider using alternative packages that offer similar functionalities without the security risks.