Skip to content

Visual Studio Code is Why I Have Workspace Trust Issues

Thomas ChauchefoinPaul Gerste

Uncovers critical RCE vulnerabilities in Visual Studio Code, demonstrating how malicious repository configurations bypass Workspace Trust protections.

Summary

Targeting Developers Through Code Editors

Modern Integrated Development Environments (IDEs) possess deep system integration and automatic extension execution, making developer workstations prime targets for nation-state threat actors.

Deconstructing VS Code's Workspace Trust Boundary

Thomas Chauchefoin and Paul Gerste evaluate Microsoft's Workspace Trust model, analyzing how restricted execution modes attempt to shield developers when opening untrusted repositories.

Chaining CVE-2021-43891 and CVE-2022-30129 to RCE

Dissecting two distinct vulnerabilities reveals how malicious workspace configuration files and vulnerable extension parsers allow remote code execution upon simply cloning a project.

Hardening Development Environments

The researchers present actionable recommendations for IDE developers and engineering teams to audit extension trust boundaries and secure developer toolchains.

Related talks

Main Stage·23 min

  • DEF CON
  • AppSec
  • Date: Aug 2021
  • Location: Las Vegas

David Dworken

David Dworken challenges the developer trust model by discovering critical vulnerabilities in modern IDEs (VS Code, IntelliJ) that execute code simply upon opening a repo.

idevscodesupply-chain+2