diff options
| author | Lukas Wirth <lukastw97@gmail.com> | 2023-02-09 17:34:21 +0100 |
|---|---|---|
| committer | Lukas Wirth <lukastw97@gmail.com> | 2023-02-09 17:34:21 +0100 |
| commit | 7fc0f8985dcd51db19b30b8a77345bcaa5daff79 (patch) | |
| tree | c256a969e8644bb3a0e1c1e862715613173e4e2b | |
| parent | f8f1cb93e0afefb5613494c95834f5cf0b9a4357 (diff) | |
| download | rust-7fc0f8985dcd51db19b30b8a77345bcaa5daff79.tar.gz rust-7fc0f8985dcd51db19b30b8a77345bcaa5daff79.zip | |
Explicitly disable the rust-analyzer extension in unstrusted workspaces
| -rw-r--r-- | editors/code/package.json | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/editors/code/package.json b/editors/code/package.json index 7160781b6f3..99503670017 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -19,6 +19,12 @@ "categories": [ "Programming Languages" ], + "capabilities": { + "untrustedWorkspaces": { + "supported": false, + "description": "rust-analyzer invokes binaries set up by its configuration as well as the Rust toolchain's binaries. A malicious actor could exploit this to run arbitrary code on your machine." + } + }, "engines": { "vscode": "^1.66.0" }, |
