Malicious code in vscode-dev-containers (npm)

vscode-dev-containers Updated 02 Oct 2025

Summary

25/06/2024
CRITICAL
No i
Critical
Not published

MAL-2024-3833: Malicious code in vscode-dev-containers (npm). Affects vscode-dev-containers versions 1.0.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

vscode-dev-containers is an open-source package available on npm. It is designed to provide development container definitions and scripts for Visual Studio Code. This package allows developers to easily set up and configure development environments within containers. However, a vulnerability has been discovered in the package that exposes users to malicious code.

Vulnerability Detail

The vulnerability (MAL-2024-3833) in vscode-dev-containers is due to the presence of malicious code within the package. The code was identified and reported by ReversingLabs. The malicious code can potentially lead to unauthorized access, data breaches, or other malicious activities. The specific details of the code and its impact are not provided in the vulnerability report.

How To Fix

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

npm uninstall vscode-dev-containers

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 in the vulnerability report. However, users can mitigate the risk by avoiding the use of the affected package version (1.0.0) and updating to a secure version as soon as possible.

Conclusion

The vscode-dev-containers package has been found to contain malicious code in version 1.0.0. This vulnerability can potentially lead to unauthorized access and data breaches. It is crucial for users to update to a secure version of the package and obtain the update from a trusted source.

See every vulnerability recorded for vscode-dev-containers →

Share this vulnerability

FAQ

vscode-dev-containers is an npm package that provides development container definitions and scripts for Visual Studio Code.

The report does not provide specific details about the impact of the malicious code. However, it can potentially lead to unauthorized access, data breaches, or other malicious activities.

To fix the vulnerability, update the vscode-dev-containers package to a version that does not contain the malicious code. Avoid using the affected package version (1.0.0) and ensure the update is obtained from a trusted source.

No specific workaround is mentioned in the vulnerability report. However, users can mitigate the risk by updating to a secure version of the package.

The vulnerability was discovered by ReversingLabs, a security research firm.

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 vscode-dev-containers

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