CVE-2022-3382: Malicious code in gitrepandwebshell (npm)

gitrepandwebshell Updated 02 Oct 2025

Summary

20/06/2022
CRITICAL
No i
Critical
Not published

MAL-2022-3382: Malicious code in gitrepandwebshell (npm). Affected versions are not published. 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 Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The gitrepandwebshell package is an npm package used for managing Git repositories and executing shell commands. It provides functionality for interacting with Git repositories and executing shell commands on the host system. This package is vulnerable to a malicious code injection attack, which can compromise the security of the system it is installed on.

Vulnerability Detail

The vulnerability in gitrepandwebshell (npm) is due to the presence of malicious code in the package. This code can be used by an attacker to gain full control of the compromised system. Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. Removing the package may not remove all the malicious software installed as a result of this vulnerability.

How To Fix

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

npm uninstall gitrepandwebshell

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 known workaround for this vulnerability. The best course of action is to remove the gitrepandwebshell package and follow the steps mentioned in the 'how_to_fix' section.

Conclusion

The gitrepandwebshell package is vulnerable to a malicious code injection attack, which can compromise the security of the system it is installed on. To mitigate this vulnerability, it is crucial to remove the package and rotate all secrets and keys stored on the compromised system. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for gitrepandwebshell →

Share this vulnerability

FAQ

This vulnerability allows an attacker to gain full control of the compromised system, potentially leading to unauthorized access, data theft, and other malicious activities.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and the tool will alert you if any open-source vulnerabilities, including this one, are found.

No, the only way to fully mitigate the risk is to remove the gitrepandwebshell package from the affected system. Removing the package is necessary as it may have given full control of the system to an outside entity.

There are currently no known exploits for this vulnerability. However, it is important to take immediate action to remove the package and secure the compromised system.

If you find the gitrepandwebshell package in your project's dependencies, it is recommended to remove it immediately. Follow the steps mentioned in the 'how_to_fix' section to ensure the security of your system.

How To Fix

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

npm uninstall gitrepandwebshell

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