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

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

	return result;
}