Fork me on GitHub

SpotBugs Bug Detector Report

The following document contains the results of SpotBugs

SpotBugs Version is 4.9.8

Threshold is medium

Effort is default

Summary

Classes Bugs Errors Missing Classes
955 217 0 0

Files

Class Bugs
com.github.copilot.generated.rpc.AccountGetQuotaResult 2
com.github.copilot.generated.rpc.AgentInfo 6
com.github.copilot.generated.rpc.DiscoveredCanvas 2
com.github.copilot.generated.rpc.InstructionsSources 2
com.github.copilot.generated.rpc.McpAppsDiagnoseServer 2
com.github.copilot.generated.rpc.McpAppsHostContextDetails 2
com.github.copilot.generated.rpc.McpAppsResourceContent 2
com.github.copilot.generated.rpc.McpAppsSetHostContextDetails 2
com.github.copilot.generated.rpc.McpConfigDisableParams 2
com.github.copilot.generated.rpc.McpConfigEnableParams 2
com.github.copilot.generated.rpc.McpConfigListResult 2
com.github.copilot.generated.rpc.McpDiscoverResult 2
com.github.copilot.generated.rpc.Model 2
com.github.copilot.generated.rpc.ModelCapabilitiesLimitsVision 2
com.github.copilot.generated.rpc.ModelCapabilitiesOverrideLimitsVision 2
com.github.copilot.generated.rpc.ModelsListResult 2
com.github.copilot.generated.rpc.PermissionPathsConfig 2
com.github.copilot.generated.rpc.PermissionRulesSet 4
com.github.copilot.generated.rpc.PermissionUrlsConfig 2
com.github.copilot.generated.rpc.PermissionsConfigureAdditionalContentExclusionPolicy 2
com.github.copilot.generated.rpc.PermissionsConfigureAdditionalContentExclusionPolicyRule 6
com.github.copilot.generated.rpc.SecretsAddFilterValuesParams 2
com.github.copilot.generated.rpc.SessionAgentListResult 2
com.github.copilot.generated.rpc.SessionAgentReloadResult 2
com.github.copilot.generated.rpc.SessionCanvasListOpenResult 2
com.github.copilot.generated.rpc.SessionCanvasListResult 2
com.github.copilot.generated.rpc.SessionCommandsListResult 2
com.github.copilot.generated.rpc.SessionEventLogReadResult 2
com.github.copilot.generated.rpc.SessionExtensionsListResult 2
com.github.copilot.generated.rpc.SessionFsReaddirResult 2
com.github.copilot.generated.rpc.SessionFsReaddirWithTypesResult 2
com.github.copilot.generated.rpc.SessionFsSqliteQueryParams 2
com.github.copilot.generated.rpc.SessionFsSqliteQueryResult 4
com.github.copilot.generated.rpc.SessionInstructionsGetSourcesResult 2
com.github.copilot.generated.rpc.SessionMcpAppsCallToolParams 2
com.github.copilot.generated.rpc.SessionMcpAppsListToolsResult 2
com.github.copilot.generated.rpc.SessionMcpAppsReadResourceResult 2
com.github.copilot.generated.rpc.SessionMcpListResult 2
com.github.copilot.generated.rpc.SessionOptionsUpdateParams 18
com.github.copilot.generated.rpc.SessionPermissionsConfigureParams 2
com.github.copilot.generated.rpc.SessionPermissionsLocationsApplyResult 2
com.github.copilot.generated.rpc.SessionPermissionsModifyRulesParams 4
com.github.copilot.generated.rpc.SessionPermissionsPathsListResult 2
com.github.copilot.generated.rpc.SessionPermissionsPendingRequestsResult 2
com.github.copilot.generated.rpc.SessionPluginsListResult 2
com.github.copilot.generated.rpc.SessionQueuePendingItemsResult 4
com.github.copilot.generated.rpc.SessionScheduleListResult 2
com.github.copilot.generated.rpc.SessionSendParams 4
com.github.copilot.generated.rpc.SessionSkillsGetInvokedResult 2
com.github.copilot.generated.rpc.SessionSkillsListResult 2
com.github.copilot.generated.rpc.SessionSkillsReloadResult 4
com.github.copilot.generated.rpc.SessionTasksListResult 2
com.github.copilot.generated.rpc.SessionTelemetrySetFeatureOverridesParams 2
com.github.copilot.generated.rpc.SessionUiElicitationResult 2
com.github.copilot.generated.rpc.SessionUsageGetMetricsResult 4
com.github.copilot.generated.rpc.SessionWorkspaceListFilesResult 2
com.github.copilot.generated.rpc.SessionWorkspacesDiffResult 2
com.github.copilot.generated.rpc.SessionWorkspacesListCheckpointsResult 2
com.github.copilot.generated.rpc.SessionWorkspacesListFilesResult 2
com.github.copilot.generated.rpc.SessionsBulkDeleteParams 2
com.github.copilot.generated.rpc.SessionsBulkDeleteResult 2
com.github.copilot.generated.rpc.SessionsCheckInUseParams 2
com.github.copilot.generated.rpc.SessionsCheckInUseResult 2
com.github.copilot.generated.rpc.SessionsEnrichMetadataParams 2
com.github.copilot.generated.rpc.SessionsEnrichMetadataResult 2
com.github.copilot.generated.rpc.SessionsGetSizesResult 2
com.github.copilot.generated.rpc.SessionsListResult 2
com.github.copilot.generated.rpc.SessionsLoadDeferredRepoHooksResult 2
com.github.copilot.generated.rpc.SessionsPruneOldParams 2
com.github.copilot.generated.rpc.SessionsPruneOldResult 6
com.github.copilot.generated.rpc.SessionsSetAdditionalPluginsParams 2
com.github.copilot.generated.rpc.SkillsConfigSetDisabledSkillsParams 2
com.github.copilot.generated.rpc.SkillsDiscoverParams 4
com.github.copilot.generated.rpc.SkillsDiscoverResult 2
com.github.copilot.generated.rpc.SkillsInvokedSkill 2
com.github.copilot.generated.rpc.SlashCommandInfo 2
com.github.copilot.generated.rpc.Tool 2
com.github.copilot.generated.rpc.ToolsListResult 2
com.github.copilot.generated.rpc.UIElicitationResponse 2
com.github.copilot.generated.rpc.UIElicitationSchema 4
com.github.copilot.generated.rpc.UsageMetricsCodeChanges 2
com.github.copilot.generated.rpc.UsageMetricsModelMetric 2
com.github.copilot.rpc.BlobAttachment 1
com.github.copilot.rpc.CopilotClientOptions 1
com.github.copilot.rpc.McpHttpServerConfig 1
com.github.copilot.rpc.McpStdioServerConfig 1
com.github.copilot.rpc.MessageOptions 1
com.github.copilot.rpc.ResumeSessionConfig 1
com.github.copilot.rpc.SessionConfig 1

com.github.copilot.generated.rpc.AccountGetQuotaResult

Bug Category Details Line Priority
com.github.copilot.generated.rpc.AccountGetQuotaResult.quotaSnapshots() may expose internal representation by returning AccountGetQuotaResult.quotaSnapshots MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.AccountGetQuotaResult(Map) may expose internal representation by storing an externally mutable object into AccountGetQuotaResult.quotaSnapshots MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.AgentInfo

Bug Category Details Line Priority
com.github.copilot.generated.rpc.AgentInfo.mcpServers() may expose internal representation by returning AgentInfo.mcpServers MALICIOUS_CODE EI_EXPOSE_REP 22 Medium
com.github.copilot.generated.rpc.AgentInfo.skills() may expose internal representation by returning AgentInfo.skills MALICIOUS_CODE EI_EXPOSE_REP 22 Medium
com.github.copilot.generated.rpc.AgentInfo.tools() may expose internal representation by returning AgentInfo.tools MALICIOUS_CODE EI_EXPOSE_REP 22 Medium
new com.github.copilot.generated.rpc.AgentInfo(String, String, String, String, String, AgentInfoSource, Boolean, List, String, Map, List) may expose internal representation by storing an externally mutable object into AgentInfo.mcpServers MALICIOUS_CODE EI_EXPOSE_REP2 25 Medium
new com.github.copilot.generated.rpc.AgentInfo(String, String, String, String, String, AgentInfoSource, Boolean, List, String, Map, List) may expose internal representation by storing an externally mutable object into AgentInfo.skills MALICIOUS_CODE EI_EXPOSE_REP2 25 Medium
new com.github.copilot.generated.rpc.AgentInfo(String, String, String, String, String, AgentInfoSource, Boolean, List, String, Map, List) may expose internal representation by storing an externally mutable object into AgentInfo.tools MALICIOUS_CODE EI_EXPOSE_REP2 25 Medium

com.github.copilot.generated.rpc.DiscoveredCanvas

Bug Category Details Line Priority
com.github.copilot.generated.rpc.DiscoveredCanvas.actions() may expose internal representation by returning DiscoveredCanvas.actions MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.DiscoveredCanvas(String, String, Object, List, String, String, String) may expose internal representation by storing an externally mutable object into DiscoveredCanvas.actions MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.InstructionsSources

Bug Category Details Line Priority
com.github.copilot.generated.rpc.InstructionsSources.applyTo() may expose internal representation by returning InstructionsSources.applyTo MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.InstructionsSources(String, String, String, String, InstructionsSourcesType, InstructionsSourcesLocation, List, String, Boolean) may expose internal representation by storing an externally mutable object into InstructionsSources.applyTo MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.McpAppsDiagnoseServer

Bug Category Details Line Priority
com.github.copilot.generated.rpc.McpAppsDiagnoseServer.sampleToolNames() may expose internal representation by returning McpAppsDiagnoseServer.sampleToolNames MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.McpAppsDiagnoseServer(Boolean, Double, Double, List) may expose internal representation by storing an externally mutable object into McpAppsDiagnoseServer.sampleToolNames MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.McpAppsHostContextDetails

Bug Category Details Line Priority
com.github.copilot.generated.rpc.McpAppsHostContextDetails.availableDisplayModes() may expose internal representation by returning McpAppsHostContextDetails.availableDisplayModes MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.McpAppsHostContextDetails(McpAppsHostContextDetailsTheme, String, String, McpAppsHostContextDetailsDisplayMode, List, McpAppsHostContextDetailsPlatform, String) may expose internal representation by storing an externally mutable object into McpAppsHostContextDetails.availableDisplayModes MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.McpAppsResourceContent

Bug Category Details Line Priority
com.github.copilot.generated.rpc.McpAppsResourceContent.meta() may expose internal representation by returning McpAppsResourceContent.meta MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.McpAppsResourceContent(String, String, String, String, Map) may expose internal representation by storing an externally mutable object into McpAppsResourceContent.meta MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.McpAppsSetHostContextDetails

Bug Category Details Line Priority
com.github.copilot.generated.rpc.McpAppsSetHostContextDetails.availableDisplayModes() may expose internal representation by returning McpAppsSetHostContextDetails.availableDisplayModes MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.McpAppsSetHostContextDetails(McpAppsSetHostContextDetailsTheme, String, String, McpAppsSetHostContextDetailsDisplayMode, List, McpAppsSetHostContextDetailsPlatform, String) may expose internal representation by storing an externally mutable object into McpAppsSetHostContextDetails.availableDisplayModes MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.McpConfigDisableParams

Bug Category Details Line Priority
com.github.copilot.generated.rpc.McpConfigDisableParams.names() may expose internal representation by returning McpConfigDisableParams.names MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.McpConfigDisableParams(List) may expose internal representation by storing an externally mutable object into McpConfigDisableParams.names MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.McpConfigEnableParams

Bug Category Details Line Priority
com.github.copilot.generated.rpc.McpConfigEnableParams.names() may expose internal representation by returning McpConfigEnableParams.names MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.McpConfigEnableParams(List) may expose internal representation by storing an externally mutable object into McpConfigEnableParams.names MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.McpConfigListResult

Bug Category Details Line Priority
com.github.copilot.generated.rpc.McpConfigListResult.servers() may expose internal representation by returning McpConfigListResult.servers MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.McpConfigListResult(Map) may expose internal representation by storing an externally mutable object into McpConfigListResult.servers MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.McpDiscoverResult

Bug Category Details Line Priority
com.github.copilot.generated.rpc.McpDiscoverResult.servers() may expose internal representation by returning McpDiscoverResult.servers MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.McpDiscoverResult(List) may expose internal representation by storing an externally mutable object into McpDiscoverResult.servers MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.Model

Bug Category Details Line Priority
com.github.copilot.generated.rpc.Model.supportedReasoningEfforts() may expose internal representation by returning Model.supportedReasoningEfforts MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.Model(String, String, ModelCapabilities, ModelPolicy, ModelBilling, List, String, ModelPickerCategory, ModelPickerPriceCategory) may expose internal representation by storing an externally mutable object into Model.supportedReasoningEfforts MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.ModelCapabilitiesLimitsVision

Bug Category Details Line Priority
com.github.copilot.generated.rpc.ModelCapabilitiesLimitsVision.supportedMediaTypes() may expose internal representation by returning ModelCapabilitiesLimitsVision.supportedMediaTypes MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.ModelCapabilitiesLimitsVision(List, Long, Long) may expose internal representation by storing an externally mutable object into ModelCapabilitiesLimitsVision.supportedMediaTypes MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.ModelCapabilitiesOverrideLimitsVision

Bug Category Details Line Priority
com.github.copilot.generated.rpc.ModelCapabilitiesOverrideLimitsVision.supportedMediaTypes() may expose internal representation by returning ModelCapabilitiesOverrideLimitsVision.supportedMediaTypes MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.ModelCapabilitiesOverrideLimitsVision(List, Long, Long) may expose internal representation by storing an externally mutable object into ModelCapabilitiesOverrideLimitsVision.supportedMediaTypes MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.ModelsListResult

Bug Category Details Line Priority
com.github.copilot.generated.rpc.ModelsListResult.models() may expose internal representation by returning ModelsListResult.models MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.ModelsListResult(List) may expose internal representation by storing an externally mutable object into ModelsListResult.models MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.PermissionPathsConfig

Bug Category Details Line Priority
com.github.copilot.generated.rpc.PermissionPathsConfig.additionalDirectories() may expose internal representation by returning PermissionPathsConfig.additionalDirectories MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.PermissionPathsConfig(Boolean, List, Boolean, String) may expose internal representation by storing an externally mutable object into PermissionPathsConfig.additionalDirectories MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.PermissionRulesSet

Bug Category Details Line Priority
com.github.copilot.generated.rpc.PermissionRulesSet.approved() may expose internal representation by returning PermissionRulesSet.approved MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
com.github.copilot.generated.rpc.PermissionRulesSet.denied() may expose internal representation by returning PermissionRulesSet.denied MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.PermissionRulesSet(List, List) may expose internal representation by storing an externally mutable object into PermissionRulesSet.approved MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium
new com.github.copilot.generated.rpc.PermissionRulesSet(List, List) may expose internal representation by storing an externally mutable object into PermissionRulesSet.denied MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.PermissionUrlsConfig

Bug Category Details Line Priority
com.github.copilot.generated.rpc.PermissionUrlsConfig.initialAllowed() may expose internal representation by returning PermissionUrlsConfig.initialAllowed MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.PermissionUrlsConfig(Boolean, List) may expose internal representation by storing an externally mutable object into PermissionUrlsConfig.initialAllowed MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.PermissionsConfigureAdditionalContentExclusionPolicy

Bug Category Details Line Priority
com.github.copilot.generated.rpc.PermissionsConfigureAdditionalContentExclusionPolicy.rules() may expose internal representation by returning PermissionsConfigureAdditionalContentExclusionPolicy.rules MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.PermissionsConfigureAdditionalContentExclusionPolicy(List, Object, PermissionsConfigureAdditionalContentExclusionPolicyScope) may expose internal representation by storing an externally mutable object into PermissionsConfigureAdditionalContentExclusionPolicy.rules MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.PermissionsConfigureAdditionalContentExclusionPolicyRule

Bug Category Details Line Priority
com.github.copilot.generated.rpc.PermissionsConfigureAdditionalContentExclusionPolicyRule.ifAnyMatch() may expose internal representation by returning PermissionsConfigureAdditionalContentExclusionPolicyRule.ifAnyMatch MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
com.github.copilot.generated.rpc.PermissionsConfigureAdditionalContentExclusionPolicyRule.ifNoneMatch() may expose internal representation by returning PermissionsConfigureAdditionalContentExclusionPolicyRule.ifNoneMatch MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
com.github.copilot.generated.rpc.PermissionsConfigureAdditionalContentExclusionPolicyRule.paths() may expose internal representation by returning PermissionsConfigureAdditionalContentExclusionPolicyRule.paths MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.PermissionsConfigureAdditionalContentExclusionPolicyRule(List, List, List, PermissionsConfigureAdditionalContentExclusionPolicyRuleSource) may expose internal representation by storing an externally mutable object into PermissionsConfigureAdditionalContentExclusionPolicyRule.ifAnyMatch MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium
new com.github.copilot.generated.rpc.PermissionsConfigureAdditionalContentExclusionPolicyRule(List, List, List, PermissionsConfigureAdditionalContentExclusionPolicyRuleSource) may expose internal representation by storing an externally mutable object into PermissionsConfigureAdditionalContentExclusionPolicyRule.ifNoneMatch MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium
new com.github.copilot.generated.rpc.PermissionsConfigureAdditionalContentExclusionPolicyRule(List, List, List, PermissionsConfigureAdditionalContentExclusionPolicyRuleSource) may expose internal representation by storing an externally mutable object into PermissionsConfigureAdditionalContentExclusionPolicyRule.paths MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.SecretsAddFilterValuesParams

Bug Category Details Line Priority
com.github.copilot.generated.rpc.SecretsAddFilterValuesParams.values() may expose internal representation by returning SecretsAddFilterValuesParams.values MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.SecretsAddFilterValuesParams(List) may expose internal representation by storing an externally mutable object into SecretsAddFilterValuesParams.values MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.SessionAgentListResult

Bug Category Details Line Priority
com.github.copilot.generated.rpc.SessionAgentListResult.agents() may expose internal representation by returning SessionAgentListResult.agents MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.SessionAgentListResult(List) may expose internal representation by storing an externally mutable object into SessionAgentListResult.agents MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.SessionAgentReloadResult

Bug Category Details Line Priority
com.github.copilot.generated.rpc.SessionAgentReloadResult.agents() may expose internal representation by returning SessionAgentReloadResult.agents MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.SessionAgentReloadResult(List) may expose internal representation by storing an externally mutable object into SessionAgentReloadResult.agents MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.SessionCanvasListOpenResult

Bug Category Details Line Priority
com.github.copilot.generated.rpc.SessionCanvasListOpenResult.openCanvases() may expose internal representation by returning SessionCanvasListOpenResult.openCanvases MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.SessionCanvasListOpenResult(List) may expose internal representation by storing an externally mutable object into SessionCanvasListOpenResult.openCanvases MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.SessionCanvasListResult

Bug Category Details Line Priority
com.github.copilot.generated.rpc.SessionCanvasListResult.canvases() may expose internal representation by returning SessionCanvasListResult.canvases MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.SessionCanvasListResult(List) may expose internal representation by storing an externally mutable object into SessionCanvasListResult.canvases MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.SessionCommandsListResult

Bug Category Details Line Priority
com.github.copilot.generated.rpc.SessionCommandsListResult.commands() may expose internal representation by returning SessionCommandsListResult.commands MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.SessionCommandsListResult(List) may expose internal representation by storing an externally mutable object into SessionCommandsListResult.commands MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.SessionEventLogReadResult

Bug Category Details Line Priority
com.github.copilot.generated.rpc.SessionEventLogReadResult.events() may expose internal representation by returning SessionEventLogReadResult.events MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.SessionEventLogReadResult(List, String, Boolean, EventsCursorStatus) may expose internal representation by storing an externally mutable object into SessionEventLogReadResult.events MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.SessionExtensionsListResult

Bug Category Details Line Priority
com.github.copilot.generated.rpc.SessionExtensionsListResult.extensions() may expose internal representation by returning SessionExtensionsListResult.extensions MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.SessionExtensionsListResult(List) may expose internal representation by storing an externally mutable object into SessionExtensionsListResult.extensions MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.SessionFsReaddirResult

Bug Category Details Line Priority
com.github.copilot.generated.rpc.SessionFsReaddirResult.entries() may expose internal representation by returning SessionFsReaddirResult.entries MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.SessionFsReaddirResult(List, SessionFsError) may expose internal representation by storing an externally mutable object into SessionFsReaddirResult.entries MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.SessionFsReaddirWithTypesResult

Bug Category Details Line Priority
com.github.copilot.generated.rpc.SessionFsReaddirWithTypesResult.entries() may expose internal representation by returning SessionFsReaddirWithTypesResult.entries MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.SessionFsReaddirWithTypesResult(List, SessionFsError) may expose internal representation by storing an externally mutable object into SessionFsReaddirWithTypesResult.entries MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.SessionFsSqliteQueryParams

Bug Category Details Line Priority
com.github.copilot.generated.rpc.SessionFsSqliteQueryParams.params() may expose internal representation by returning SessionFsSqliteQueryParams.params MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.SessionFsSqliteQueryParams(String, String, SessionFsSqliteQueryType, Map) may expose internal representation by storing an externally mutable object into SessionFsSqliteQueryParams.params MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.SessionFsSqliteQueryResult

Bug Category Details Line Priority
com.github.copilot.generated.rpc.SessionFsSqliteQueryResult.columns() may expose internal representation by returning SessionFsSqliteQueryResult.columns MALICIOUS_CODE EI_EXPOSE_REP 22 Medium
com.github.copilot.generated.rpc.SessionFsSqliteQueryResult.rows() may expose internal representation by returning SessionFsSqliteQueryResult.rows MALICIOUS_CODE EI_EXPOSE_REP 22 Medium
new com.github.copilot.generated.rpc.SessionFsSqliteQueryResult(List, List, Long, Long, SessionFsError) may expose internal representation by storing an externally mutable object into SessionFsSqliteQueryResult.columns MALICIOUS_CODE EI_EXPOSE_REP2 25 Medium
new com.github.copilot.generated.rpc.SessionFsSqliteQueryResult(List, List, Long, Long, SessionFsError) may expose internal representation by storing an externally mutable object into SessionFsSqliteQueryResult.rows MALICIOUS_CODE EI_EXPOSE_REP2 25 Medium

com.github.copilot.generated.rpc.SessionInstructionsGetSourcesResult

Bug Category Details Line Priority
com.github.copilot.generated.rpc.SessionInstructionsGetSourcesResult.sources() may expose internal representation by returning SessionInstructionsGetSourcesResult.sources MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.SessionInstructionsGetSourcesResult(List) may expose internal representation by storing an externally mutable object into SessionInstructionsGetSourcesResult.sources MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.SessionMcpAppsCallToolParams

Bug Category Details Line Priority
com.github.copilot.generated.rpc.SessionMcpAppsCallToolParams.arguments() may expose internal representation by returning SessionMcpAppsCallToolParams.arguments MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.SessionMcpAppsCallToolParams(String, String, String, Map, String) may expose internal representation by storing an externally mutable object into SessionMcpAppsCallToolParams.arguments MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.SessionMcpAppsListToolsResult

Bug Category Details Line Priority
com.github.copilot.generated.rpc.SessionMcpAppsListToolsResult.tools() may expose internal representation by returning SessionMcpAppsListToolsResult.tools MALICIOUS_CODE EI_EXPOSE_REP 22 Medium
new com.github.copilot.generated.rpc.SessionMcpAppsListToolsResult(List) may expose internal representation by storing an externally mutable object into SessionMcpAppsListToolsResult.tools MALICIOUS_CODE EI_EXPOSE_REP2 25 Medium

com.github.copilot.generated.rpc.SessionMcpAppsReadResourceResult

Bug Category Details Line Priority
com.github.copilot.generated.rpc.SessionMcpAppsReadResourceResult.contents() may expose internal representation by returning SessionMcpAppsReadResourceResult.contents MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.SessionMcpAppsReadResourceResult(List) may expose internal representation by storing an externally mutable object into SessionMcpAppsReadResourceResult.contents MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.SessionMcpListResult

Bug Category Details Line Priority
com.github.copilot.generated.rpc.SessionMcpListResult.servers() may expose internal representation by returning SessionMcpListResult.servers MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.SessionMcpListResult(List) may expose internal representation by storing an externally mutable object into SessionMcpListResult.servers MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.SessionOptionsUpdateParams

Bug Category Details Line Priority
com.github.copilot.generated.rpc.SessionOptionsUpdateParams.additionalContentExclusionPolicies() may expose internal representation by returning SessionOptionsUpdateParams.additionalContentExclusionPolicies MALICIOUS_CODE EI_EXPOSE_REP 22 Medium
com.github.copilot.generated.rpc.SessionOptionsUpdateParams.availableTools() may expose internal representation by returning SessionOptionsUpdateParams.availableTools MALICIOUS_CODE EI_EXPOSE_REP 22 Medium
com.github.copilot.generated.rpc.SessionOptionsUpdateParams.disabledInstructionSources() may expose internal representation by returning SessionOptionsUpdateParams.disabledInstructionSources MALICIOUS_CODE EI_EXPOSE_REP 22 Medium
com.github.copilot.generated.rpc.SessionOptionsUpdateParams.disabledSkills() may expose internal representation by returning SessionOptionsUpdateParams.disabledSkills MALICIOUS_CODE EI_EXPOSE_REP 22 Medium
com.github.copilot.generated.rpc.SessionOptionsUpdateParams.excludedTools() may expose internal representation by returning SessionOptionsUpdateParams.excludedTools MALICIOUS_CODE EI_EXPOSE_REP 22 Medium
com.github.copilot.generated.rpc.SessionOptionsUpdateParams.featureFlags() may expose internal representation by returning SessionOptionsUpdateParams.featureFlags MALICIOUS_CODE EI_EXPOSE_REP 22 Medium
com.github.copilot.generated.rpc.SessionOptionsUpdateParams.installedPlugins() may expose internal representation by returning SessionOptionsUpdateParams.installedPlugins MALICIOUS_CODE EI_EXPOSE_REP 22 Medium
com.github.copilot.generated.rpc.SessionOptionsUpdateParams.shellProcessFlags() may expose internal representation by returning SessionOptionsUpdateParams.shellProcessFlags MALICIOUS_CODE EI_EXPOSE_REP 22 Medium
com.github.copilot.generated.rpc.SessionOptionsUpdateParams.skillDirectories() may expose internal representation by returning SessionOptionsUpdateParams.skillDirectories MALICIOUS_CODE EI_EXPOSE_REP 22 Medium
new com.github.copilot.generated.rpc.SessionOptionsUpdateParams(String, String, String, String, String, String, Map, Boolean, Object, String, List, List, OptionsUpdateToolFilterPrecedence, Boolean, String, List, Object, Boolean, OptionsUpdateEnvValueMode, List, List, Boolean, List, Boolean, Boolean, List, Boolean, String, Boolean, String, Boolean, Boolean, Boolean, Boolean, String, String, List, Boolean) may expose internal representation by storing an externally mutable object into SessionOptionsUpdateParams.additionalContentExclusionPolicies MALICIOUS_CODE EI_EXPOSE_REP2 25 Medium
new com.github.copilot.generated.rpc.SessionOptionsUpdateParams(String, String, String, String, String, String, Map, Boolean, Object, String, List, List, OptionsUpdateToolFilterPrecedence, Boolean, String, List, Object, Boolean, OptionsUpdateEnvValueMode, List, List, Boolean, List, Boolean, Boolean, List, Boolean, String, Boolean, String, Boolean, Boolean, Boolean, Boolean, String, String, List, Boolean) may expose internal representation by storing an externally mutable object into SessionOptionsUpdateParams.availableTools MALICIOUS_CODE EI_EXPOSE_REP2 25 Medium
new com.github.copilot.generated.rpc.SessionOptionsUpdateParams(String, String, String, String, String, String, Map, Boolean, Object, String, List, List, OptionsUpdateToolFilterPrecedence, Boolean, String, List, Object, Boolean, OptionsUpdateEnvValueMode, List, List, Boolean, List, Boolean, Boolean, List, Boolean, String, Boolean, String, Boolean, Boolean, Boolean, Boolean, String, String, List, Boolean) may expose internal representation by storing an externally mutable object into SessionOptionsUpdateParams.disabledInstructionSources MALICIOUS_CODE EI_EXPOSE_REP2 25 Medium
new com.github.copilot.generated.rpc.SessionOptionsUpdateParams(String, String, String, String, String, String, Map, Boolean, Object, String, List, List, OptionsUpdateToolFilterPrecedence, Boolean, String, List, Object, Boolean, OptionsUpdateEnvValueMode, List, List, Boolean, List, Boolean, Boolean, List, Boolean, String, Boolean, String, Boolean, Boolean, Boolean, Boolean, String, String, List, Boolean) may expose internal representation by storing an externally mutable object into SessionOptionsUpdateParams.disabledSkills MALICIOUS_CODE EI_EXPOSE_REP2 25 Medium
new com.github.copilot.generated.rpc.SessionOptionsUpdateParams(String, String, String, String, String, String, Map, Boolean, Object, String, List, List, OptionsUpdateToolFilterPrecedence, Boolean, String, List, Object, Boolean, OptionsUpdateEnvValueMode, List, List, Boolean, List, Boolean, Boolean, List, Boolean, String, Boolean, String, Boolean, Boolean, Boolean, Boolean, String, String, List, Boolean) may expose internal representation by storing an externally mutable object into SessionOptionsUpdateParams.excludedTools MALICIOUS_CODE EI_EXPOSE_REP2 25 Medium
new com.github.copilot.generated.rpc.SessionOptionsUpdateParams(String, String, String, String, String, String, Map, Boolean, Object, String, List, List, OptionsUpdateToolFilterPrecedence, Boolean, String, List, Object, Boolean, OptionsUpdateEnvValueMode, List, List, Boolean, List, Boolean, Boolean, List, Boolean, String, Boolean, String, Boolean, Boolean, Boolean, Boolean, String, String, List, Boolean) may expose internal representation by storing an externally mutable object into SessionOptionsUpdateParams.featureFlags MALICIOUS_CODE EI_EXPOSE_REP2 25 Medium
new com.github.copilot.generated.rpc.SessionOptionsUpdateParams(String, String, String, String, String, String, Map, Boolean, Object, String, List, List, OptionsUpdateToolFilterPrecedence, Boolean, String, List, Object, Boolean, OptionsUpdateEnvValueMode, List, List, Boolean, List, Boolean, Boolean, List, Boolean, String, Boolean, String, Boolean, Boolean, Boolean, Boolean, String, String, List, Boolean) may expose internal representation by storing an externally mutable object into SessionOptionsUpdateParams.installedPlugins MALICIOUS_CODE EI_EXPOSE_REP2 25 Medium
new com.github.copilot.generated.rpc.SessionOptionsUpdateParams(String, String, String, String, String, String, Map, Boolean, Object, String, List, List, OptionsUpdateToolFilterPrecedence, Boolean, String, List, Object, Boolean, OptionsUpdateEnvValueMode, List, List, Boolean, List, Boolean, Boolean, List, Boolean, String, Boolean, String, Boolean, Boolean, Boolean, Boolean, String, String, List, Boolean) may expose internal representation by storing an externally mutable object into SessionOptionsUpdateParams.shellProcessFlags MALICIOUS_CODE EI_EXPOSE_REP2 25 Medium
new com.github.copilot.generated.rpc.SessionOptionsUpdateParams(String, String, String, String, String, String, Map, Boolean, Object, String, List, List, OptionsUpdateToolFilterPrecedence, Boolean, String, List, Object, Boolean, OptionsUpdateEnvValueMode, List, List, Boolean, List, Boolean, Boolean, List, Boolean, String, Boolean, String, Boolean, Boolean, Boolean, Boolean, String, String, List, Boolean) may expose internal representation by storing an externally mutable object into SessionOptionsUpdateParams.skillDirectories MALICIOUS_CODE EI_EXPOSE_REP2 25 Medium

com.github.copilot.generated.rpc.SessionPermissionsConfigureParams

Bug Category Details Line Priority
com.github.copilot.generated.rpc.SessionPermissionsConfigureParams.additionalContentExclusionPolicies() may expose internal representation by returning SessionPermissionsConfigureParams.additionalContentExclusionPolicies MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.SessionPermissionsConfigureParams(String, Boolean, Boolean, PermissionRulesSet, PermissionPathsConfig, PermissionUrlsConfig, List) may expose internal representation by storing an externally mutable object into SessionPermissionsConfigureParams.additionalContentExclusionPolicies MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.SessionPermissionsLocationsApplyResult

Bug Category Details Line Priority
com.github.copilot.generated.rpc.SessionPermissionsLocationsApplyResult.appliedRules() may expose internal representation by returning SessionPermissionsLocationsApplyResult.appliedRules MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.SessionPermissionsLocationsApplyResult(String, PermissionLocationType, Boolean, Long, Long, List) may expose internal representation by storing an externally mutable object into SessionPermissionsLocationsApplyResult.appliedRules MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.SessionPermissionsModifyRulesParams

Bug Category Details Line Priority
com.github.copilot.generated.rpc.SessionPermissionsModifyRulesParams.add() may expose internal representation by returning SessionPermissionsModifyRulesParams.add MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
com.github.copilot.generated.rpc.SessionPermissionsModifyRulesParams.remove() may expose internal representation by returning SessionPermissionsModifyRulesParams.remove MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.SessionPermissionsModifyRulesParams(String, PermissionsModifyRulesScope, List, List, Boolean) may expose internal representation by storing an externally mutable object into SessionPermissionsModifyRulesParams.add MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium
new com.github.copilot.generated.rpc.SessionPermissionsModifyRulesParams(String, PermissionsModifyRulesScope, List, List, Boolean) may expose internal representation by storing an externally mutable object into SessionPermissionsModifyRulesParams.remove MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.SessionPermissionsPathsListResult

Bug Category Details Line Priority
com.github.copilot.generated.rpc.SessionPermissionsPathsListResult.directories() may expose internal representation by returning SessionPermissionsPathsListResult.directories MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.SessionPermissionsPathsListResult(List, String) may expose internal representation by storing an externally mutable object into SessionPermissionsPathsListResult.directories MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.SessionPermissionsPendingRequestsResult

Bug Category Details Line Priority
com.github.copilot.generated.rpc.SessionPermissionsPendingRequestsResult.items() may expose internal representation by returning SessionPermissionsPendingRequestsResult.items MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.SessionPermissionsPendingRequestsResult(List) may expose internal representation by storing an externally mutable object into SessionPermissionsPendingRequestsResult.items MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.SessionPluginsListResult

Bug Category Details Line Priority
com.github.copilot.generated.rpc.SessionPluginsListResult.plugins() may expose internal representation by returning SessionPluginsListResult.plugins MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.SessionPluginsListResult(List) may expose internal representation by storing an externally mutable object into SessionPluginsListResult.plugins MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.SessionQueuePendingItemsResult

Bug Category Details Line Priority
com.github.copilot.generated.rpc.SessionQueuePendingItemsResult.items() may expose internal representation by returning SessionQueuePendingItemsResult.items MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
com.github.copilot.generated.rpc.SessionQueuePendingItemsResult.steeringMessages() may expose internal representation by returning SessionQueuePendingItemsResult.steeringMessages MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.SessionQueuePendingItemsResult(List, List) may expose internal representation by storing an externally mutable object into SessionQueuePendingItemsResult.items MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium
new com.github.copilot.generated.rpc.SessionQueuePendingItemsResult(List, List) may expose internal representation by storing an externally mutable object into SessionQueuePendingItemsResult.steeringMessages MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.SessionScheduleListResult

Bug Category Details Line Priority
com.github.copilot.generated.rpc.SessionScheduleListResult.entries() may expose internal representation by returning SessionScheduleListResult.entries MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.SessionScheduleListResult(List) may expose internal representation by storing an externally mutable object into SessionScheduleListResult.entries MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.SessionSendParams

Bug Category Details Line Priority
com.github.copilot.generated.rpc.SessionSendParams.attachments() may expose internal representation by returning SessionSendParams.attachments MALICIOUS_CODE EI_EXPOSE_REP 22 Medium
com.github.copilot.generated.rpc.SessionSendParams.requestHeaders() may expose internal representation by returning SessionSendParams.requestHeaders MALICIOUS_CODE EI_EXPOSE_REP 22 Medium
new com.github.copilot.generated.rpc.SessionSendParams(String, String, String, List, SendMode, Boolean, Boolean, String, Object, SendAgentMode, Map, String, String, Boolean) may expose internal representation by storing an externally mutable object into SessionSendParams.attachments MALICIOUS_CODE EI_EXPOSE_REP2 25 Medium
new com.github.copilot.generated.rpc.SessionSendParams(String, String, String, List, SendMode, Boolean, Boolean, String, Object, SendAgentMode, Map, String, String, Boolean) may expose internal representation by storing an externally mutable object into SessionSendParams.requestHeaders MALICIOUS_CODE EI_EXPOSE_REP2 25 Medium

com.github.copilot.generated.rpc.SessionSkillsGetInvokedResult

Bug Category Details Line Priority
com.github.copilot.generated.rpc.SessionSkillsGetInvokedResult.skills() may expose internal representation by returning SessionSkillsGetInvokedResult.skills MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.SessionSkillsGetInvokedResult(List) may expose internal representation by storing an externally mutable object into SessionSkillsGetInvokedResult.skills MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.SessionSkillsListResult

Bug Category Details Line Priority
com.github.copilot.generated.rpc.SessionSkillsListResult.skills() may expose internal representation by returning SessionSkillsListResult.skills MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.SessionSkillsListResult(List) may expose internal representation by storing an externally mutable object into SessionSkillsListResult.skills MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.SessionSkillsReloadResult

Bug Category Details Line Priority
com.github.copilot.generated.rpc.SessionSkillsReloadResult.errors() may expose internal representation by returning SessionSkillsReloadResult.errors MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
com.github.copilot.generated.rpc.SessionSkillsReloadResult.warnings() may expose internal representation by returning SessionSkillsReloadResult.warnings MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.SessionSkillsReloadResult(List, List) may expose internal representation by storing an externally mutable object into SessionSkillsReloadResult.errors MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium
new com.github.copilot.generated.rpc.SessionSkillsReloadResult(List, List) may expose internal representation by storing an externally mutable object into SessionSkillsReloadResult.warnings MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.SessionTasksListResult

Bug Category Details Line Priority
com.github.copilot.generated.rpc.SessionTasksListResult.tasks() may expose internal representation by returning SessionTasksListResult.tasks MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.SessionTasksListResult(List) may expose internal representation by storing an externally mutable object into SessionTasksListResult.tasks MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.SessionTelemetrySetFeatureOverridesParams

Bug Category Details Line Priority
com.github.copilot.generated.rpc.SessionTelemetrySetFeatureOverridesParams.features() may expose internal representation by returning SessionTelemetrySetFeatureOverridesParams.features MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.SessionTelemetrySetFeatureOverridesParams(String, Map) may expose internal representation by storing an externally mutable object into SessionTelemetrySetFeatureOverridesParams.features MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.SessionUiElicitationResult

Bug Category Details Line Priority
com.github.copilot.generated.rpc.SessionUiElicitationResult.content() may expose internal representation by returning SessionUiElicitationResult.content MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.SessionUiElicitationResult(UIElicitationResponseAction, Map) may expose internal representation by storing an externally mutable object into SessionUiElicitationResult.content MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.SessionUsageGetMetricsResult

Bug Category Details Line Priority
com.github.copilot.generated.rpc.SessionUsageGetMetricsResult.modelMetrics() may expose internal representation by returning SessionUsageGetMetricsResult.modelMetrics MALICIOUS_CODE EI_EXPOSE_REP 22 Medium
com.github.copilot.generated.rpc.SessionUsageGetMetricsResult.tokenDetails() may expose internal representation by returning SessionUsageGetMetricsResult.tokenDetails MALICIOUS_CODE EI_EXPOSE_REP 22 Medium
new com.github.copilot.generated.rpc.SessionUsageGetMetricsResult(Double, Long, Double, Map, Long, OffsetDateTime, UsageMetricsCodeChanges, Map, String, Long, Long) may expose internal representation by storing an externally mutable object into SessionUsageGetMetricsResult.modelMetrics MALICIOUS_CODE EI_EXPOSE_REP2 25 Medium
new com.github.copilot.generated.rpc.SessionUsageGetMetricsResult(Double, Long, Double, Map, Long, OffsetDateTime, UsageMetricsCodeChanges, Map, String, Long, Long) may expose internal representation by storing an externally mutable object into SessionUsageGetMetricsResult.tokenDetails MALICIOUS_CODE EI_EXPOSE_REP2 25 Medium

com.github.copilot.generated.rpc.SessionWorkspaceListFilesResult

Bug Category Details Line Priority
com.github.copilot.generated.rpc.SessionWorkspaceListFilesResult.files() may expose internal representation by returning SessionWorkspaceListFilesResult.files MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.SessionWorkspaceListFilesResult(List) may expose internal representation by storing an externally mutable object into SessionWorkspaceListFilesResult.files MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.SessionWorkspacesDiffResult

Bug Category Details Line Priority
com.github.copilot.generated.rpc.SessionWorkspacesDiffResult.changes() may expose internal representation by returning SessionWorkspacesDiffResult.changes MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.SessionWorkspacesDiffResult(WorkspaceDiffMode, WorkspaceDiffMode, List, String, Boolean) may expose internal representation by storing an externally mutable object into SessionWorkspacesDiffResult.changes MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.SessionWorkspacesListCheckpointsResult

Bug Category Details Line Priority
com.github.copilot.generated.rpc.SessionWorkspacesListCheckpointsResult.checkpoints() may expose internal representation by returning SessionWorkspacesListCheckpointsResult.checkpoints MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.SessionWorkspacesListCheckpointsResult(List) may expose internal representation by storing an externally mutable object into SessionWorkspacesListCheckpointsResult.checkpoints MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.SessionWorkspacesListFilesResult

Bug Category Details Line Priority
com.github.copilot.generated.rpc.SessionWorkspacesListFilesResult.files() may expose internal representation by returning SessionWorkspacesListFilesResult.files MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.SessionWorkspacesListFilesResult(List) may expose internal representation by storing an externally mutable object into SessionWorkspacesListFilesResult.files MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.SessionsBulkDeleteParams

Bug Category Details Line Priority
com.github.copilot.generated.rpc.SessionsBulkDeleteParams.sessionIds() may expose internal representation by returning SessionsBulkDeleteParams.sessionIds MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.SessionsBulkDeleteParams(List) may expose internal representation by storing an externally mutable object into SessionsBulkDeleteParams.sessionIds MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.SessionsBulkDeleteResult

Bug Category Details Line Priority
com.github.copilot.generated.rpc.SessionsBulkDeleteResult.freedBytes() may expose internal representation by returning SessionsBulkDeleteResult.freedBytes MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.SessionsBulkDeleteResult(Map) may expose internal representation by storing an externally mutable object into SessionsBulkDeleteResult.freedBytes MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.SessionsCheckInUseParams

Bug Category Details Line Priority
com.github.copilot.generated.rpc.SessionsCheckInUseParams.sessionIds() may expose internal representation by returning SessionsCheckInUseParams.sessionIds MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.SessionsCheckInUseParams(List) may expose internal representation by storing an externally mutable object into SessionsCheckInUseParams.sessionIds MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.SessionsCheckInUseResult

Bug Category Details Line Priority
com.github.copilot.generated.rpc.SessionsCheckInUseResult.inUse() may expose internal representation by returning SessionsCheckInUseResult.inUse MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.SessionsCheckInUseResult(List) may expose internal representation by storing an externally mutable object into SessionsCheckInUseResult.inUse MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.SessionsEnrichMetadataParams

Bug Category Details Line Priority
com.github.copilot.generated.rpc.SessionsEnrichMetadataParams.sessions() may expose internal representation by returning SessionsEnrichMetadataParams.sessions MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.SessionsEnrichMetadataParams(List) may expose internal representation by storing an externally mutable object into SessionsEnrichMetadataParams.sessions MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.SessionsEnrichMetadataResult

Bug Category Details Line Priority
com.github.copilot.generated.rpc.SessionsEnrichMetadataResult.sessions() may expose internal representation by returning SessionsEnrichMetadataResult.sessions MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.SessionsEnrichMetadataResult(List) may expose internal representation by storing an externally mutable object into SessionsEnrichMetadataResult.sessions MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.SessionsGetSizesResult

Bug Category Details Line Priority
com.github.copilot.generated.rpc.SessionsGetSizesResult.sizes() may expose internal representation by returning SessionsGetSizesResult.sizes MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.SessionsGetSizesResult(Map) may expose internal representation by storing an externally mutable object into SessionsGetSizesResult.sizes MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.SessionsListResult

Bug Category Details Line Priority
com.github.copilot.generated.rpc.SessionsListResult.sessions() may expose internal representation by returning SessionsListResult.sessions MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.SessionsListResult(List) may expose internal representation by storing an externally mutable object into SessionsListResult.sessions MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.SessionsLoadDeferredRepoHooksResult

Bug Category Details Line Priority
com.github.copilot.generated.rpc.SessionsLoadDeferredRepoHooksResult.startupPrompts() may expose internal representation by returning SessionsLoadDeferredRepoHooksResult.startupPrompts MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.SessionsLoadDeferredRepoHooksResult(List, Long) may expose internal representation by storing an externally mutable object into SessionsLoadDeferredRepoHooksResult.startupPrompts MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.SessionsPruneOldParams

Bug Category Details Line Priority
com.github.copilot.generated.rpc.SessionsPruneOldParams.excludeSessionIds() may expose internal representation by returning SessionsPruneOldParams.excludeSessionIds MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.SessionsPruneOldParams(Long, Boolean, Boolean, List) may expose internal representation by storing an externally mutable object into SessionsPruneOldParams.excludeSessionIds MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.SessionsPruneOldResult

Bug Category Details Line Priority
com.github.copilot.generated.rpc.SessionsPruneOldResult.candidates() may expose internal representation by returning SessionsPruneOldResult.candidates MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
com.github.copilot.generated.rpc.SessionsPruneOldResult.deleted() may expose internal representation by returning SessionsPruneOldResult.deleted MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
com.github.copilot.generated.rpc.SessionsPruneOldResult.skipped() may expose internal representation by returning SessionsPruneOldResult.skipped MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.SessionsPruneOldResult(List, List, List, Long, Boolean) may expose internal representation by storing an externally mutable object into SessionsPruneOldResult.candidates MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium
new com.github.copilot.generated.rpc.SessionsPruneOldResult(List, List, List, Long, Boolean) may expose internal representation by storing an externally mutable object into SessionsPruneOldResult.deleted MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium
new com.github.copilot.generated.rpc.SessionsPruneOldResult(List, List, List, Long, Boolean) may expose internal representation by storing an externally mutable object into SessionsPruneOldResult.skipped MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.SessionsSetAdditionalPluginsParams

Bug Category Details Line Priority
com.github.copilot.generated.rpc.SessionsSetAdditionalPluginsParams.plugins() may expose internal representation by returning SessionsSetAdditionalPluginsParams.plugins MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.SessionsSetAdditionalPluginsParams(List) may expose internal representation by storing an externally mutable object into SessionsSetAdditionalPluginsParams.plugins MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.SkillsConfigSetDisabledSkillsParams

Bug Category Details Line Priority
com.github.copilot.generated.rpc.SkillsConfigSetDisabledSkillsParams.disabledSkills() may expose internal representation by returning SkillsConfigSetDisabledSkillsParams.disabledSkills MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.SkillsConfigSetDisabledSkillsParams(List) may expose internal representation by storing an externally mutable object into SkillsConfigSetDisabledSkillsParams.disabledSkills MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.SkillsDiscoverParams

Bug Category Details Line Priority
com.github.copilot.generated.rpc.SkillsDiscoverParams.projectPaths() may expose internal representation by returning SkillsDiscoverParams.projectPaths MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
com.github.copilot.generated.rpc.SkillsDiscoverParams.skillDirectories() may expose internal representation by returning SkillsDiscoverParams.skillDirectories MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.SkillsDiscoverParams(List, List) may expose internal representation by storing an externally mutable object into SkillsDiscoverParams.projectPaths MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium
new com.github.copilot.generated.rpc.SkillsDiscoverParams(List, List) may expose internal representation by storing an externally mutable object into SkillsDiscoverParams.skillDirectories MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.SkillsDiscoverResult

Bug Category Details Line Priority
com.github.copilot.generated.rpc.SkillsDiscoverResult.skills() may expose internal representation by returning SkillsDiscoverResult.skills MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.SkillsDiscoverResult(List) may expose internal representation by storing an externally mutable object into SkillsDiscoverResult.skills MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.SkillsInvokedSkill

Bug Category Details Line Priority
com.github.copilot.generated.rpc.SkillsInvokedSkill.allowedTools() may expose internal representation by returning SkillsInvokedSkill.allowedTools MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.SkillsInvokedSkill(String, String, String, List, Long) may expose internal representation by storing an externally mutable object into SkillsInvokedSkill.allowedTools MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.SlashCommandInfo

Bug Category Details Line Priority
com.github.copilot.generated.rpc.SlashCommandInfo.aliases() may expose internal representation by returning SlashCommandInfo.aliases MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.SlashCommandInfo(String, List, String, SlashCommandKind, SlashCommandInput, Boolean, Boolean) may expose internal representation by storing an externally mutable object into SlashCommandInfo.aliases MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.Tool

Bug Category Details Line Priority
com.github.copilot.generated.rpc.Tool.parameters() may expose internal representation by returning Tool.parameters MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.Tool(String, String, String, Map, String) may expose internal representation by storing an externally mutable object into Tool.parameters MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.ToolsListResult

Bug Category Details Line Priority
com.github.copilot.generated.rpc.ToolsListResult.tools() may expose internal representation by returning ToolsListResult.tools MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.ToolsListResult(List) may expose internal representation by storing an externally mutable object into ToolsListResult.tools MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.UIElicitationResponse

Bug Category Details Line Priority
com.github.copilot.generated.rpc.UIElicitationResponse.content() may expose internal representation by returning UIElicitationResponse.content MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.UIElicitationResponse(UIElicitationResponseAction, Map) may expose internal representation by storing an externally mutable object into UIElicitationResponse.content MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.UIElicitationSchema

Bug Category Details Line Priority
com.github.copilot.generated.rpc.UIElicitationSchema.properties() may expose internal representation by returning UIElicitationSchema.properties MALICIOUS_CODE EI_EXPOSE_REP 22 Medium
com.github.copilot.generated.rpc.UIElicitationSchema.required() may expose internal representation by returning UIElicitationSchema.required MALICIOUS_CODE EI_EXPOSE_REP 22 Medium
new com.github.copilot.generated.rpc.UIElicitationSchema(String, Map, List) may expose internal representation by storing an externally mutable object into UIElicitationSchema.properties MALICIOUS_CODE EI_EXPOSE_REP2 25 Medium
new com.github.copilot.generated.rpc.UIElicitationSchema(String, Map, List) may expose internal representation by storing an externally mutable object into UIElicitationSchema.required MALICIOUS_CODE EI_EXPOSE_REP2 25 Medium

com.github.copilot.generated.rpc.UsageMetricsCodeChanges

Bug Category Details Line Priority
com.github.copilot.generated.rpc.UsageMetricsCodeChanges.filesModified() may expose internal representation by returning UsageMetricsCodeChanges.filesModified MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.UsageMetricsCodeChanges(Long, Long, Long, List) may expose internal representation by storing an externally mutable object into UsageMetricsCodeChanges.filesModified MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.generated.rpc.UsageMetricsModelMetric

Bug Category Details Line Priority
com.github.copilot.generated.rpc.UsageMetricsModelMetric.tokenDetails() may expose internal representation by returning UsageMetricsModelMetric.tokenDetails MALICIOUS_CODE EI_EXPOSE_REP 21 Medium
new com.github.copilot.generated.rpc.UsageMetricsModelMetric(UsageMetricsModelMetricRequests, UsageMetricsModelMetricUsage, Double, Map) may expose internal representation by storing an externally mutable object into UsageMetricsModelMetric.tokenDetails MALICIOUS_CODE EI_EXPOSE_REP2 24 Medium

com.github.copilot.rpc.BlobAttachment

Bug Category Details Line Priority
Unread field: com.github.copilot.rpc.BlobAttachment.type; should this field be static? PERFORMANCE SS_SHOULD_BE_STATIC 31 Medium

com.github.copilot.rpc.CopilotClientOptions

Bug Category Details Line Priority
com.github.copilot.rpc.CopilotClientOptions defines clone() but doesn't implement Cloneable BAD_PRACTICE CN_IMPLEMENTS_CLONE_BUT_NOT_CLONEABLE 674 High

com.github.copilot.rpc.McpHttpServerConfig

Bug Category Details Line Priority
Unread field: com.github.copilot.rpc.McpHttpServerConfig.type; should this field be static? PERFORMANCE SS_SHOULD_BE_STATIC 35 Medium

com.github.copilot.rpc.McpStdioServerConfig

Bug Category Details Line Priority
Unread field: com.github.copilot.rpc.McpStdioServerConfig.type; should this field be static? PERFORMANCE SS_SHOULD_BE_STATIC 36 Medium

com.github.copilot.rpc.MessageOptions

Bug Category Details Line Priority
com.github.copilot.rpc.MessageOptions defines clone() but doesn't implement Cloneable BAD_PRACTICE CN_IMPLEMENTS_CLONE_BUT_NOT_CLONEABLE 191 High

com.github.copilot.rpc.ResumeSessionConfig

Bug Category Details Line Priority
com.github.copilot.rpc.ResumeSessionConfig defines clone() but doesn't implement Cloneable BAD_PRACTICE CN_IMPLEMENTS_CLONE_BUT_NOT_CLONEABLE 1097 High

com.github.copilot.rpc.SessionConfig

Bug Category Details Line Priority
com.github.copilot.rpc.SessionConfig defines clone() but doesn't implement Cloneable BAD_PRACTICE CN_IMPLEMENTS_CLONE_BUT_NOT_CLONEABLE 1198 High