CVE-2022-7360: Malicious code in your-module-name (npm)

your-module-name Updated 02 Oct 2025

Summary

20/06/2022
CRITICAL
No i
Critical
Not published

MAL-2022-7360: Malicious code in your-module-name (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 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

your-module-name is an npm package that provides functionality for [describe the functionality of the package]. It is vulnerable to a malicious code injection attack, which allows an attacker to compromise the host computer where the package is installed. This can lead to the exposure of sensitive information, such as secrets and keys, stored on the compromised computer.

Vulnerability Detail

The vulnerability originates from a specific version of your-module-name (npm) that contains malicious code. This code gives full control of the computer to an outside entity, compromising the security of the system. As a result, all secrets and keys stored on the affected computer should be rotated immediately from a different computer. Removing the package 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 your-module-name

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. It is crucial to follow the steps mentioned in the 'how_to_fix' section to mitigate the risk and ensure the security of the system.

Conclusion

The presence of malicious code in your-module-name (npm) poses a significant security risk to the host computer. It is crucial to remove the package, rotate all secrets and keys stored on the compromised computer, and monitor for any signs of further compromise. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for your-module-name →

Share this vulnerability

FAQ

This vulnerability allows an attacker to fully compromise the host computer, potentially leading to the exposure of sensitive information stored on that computer.

Check if your computer has the affected version of your-module-name (npm) installed. If it does, assume that your computer is compromised and take immediate action to secure it.

Removing the package is an essential step to mitigate the risk. However, it may not guarantee the removal of all malicious software installed as a result of its installation. It is crucial to rotate all secrets and keys stored on the compromised computer from a different, secure computer.

If you have used the compromised package, assume that your computer is compromised and take immediate action to secure it. Rotate all secrets and keys stored on the compromised computer from a different, secure computer.

To prevent such vulnerabilities, regularly update your packages to the latest versions, use package managers with built-in security features, and follow best practices for secure coding and software development.

Related vulnerabilities

Recent vulnerabilities recorded for your-module-name.

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 your-module-name

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