CVE-2023-476: Malicious code in gitlabhook (npm)

gitlabhook Updated 02 Oct 2025

Summary

17/06/2023
CRITICAL
No i
Critical
Not published

MAL-2023-476: Malicious code in gitlabhook (npm). Affects gitlabhook versions 1.999.0 – 9.999.0. No fix is published. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The gitlabhook package is an npm package used for integrating GitLab webhooks into Node.js applications. It allows developers to receive and process events triggered by GitLab repositories. The package is widely used in various projects and provides a convenient way to automate workflows and perform actions based on GitLab events.

Vulnerability Detail

The gitlabhook package has been identified as containing malicious code. Any computer that has this package installed or running should be considered fully compromised. The package communicates with a domain associated with malicious activity and executes commands that exhibit malicious behavior. As a result, all secrets and keys stored on the affected computer should be rotated immediately from a different computer. While removing the package is recommended, it may not guarantee the removal of all malicious software installed as a result of its installation.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall gitlabhook

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 is no specific workaround mentioned for this vulnerability. However, it is essential to follow the steps mentioned in the 'how_to_fix' section to address the issue effectively.

Conclusion

The gitlabhook package has been identified as containing malicious code, compromising the security of any computer with the package installed. It is crucial to rotate all secrets and keys stored on the affected computer and remove the package. However, additional steps may be necessary to ensure the complete removal of any malicious software. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for gitlabhook →

Share this vulnerability

FAQ

The gitlabhook package is an npm package used for integrating GitLab webhooks into Node.js applications. It allows developers to receive and process events triggered by GitLab repositories.

This vulnerability compromises the security of the affected computer. All secrets and keys stored on that computer should be rotated immediately from a different computer to prevent unauthorized access.

If you have the gitlabhook package installed, it is recommended to remove it from your computer immediately. Additionally, rotate all secrets and keys stored on the affected computer from a different, trusted computer.

While removing the gitlabhook package is recommended, there is no guarantee that it will remove all malicious software resulting from its installation. A thorough security audit is necessary to identify and mitigate any potential compromise.

After addressing this vulnerability, it is crucial to conduct a thorough security audit to identify any potential compromise. Additionally, follow security best practices, such as regularly updating software, using strong and unique passwords, and implementing multi-factor authentication.

Related vulnerabilities

Recent vulnerabilities recorded for gitlabhook.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall gitlabhook

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback