TMAegis
More rules for vscode

TMA-VSCODE-1.2.1

Ensure 'AllowedExtensions' is configured

MediumLevel 2Manual reviewvscode

Description

This policy setting configures a list of extension selectors that determine which extensions are allowed or blocked. The recommended state for this setting is: Enabled with a list of allowed extensions. Rationale: Allowing users to install any extension may result in unintended information disclosure to third parties, or the installation of malware. The benchmark marks this recommendation Manual (organisation-specific value or not reliably checkable), so it is reported as SKIP with review steps.

How it is checked

Audit method: Manual review

This recommendation cannot be checked automatically. A scan lists it with these instructions when you pass --include-manual.

Confirm via Group Policy (gpresult /h or the GPMC) that Computer Configuration\Policies\Administrative Templates\Visual Studio Code\Extensions\AllowedExtensions is configured as the title requires. This group policy setting is backed by the following registry location with a REG_SZ value containing a JSON string. Registry: HKLM\SOFTWARE\Policies\Microsoft\VSCode:AllowedExtensions

How it is fixed

Fix method: Guidance or infrastructure patch

Configure through Group Policy: Computer Configuration\Policies\Administrative Templates\Visual Studio Code\Extensions\AllowedExtensions = Enabled along with a JSON string defining the approved extensions

Properties

Operating systems
Any
Tags
vscodedeveloper-toolscis-l2manual
Reference
CIS Visual Studio Code GPO Benchmark v1.0.0 - 1.2.1 Ensure 'AllowedExtensions' is configured