Thomas Chauchefoin & Paul Gerste
You click, you lose: a practical look at VSCode's security
#1about 5 minutes
Why developers are a prime target for attackers
Opening a seemingly harmless project in VS Code can lead to arbitrary code execution because developers have privileged access to systems and code.
#2about 6 minutes
Understanding the architecture of VS Code
VS Code is built on Electron and separates its components into privileged Node.js processes and less-privileged renderer processes for the UI.
#3about 2 minutes
Risks of exposed network services in extensions
Some VS Code components and extensions expose web servers or debuggers on the local network, creating attack vectors for websites or local network actors.
#4about 5 minutes
Exploiting protocol handlers for code execution
The custom `vscode://` protocol handler can be abused through argument injection in built-in extensions like Git, allowing a malicious link to execute arbitrary commands.
#5about 6 minutes
Bypassing workspace trust with malicious configurations
While Workspace Trust aims to prevent attacks from project-specific settings, vulnerabilities in extensions that run in untrusted mode, like the Git extension, can still lead to code execution.
#6about 4 minutes
Escalating cross-site scripting to code execution
Cross-site scripting (XSS) vulnerabilities in components like the Markdown preview can be escalated to full remote code execution by sending messages to the privileged workbench UI.
#7about 2 minutes
Key takeaways on IDE and developer tool security
Security for developer tools is often an afterthought, and features like Workspace Trust are essential for establishing clear security boundaries against attacks.
Related jobs
Jobs that call for the skills explored in this talk.
Matching moments
01:20 MIN
When attackers target the developer's own tools
Stranger Danger: Your Java Attack Surface Just Got Bigger
Unlock full access
Log in or set up an account to access this feature and more.
05:03 MIN
Why VS Code extensions are a prime target
Vue3 practical development
Unlock full access
Log in or set up an account to access this feature and more.
05:03 MIN
Why VS Code extensions are a major attack surface
Vulnerable VS Code extensions are now at your front door
Unlock full access
Log in or set up an account to access this feature and more.
03:16 MIN
Securing developer access and development tools
Securing your application software supply-chain
Unlock full access
Log in or set up an account to access this feature and more.
03:17 MIN
Exploring specific web vulnerabilities and filtering issues
WeAreDevelopers LIVE - Chrome for Sale? Comet - the upcoming perplexity browser Stealing and leaking
Unlock full access
Log in or set up an account to access this feature and more.
03:27 MIN
Common security failures beyond individual coding errors
Maturity assessment for technicians or how I learned to love OWASP SAMM
Unlock full access
Log in or set up an account to access this feature and more.
08:41 MIN
Recent news on security, AI governance, and data privacy
WeAreDevelopers LIVE - Dapr / Pixels and Generative Art / Open Source and Communities / and more
Unlock full access
Log in or set up an account to access this feature and more.
04:42 MIN
Remote code execution in the LaTeX Workshop extension
Vulnerable VS Code extensions are now at your front door
Unlock full access
Log in or set up an account to access this feature and more.
Featured Partners
Related Videos
Software Security 101: Secure Coding Basics
Thomas Konrad
Security Pitfalls for Software Engineers
Jasmin Azemović
A Primer in Single Page Application Security (Angular, React, Vue.js)
Thomas Konrad
Vulnerable VS Code extensions are now at your front door
Raul Onitza-Klugman & Kirill Efimov
Cyber Security: Small, and Large!
Martin Schmiedecker
You can’t hack what you can’t see
Reto Kaeser
Hack-Proof The Node.js runtime: The Mechanics and Defense of Path Traversal Attacks
Sonya Moisset
Real-World Security for Busy Developers
Kevin Lewis
Related Articles
View all articles
.png?w=240&auto=compress,format)


From learning to earning
Jobs that call for the skills explored in this talk.

Vesterling Consulting GmbH
€70-90K
Software Architecture

Workwise GmbH

Pflegecampus21 GmbH
Remote
€55-80K
MySQL
DevOps
TypeScript

Ateca Consulting

Green Tech Valley Cluster GmbH

NTT DATA Deutschland GmbH
Remote
Node.js
Continuous Integration

NTT DATA Deutschland GmbH
Remote
Node.js
Continuous Integration

NTT DATA Deutschland GmbH
Remote
Node.js
Continuous Integration

Excellence AG
Kotlin
Kubernetes
Apache Kafka
Microservices
Continuous Delivery
+1