Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 7fc0f89

Browse files
committed
Explicitly disable the rust-analyzer extension in unstrusted workspaces
1 parent f8f1cb9 commit 7fc0f89

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

editors/code/package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@
1919
"categories": [
2020
"Programming Languages"
2121
],
22+
"capabilities": {
23+
"untrustedWorkspaces": {
24+
"supported": false,
25+
"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."
26+
}
27+
},
2228
"engines": {
2329
"vscode": "^1.66.0"
2430
},

0 commit comments

Comments
 (0)