Malicious Code in very-bad-npm-package (npm)

very-bad-npm-package Updated 02 Oct 2025

Summary

16/10/2023
CRITICAL
No i
Critical
Not published

MAL-2023-8386: Malicious code in very-bad-npm-package (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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The very-bad-npm-package is an npm package that is used for [provide a brief description of the package's functionality and key attributes]. It is vulnerable to a malicious code injection that can compromise the security of any computer where the package is installed or running.

Vulnerability Detail

The vulnerability, identified as MAL-2023-8386, involves the presence of malicious code in the very-bad-npm-package. This code can fully compromise a computer, granting control to an external entity. 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 resulting from its installation.

How To Fix

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

npm uninstall very-bad-npm-package

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.

Conclusion

The presence of malicious code in the very-bad-npm-package poses a significant security risk. It is crucial to take immediate action by rotating secrets and keys, removing the package, and conducting a thorough security scan. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for very-bad-npm-package →

Share this vulnerability

FAQ

The impact of this vulnerability is the potential compromise of the affected computer, leading to unauthorized access and potential data breaches.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your computer is affected by this vulnerability. Simply provide the package-lock.json file for analysis.

No, there is no guarantee that removing the package will remove all malicious software resulting from its installation. A thorough security scan and cleanup are recommended.

If your computer is affected, it is crucial to rotate all secrets and keys stored on that computer from a different computer. Additionally, remove the very-bad-npm-package and perform a security scan and cleanup.

To prevent this vulnerability, it is recommended to regularly update and patch all software and packages, as well as maintain a robust security posture.

How To Fix

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

npm uninstall very-bad-npm-package

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