src/vs/platform/extensionManagement/common/extensionManagementUtil.ts/getMaliciousExtensionsSet
export function getMaliciousExtensionsSet(manifest: IExtensionsControlManifest): Set<string> {
	const result = new Set<string>();

	if (manifest.malicious) {
		for (const extension of manifest.malicious) {
			result.add(extension.id);
		}
	}

	return result;
}