Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add extension runtime security article #7920

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Conversation

ntrogh
Copy link
Contributor

@ntrogh ntrogh commented Jan 7, 2025

Fixes #7874

@ntrogh
Copy link
Contributor Author

ntrogh commented Jan 7, 2025

@seaniyer Here's the first draft of the dedicated article that discusses extension runtime security. I've reused most of the content that was previously in the FAQ section of the Extension Marketplace article. Can you review and provide feedback if there are other Marketplace measures we need to include? Thanks!

@ntrogh ntrogh self-assigned this Jan 7, 2025
@ntrogh ntrogh marked this pull request as ready for review January 8, 2025 07:26
@ntrogh ntrogh requested a review from isidorn January 8, 2025 07:26
@vs-code-engineering vs-code-engineering bot added this to the January 2025 milestone Jan 8, 2025
@ntrogh
Copy link
Contributor Author

ntrogh commented Jan 8, 2025

@isidorn First version of this new doc available for your review.

TO DO:

Copy link
Contributor

@isidorn isidorn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a great first stab at this document.

I will share it with folk on the MP side and @sandy081 could also give it a read

fyi @joaomoreno

docs/editor/extension-runtime-security.md Outdated Show resolved Hide resolved
docs/editor/extension-runtime-security.md Show resolved Hide resolved

1. Select the **Report a concern** link at the bottom of the extension **More Info** section.

## Related resources
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There need s to be a link somewhere to https://code.visualstudio.com/docs/setup/enterprise#_configure-allowed-extensions

The approach would be "Do you want to configure what extensions are allowed in your orgranisation, check out ...."

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added as a tip at the end of the Reliability section and also included a link in related resources at the end of the doc.

The Visual Studio Code Marketplace employs several mechanisms to protect you from malicious extensions:

* **Malware scanning**: The Marketplace runs a malware scan on each extension package that's published to ensure its safety. The scan, which uses several antivirus engines, is run for each new extension and for each extension update. Until the scan is all clear, the extension won't be published in the Marketplace for public usage.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need a section about detonation. Not disclosing everything that is being done, but just that we have a dynamic detection mechanism in a clean room VM.

@seaniyer

Copy link
Contributor Author

@ntrogh ntrogh Jan 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added an item - can you review if this is correct and sufficiently detailed?

docs/editor/extension-runtime-security.md Show resolved Hide resolved
@isidorn
Copy link
Contributor

isidorn commented Jan 9, 2025

The goal of this doc is to:

  1. Give transparency about extensions running un-sandboxes
  2. Show signals how users can decide if an extension is malicious
  3. Provide some transparency about what we are doing to fight malicious extensions, and the investments we are making

@ntrogh ntrogh added the doc-enhancement suggested addition or improvement label Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc-enhancement suggested addition or improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Document extension runtime security
3 participants