VS Code extensions run with the same permissions as the editor, so they can read files, spawn processes and reach the network. Leaked Open VSX publisher tokens and a tampered Amazon Q extension in 2025 showed how fast a trusted extension can turn hostile. Pair extension inventory with allowlists and publisher verification.
Read in this order
- OfficialVS Code: Extension runtime securityStart here: what an extension can do once installed, and what VS Code checks.
- ArticleOpen VSX security update, October 2025 (Eclipse Foundation)How leaked publisher tokens put Open VSX extensions at risk.
- OfficialAWS security bulletin AWS-2025-015: Amazon Q Developer extensionThe Amazon Q extension incident and the fixed version to look for.