Multi-platform SDK for integrating GitHub Copilot Agent into apps and services
This report summarizes scanner evidence for microsoft/copilot-sdk, a Java project with 10,684 GitHub stars. SynthScan examined 552,666 lines of code across 1444 source files, recording 3244 pattern matches distributed across 23 syntactic categories. The legacy adjusted pattern signal is 7.0 (Moderate pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-11-18.
Can maintainers explain intent, assumptions, and trade-offs? 2358 finding(s).
Are imports declared and package/API names verified? 482 finding(s).
Are wrappers, guards, and repeated structures necessary? 1816 finding(s).
Which changes need focused human review? 3244 finding(s).
Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 3244 distinct pattern matches across 23 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | nodejs/examples/host-helper-services.ts | 14 | export async function inspectHostHelperServices( | CODE |
| LOW | nodejs/examples/content-exclusion.ts | 8 | export async function validateContentExclusionPolicies(client: CopilotClient) { | CODE |
| LOW | nodejs/src/copilotRequestHandler.ts | 255 | export class CopilotRequestHandler { | CODE |
| LOW | nodejs/src/copilotRequestHandler.ts | 367 | export function createCopilotRequestAdapter( | CODE |
| LOW | nodejs/src/copilotRequestHandler.ts | 392 | function getOrCreate(requestId: string): CopilotRequestExchange | undefined { | CODE |
| LOW | nodejs/src/workflow.ts | 589 | function validateRequiredWorkflowAgentString( | CODE |
| LOW | nodejs/src/workflow.ts | 598 | function validateOptionalWorkflowAgentString( | CODE |
| LOW | nodejs/src/workflow.ts | 813 | export function getWorkflowAgentReference( | CODE |
| LOW | nodejs/src/entra.ts | 9 | export function registerEntraTokenProvider( | CODE |
| LOW | nodejs/src/types.ts | 1500 | export function isAttributedPermissionResult( | CODE |
| LOW | nodejs/src/types.ts | 1513 | export function createAttributedPermissionResult( | CODE |
| LOW | nodejs/src/session.ts | 123 | function isWorkflowResumeErrorCode(value: unknown): value is WorkflowResumeErrorCode { | CODE |
| LOW | nodejs/src/session.ts | 177 | function throwIfWorkflowExecutionIsActive(): void { | CODE |
| LOW | nodejs/src/session.ts | 3476 | function strictJsonValidationError( | CODE |
| LOW | nodejs/src/client.ts | 484 | async function authenticateClientNegotiate( | CODE |
| LOW | nodejs/src/client.ts | 530 | function extractBearerTokenProviders(providers: readonly NamedProviderConfig[] | undefined): { | CODE |
| LOW | nodejs/src/client.ts | 581 | function toWireMemoryConfiguration( | CODE |
| LOW | nodejs/src/client.ts | 686 | function extractTransformCallbacks(systemMessage: CreateSessionOptions["systemMessage"]): { | CODE |
| LOW | nodejs/src/client.ts | 737 | async function getSpawnableBundledRuntimePath(): Promise<string> { | CODE |
| LOW | nodejs/src/runtimeArtifacts.ts | 236 | export function getRuntimeReleaseAssetName(version: string, platform: string): string { | CODE |
| LOW | nodejs/src/providerConfiguration.ts | 11 | export function toSavedProviderConfiguration( | CODE |
| LOW | nodejs/src/localModelJson.ts | 10 | export function createLocalModelJsonCodec() { | CODE |
| LOW | nodejs/src/installationConfirmation.ts | 37 | export function createInstallationConfirmationAdapter( | CODE |
| LOW | python/test_copilot_request_handler_response.py | 25 | async def test_http_start_invocation_identity_survives_physical_retries(agent_invocation_id): | CODE |
| LOW | python/test_copilot_request_handler_response.py | 75 | async def test_websocket_invocation_identity_is_per_queued_message(legacy): | CODE |
| LOW | python/test_copilot_request_handler_response.py | 85 | async def send_request_message_with_context(self, data, ctx): | CODE |
| LOW | python/test_copilot_request_handler_response.py | 148 | async def test_default_websocket_forwarder_filters_handshake_headers(): | CODE |
| LOW | python/test_copilot_request_handler_response.py | 197 | async def test_default_websocket_forwarder_relays_messages_above_one_mebibyte(): | CODE |
| LOW | python/test_copilot_request_handler_response.py | 386 | async def test_reads_ahead_and_coalesces_with_one_data_rpc_outstanding() -> None: | CODE |
| LOW | python/test_copilot_request_handler_response.py | 426 | async def test_response_iterator_is_advanced_by_one_persistent_task() -> None: | CODE |
| LOW | python/test_copilot_request_handler_response.py | 444 | async def test_response_stream_is_closed_by_producer_when_read_ahead_is_full() -> None: | CODE |
| LOW | python/test_copilot_request_handler_response.py | 459 | class _ResponseHandler(CopilotRequestHandler): | CODE |
| LOW | python/test_copilot_request_handler_response.py | 504 | async def test_request_context_preserves_invocation_identity( | CODE |
| LOW | python/test_copilot_request_handler_response.py | 524 | async def test_runtime_cancellation_stops_pending_read_and_closes_source() -> None: | CODE |
| LOW | python/test_copilot_request_handler_response.py | 549 | async def test_upstream_error_follows_all_buffered_bytes() -> None: | CODE |
| LOW | python/test_copilot_request_handler_response.py | 570 | async def test_rpc_rejection_stops_pending_read_and_closes_source() -> None: | CODE |
| LOW | python/test_copilot_request_handler_response.py | 588 | async def test_connection_loss_stops_idle_read_and_closes_source() -> None: | CODE |
| LOW | python/test_copilot_request_handler_response.py | 614 | class _EmptyResponseHandler(CopilotRequestHandler): | CODE |
| LOW | python/test_copilot_request_handler_response.py | 640 | async def test_frames_after_request_finished_are_ignored() -> None: | CODE |
| LOW | python/test_rpc_timeout.py | 32 | async def test_default_timeout_not_forwarded(self): | CODE |
| LOW | python/test_rpc_timeout.py | 44 | async def test_custom_timeout_forwarded(self): | CODE |
| LOW⚡ | python/test_rpc_timeout.py | 55 | async def test_timeout_on_session_params_method(self): | CODE |
| LOW⚡ | python/test_rpc_timeout.py | 68 | async def test_timeout_on_session_no_params_method(self): | CODE |
| LOW⚡ | python/test_rpc_timeout.py | 79 | async def test_default_timeout_on_session_no_params_method(self): | CODE |
| LOW⚡ | python/test_rpc_timeout.py | 92 | async def test_timeout_on_server_params_method(self): | CODE |
| LOW⚡ | python/test_rpc_timeout.py | 103 | async def test_default_timeout_on_server_params_method(self): | CODE |
| LOW⚡ | python/test_rpc_timeout.py | 116 | async def test_timeout_on_server_no_params_method(self): | CODE |
| LOW | python/test_rpc_timeout.py | 127 | async def test_default_timeout_on_server_no_params_method(self): | CODE |
| LOW | python/test_shell_authentication.py | 70 | async def test_returns_a_secret_only_for_a_well_formed_answer( | CODE |
| LOW | python/test_shell_authentication.py | 115 | async def test_cancels_without_a_handler(self): | CODE |
| LOW | python/test_shell_authentication.py | 122 | async def test_a_handler_whose_answer_is_cancelled_cancels_the_prompt( | CODE |
| LOW | python/test_shell_authentication.py | 148 | async def test_cancelling_the_request_task_still_propagates(self): | CODE |
| LOW | python/test_shell_authentication.py | 170 | async def test_runtime_cancel_aborts_a_pending_request(self): | CODE |
| LOW | python/test_shell_authentication.py | 190 | async def test_a_duplicate_request_is_cancelled_without_closing_the_open_one(self): | CODE |
| LOW | python/test_shell_authentication.py | 210 | async def test_cancels_a_request_whose_handler_never_finishes(self): | CODE |
| LOW | python/test_shell_authentication.py | 237 | async def test_a_handler_that_fails_after_its_prompt_closes_is_not_reported( | CODE |
| LOW | python/test_shell_authentication.py | 274 | async def test_a_handler_that_ignores_cancellation_is_not_collected_while_running( | CODE |
| LOW | python/test_shell_authentication.py | 316 | async def test_passes_the_runtime_request_to_the_handler(self): | CODE |
| LOW | python/test_shell_authentication.py | 340 | async def test_cancels_a_malformed_request_without_asking(self): | CODE |
| LOW | python/test_shell_authentication.py | 355 | async def test_cancel_reaches_the_session_that_took_the_request_after_a_resume(self): | CODE |
| 1340 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | nodejs/README.md | 2121 | const session = await client.createSession({ | COMMENT |
| LOW | go/github_token_provider.go | 21 | // GitHubTokenProviderArgs contains the context for a GitHub token request. | COMMENT |
| LOW | go/github_token_provider.go | 81 | // cancellation, errors, and invalid token responses reject session creation or | COMMENT |
| LOW | go/copilot_request_handler.go | 61 | AgentInvocationID *string | COMMENT |
| LOW | go/copilot_request_handler.go | 101 | // Text decodes the frame payload as a UTF-8 string. | COMMENT |
| LOW | go/copilot_request_handler.go | 121 | // used. RoundTrip is called directly, so redirects are not followed. | COMMENT |
| LOW | go/copilot_request_handler.go | 381 | return w.sink.sinkError(message, code) | COMMENT |
| LOW | go/copilot_request_handler.go | 621 | } | COMMENT |
| LOW | go/options.go | 21 | // ClientExtensionOptions configures client extensions. | COMMENT |
| LOW | go/options.go | 41 | // Recognized values: "none", "error", "warning", "info", "debug", "all". | COMMENT |
| LOW | go/options.go | 61 | UseLoggedInUser *bool | COMMENT |
| LOW | go/options.go | 81 | RequestHandler *CopilotRequestHandler | COMMENT |
| LOW | go/options.go | 101 | // Requires GitHub.Capi.Enabled=false. Nil omits the option (preserving it on | COMMENT |
| LOW | go/options.go | 161 | TrustWorkingDirectory WorkingDirectoryTrust | COMMENT |
| LOW | go/options.go | 181 | // and retrieval. When false, session content is not written to or read from the | COMMENT |
| LOW | go/options.go | 201 | // CreateSessionFSProvider supplies a handler for session filesystem operations. | COMMENT |
| LOW | go/options.go | 221 | // disables. Relative paths resolve once when supplied against the request's effective | COMMENT |
| LOW | go/options.go | 241 | // discovery cache before constructing this new session. Nil or false retains the cache. | COMMENT |
| LOW | go/options.go | 261 | // Directories contains explicit discovery-only file-hook roots, separate from Hooks callbacks. | COMMENT |
| LOW | go/options.go | 281 | // SessionSkillOptions configures session skills. | COMMENT |
| LOW | go/options.go | 301 | // releases. Implementations must be safe for concurrent calls. | COMMENT |
| LOW | go/options.go | 321 | // [ModeEmpty]. | COMMENT |
| LOW | go/options.go | 341 | // configured. | COMMENT |
| LOW | go/options.go | 361 | // No filesystem grant. Available without EnableConfigDiscovery, subject to source/managed | COMMENT |
| LOW | go/options.go | 381 | // Sandbox is applied when the session is constructed, before MCP servers start. | COMMENT |
| LOW | go/options.go | 401 | // token data or cancellation. | COMMENT |
| LOW | go/options.go | 421 | // flag or COPILOT_MCP_APPS=true environment override), the runtime adds the | COMMENT |
| LOW | go/options.go | 441 | type SessionGitHubOptions struct { | COMMENT |
| LOW | go/options.go | 461 | Token string `json:"-"` | COMMENT |
| LOW | go/options.go | 481 | // OnUserInputRequest handles legacy question-and-answer requests from the agent | COMMENT |
| LOW | go/options.go | 501 | Commands []CommandDefinition | COMMENT |
| LOW | go/options.go | 521 | COMMENT | |
| LOW | go/options.go | 541 | // the session.create RPC is issued. This guarantees that early events emitted | COMMENT |
| LOW | go/options.go | 561 | // SessionExperimentOptions configures session experiments. | COMMENT |
| LOW | go/options.go | 581 | Flags map[string]bool | COMMENT |
| LOW | go/options.go | 601 | // RequestRenderer asks the host to enable canvas rendering for this session. | COMMENT |
| LOW | go/options.go | 621 | // Handler receives inbound canvas.open / canvas.close / canvas.action.invoke | COMMENT |
| LOW | go/options.go | 641 | // injected into extension subprocesses. When set to an absolute path containing | COMMENT |
| LOW | go/options.go | 661 | // the session. Unlike EnableManagedSettings (which asks the runtime to | COMMENT |
| LOW | go/options.go | 681 | // Network lets the SDK host resolve the runtime's proxies and answer | COMMENT |
| LOW | go/options.go | 701 | // runtime on the `server.connect` handshake. Declaring it lets the | COMMENT |
| LOW | go/options.go | 961 | Interaction SessionInteractionOptions | COMMENT |
| LOW | go/options.go | 981 | SuppressResumeEvent bool | COMMENT |
| LOW | go/entra_token_provider.go | 21 | MatsAppName *string | COMMENT |
| LOW | go/types.go | 101 | type TCPConnection struct { | COMMENT |
| LOW | go/types.go | 121 | // on amd64 or arm64. No build tag is required. | COMMENT |
| LOW | go/types.go | 181 | // COPILOT_SDK_DEFAULT_CONNECTION may select "inprocess" or "stdio"; | COMMENT |
| LOW | go/types.go | 201 | ExtensionLaunchProvider ExtensionLaunchProvider | COMMENT |
| LOW | go/types.go | 221 | // When provided, the token is passed to the runtime via environment | COMMENT |
| LOW | go/types.go | 241 | // RequestHandler registers a connection-level LLM inference callback. When | COMMENT |
| LOW | go/types.go | 261 | // ClientInfo declares the integrating application's identity, forwarded to the | COMMENT |
| LOW | go/types.go | 301 | COMMENT | |
| LOW | go/types.go | 421 | // sibling sub-sections (tone, tool efficiency, etc.). | COMMENT |
| LOW | go/types.go | 461 | SectionActionPrepend SectionOverrideAction = "prepend" | COMMENT |
| LOW | go/types.go | 501 | COMMENT | |
| LOW | go/types.go | 541 | // PermissionHandlerWithEnvelopeFunc receives an explicit lossless request. | COMMENT |
| LOW | go/types.go | 561 | // prompt kinds must remain conservative. | COMMENT |
| LOW | go/types.go | 721 | } | COMMENT |
| LOW | go/types.go | 761 | // ShellAuthenticationInputKindText is a visible answer, such as a user name. | COMMENT |
| LOW | go/types.go | 861 | type ExitPlanModeRequestHandler func(request ExitPlanModeRequest, invocation ExitPlanModeInvocation) (ExitPlanModeResult | COMMENT |
| 739 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | python/test_rpc_timeout.py | 29 | # ── session-scoped, with params ────────────────────────────────── | COMMENT |
| MEDIUM⚡ | python/test_rpc_timeout.py | 65 | # ── session-scoped, no params ──────────────────────────────────── | COMMENT |
| MEDIUM⚡ | python/test_rpc_timeout.py | 89 | # ── server-scoped, with params ───────────────────────────────────── | COMMENT |
| MEDIUM⚡ | python/test_rpc_timeout.py | 113 | # ── server-scoped, no params ───────────────────────────────────── | COMMENT |
| MEDIUM | python/test_session_fs_provider.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/test_session_fs_provider.py | 3 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | python/test_commands_and_elicitation.py | 30 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | python/test_commands_and_elicitation.py | 32 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | python/test_commands_and_elicitation.py | 325 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | python/test_commands_and_elicitation.py | 327 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | python/test_commands_and_elicitation.py | 425 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | python/test_commands_and_elicitation.py | 427 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | python/test_commands_and_elicitation.py | 1040 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | python/test_commands_and_elicitation.py | 1042 | # ============================================================================ | COMMENT |
| MEDIUM | python/test_commands_and_elicitation.py | 916 | # ============================================================================ | COMMENT |
| MEDIUM | python/test_commands_and_elicitation.py | 918 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | python/copilot/copilot_request_handler.py | 533 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | python/copilot/copilot_request_handler.py | 535 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | python/copilot/copilot_request_handler.py | 689 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | python/copilot/copilot_request_handler.py | 691 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/copilot/copilot_request_handler.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/copilot/copilot_request_handler.py | 3 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/copilot/copilot_request_handler.py | 369 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/copilot/copilot_request_handler.py | 371 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/copilot/copilot_request_handler.py | 744 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/copilot/copilot_request_handler.py | 746 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/copilot/session_fs_provider.py | 1 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/copilot/session_fs_provider.py | 3 | # -------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | python/copilot/client.py | 1497 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | python/copilot/client.py | 1499 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | python/copilot/client.py | 1502 | # ============================================================================ | COMMENT |
| MEDIUM⚡ | python/copilot/client.py | 1504 | # ============================================================================ | COMMENT |
| MEDIUM | python/copilot/client.py | 235 | # ============================================================================ | COMMENT |
| MEDIUM | python/copilot/client.py | 237 | # ============================================================================ | COMMENT |
| MEDIUM | python/copilot/client.py | 1378 | # ============================================================================ | COMMENT |
| MEDIUM | python/copilot/client.py | 1380 | # ============================================================================ | COMMENT |
| MEDIUM | python/copilot/client.py | 1635 | # ============================================================================ | COMMENT |
| MEDIUM | python/copilot/client.py | 1637 | # ============================================================================ | COMMENT |
| MEDIUM | python/copilot/session.py | 151 | # ============================================================================ | COMMENT |
| MEDIUM | python/copilot/session.py | 153 | # ============================================================================ | COMMENT |
| MEDIUM | python/copilot/session.py | 311 | # ============================================================================ | COMMENT |
| MEDIUM | python/copilot/session.py | 313 | # ============================================================================ | COMMENT |
| MEDIUM | python/copilot/session.py | 419 | # ============================================================================ | COMMENT |
| MEDIUM | python/copilot/session.py | 421 | # ============================================================================ | COMMENT |
| MEDIUM | python/copilot/session.py | 520 | # ============================================================================ | COMMENT |
| MEDIUM | python/copilot/session.py | 522 | # ============================================================================ | COMMENT |
| MEDIUM | python/copilot/session.py | 670 | # ============================================================================ | COMMENT |
| MEDIUM | python/copilot/session.py | 672 | # ============================================================================ | COMMENT |
| MEDIUM | python/copilot/session.py | 741 | # ============================================================================ | COMMENT |
| MEDIUM | python/copilot/session.py | 743 | # ============================================================================ | COMMENT |
| MEDIUM | python/copilot/session.py | 902 | # ============================================================================ | COMMENT |
| MEDIUM | python/copilot/session.py | 904 | # ============================================================================ | COMMENT |
| MEDIUM | python/copilot/session.py | 941 | # ============================================================================ | COMMENT |
| MEDIUM | python/copilot/session.py | 943 | # ============================================================================ | COMMENT |
| MEDIUM | python/copilot/session.py | 970 | # ============================================================================ | COMMENT |
| MEDIUM | python/copilot/session.py | 972 | # ============================================================================ | COMMENT |
| MEDIUM | python/copilot/session.py | 1026 | # ============================================================================ | COMMENT |
| MEDIUM | python/copilot/session.py | 1028 | # ============================================================================ | COMMENT |
| MEDIUM | python/copilot/session.py | 1063 | # ============================================================================ | COMMENT |
| MEDIUM | python/copilot/session.py | 1065 | # ============================================================================ | COMMENT |
| 137 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | java/docs/adr/adr-005-tool-definition.md | 163 | `javax.lang.model.element.VariableElement.getSimpleName()` always returns the real parameter name at compile time, regar | CODE |
| CRITICAL | …st/java/com/microsoft/copilot/GitHubTelemetryTest.java | 249 | com.microsoft.copilot.generated.rpc.EntraAuthConfig.builder().clientId("host-entra-client") | STRING |
| CRITICAL | …a/com/microsoft/copilot/SessionAutoTierSwitchTest.java | 133 | .setSupports(new com.microsoft.copilot.rpc.ModelCapabilitiesOverride.Supports().setVision(false) | CODE |
| CRITICAL | …a/com/microsoft/copilot/SessionAutoTierSwitchTest.java | 135 | .setLimits(new com.microsoft.copilot.rpc.ModelCapabilitiesOverride.Limits().setMaxPromptTokens(0)); | CODE |
| CRITICAL | …c/test/java/com/microsoft/copilot/RpcWrappersTest.java | 165 | var params = com.microsoft.copilot.generated.rpc.PingParams.builder().message(null).build(); | STRING |
| CRITICAL | …c/test/java/com/microsoft/copilot/RpcWrappersTest.java | 670 | var limits = com.microsoft.copilot.generated.rpc.SessionLimitsConfig.builder().maxAiCredits(5.0).build(); | STRING |
| CRITICAL | …c/test/java/com/microsoft/copilot/RpcWrappersTest.java | 1080 | var params = com.microsoft.copilot.generated.rpc.SessionMcpAppsCallToolParams.builder().sessionId(null) | STRING |
| CRITICAL | …c/test/java/com/microsoft/copilot/RpcWrappersTest.java | 1093 | var params = com.microsoft.copilot.generated.rpc.SessionMcpAppsCallToolParams.builder().sessionId(null) | STRING |
| CRITICAL | …c/test/java/com/microsoft/copilot/RpcWrappersTest.java | 1107 | var params = com.microsoft.copilot.generated.rpc.SessionMcpAppsCallToolParams.builder().serverName("server") | STRING |
| CRITICAL | …c/test/java/com/microsoft/copilot/RpcWrappersTest.java | 1137 | com.microsoft.copilot.generated.rpc.SessionMcpAppsCallToolParams.builder().serverName("server") | STRING |
| CRITICAL | …c/test/java/com/microsoft/copilot/RpcWrappersTest.java | 1173 | var params = com.microsoft.copilot.generated.rpc.SessionMcpAppsCallToolParams.builder().sessionId(null) | STRING |
| CRITICAL | …a/com/microsoft/copilot/SessionRequestBuilderTest.java | 99 | .inference(com.microsoft.copilot.generated.rpc.SessionOpenInferenceOptions.builder() | CODE |
| CRITICAL | …k/src/test/java/com/microsoft/copilot/AhpHostTest.java | 71 | for (var mode : com.microsoft.copilot.rpc.CopilotClientMode.values()) { | CODE |
| CRITICAL | …test/java/com/microsoft/copilot/CopilotClientTest.java | 212 | var assistedApprovalAssessment = com.microsoft.copilot.generated.AssistedApprovalAssessmentCompleted.builder() | CODE |
| CRITICAL | …/com/microsoft/copilot/CopilotClientTransportTest.java | 73 | .completedFuture(com.microsoft.copilot.rpc.GitHubTokenProviderResult.cancelled())); | CODE |
| CRITICAL | …c/test/java/com/microsoft/copilot/PermissionsTest.java | 435 | .setApproveAll(com.microsoft.copilot.generated.rpc.SessionPermissionsSetApproveAllParams.builder() | CODE |
| CRITICAL | …c/test/java/com/microsoft/copilot/McpOAuthE2ETest.java | 531 | java.util.concurrent.locks.LockSupport.parkNanos(TimeUnit.MILLISECONDS.toNanos(1)); | CODE |
| CRITICAL | …t/java/com/microsoft/copilot/e2e/RequireInProcess.java | 62 | return org.junit.jupiter.api.extension.ConditionEvaluationResult.disabled(reason); | CODE |
| CRITICAL | …test/java/com/microsoft/copilot/e2e/SkipInProcess.java | 58 | return org.junit.jupiter.api.extension.ConditionEvaluationResult.disabled(reason); | CODE |
| CRITICAL | …m/microsoft/copilot/tool/CopilotToolProcessorTest.java | 246 | var arguments = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode().put(name, value); | STRING |
| CRITICAL | …m/microsoft/copilot/tool/CopilotToolProcessorTest.java | 424 | var arguments = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode(); | STRING |
| CRITICAL | …rc/main/java/com/microsoft/copilot/CopilotSession.java | 3140 | * .setSupports(new com.microsoft.copilot.rpc.ModelCapabilitiesOverride.Supports().setVision(false))) | COMMENT |
| CRITICAL | …rc/main/java/com/microsoft/copilot/CopilotSession.java | 3193 | : com.microsoft.copilot.generated.rpc.ReasoningSummary.fromValue(reasoningSummary); | CODE |
| CRITICAL | …rc/main/java/com/microsoft/copilot/CopilotSession.java | 3221 | return autoTier == null ? null : com.microsoft.copilot.generated.rpc.AutoTier.fromValue(autoTier.getValue()); | CODE |
| CRITICAL | …rc/main/java/com/microsoft/copilot/CopilotSession.java | 3269 | : com.microsoft.copilot.generated.rpc.ReasoningSummary.fromValue(options.getReasoningSummary()); | CODE |
| CRITICAL | …src/main/java/com/microsoft/copilot/CopilotClient.java | 816 | com.microsoft.copilot.generated.rpc.EntraAuthConfig.builder() | CODE |
| CRITICAL | …/src/main/java/com/microsoft/copilot/rpc/AutoTier.java | 67 | return new AutoTier(com.microsoft.copilot.generated.rpc.AutoTier.fromValue(value).getValue()); | CODE |
| CRITICAL | dotnet/test/Unit/RuntimeWrapperTests.cs | 252 | return System.Runtime.InteropServices.RuntimeInformation.RuntimeIdentifier.StartsWith( | CODE |
| CRITICAL | dotnet/test/Unit/MSBuildTargetsTests.cs | 456 | return System.Runtime.InteropServices.RuntimeInformation.RuntimeIdentifier.StartsWith( | CODE |
| CRITICAL | dotnet/src/Client.cs | 3556 | options.TypeInfoResolverChain.Add(new System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver()) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | python/test_shell_authentication.py | 288 | except asyncio.CancelledError: | CODE |
| HIGH | python/test_network.py | 591 | except asyncio.CancelledError: | CODE |
| HIGH | python/test_auto_mode_recovery.py | 1281 | except asyncio.IncompleteReadError: | CODE |
| HIGH | python/copilot/_cli_download.py | 125 | except FileNotFoundError: | CODE |
| HIGH | python/copilot/_cli_download.py | 220 | except OSError: | CODE |
| HIGH | python/copilot/_cli_download.py | 528 | except OSError: | CODE |
| HIGH | python/copilot/_cli_download.py | 305 | except OSError: | CODE |
| HIGH | python/copilot/copilot_request_handler.py | 684 | except Exception: | CODE |
| HIGH | python/copilot/copilot_request_handler.py | 764 | except (asyncio.CancelledError, Exception): | CODE |
| HIGH | python/copilot/copilot_request_handler.py | 870 | except StopAsyncIteration: | CODE |
| HIGH | python/copilot/copilot_request_handler.py | 924 | except asyncio.CancelledError: | CODE |
| HIGH | python/copilot/copilot_request_handler.py | 251 | except Exception: | CODE |
| HIGH | python/copilot/copilot_request_handler.py | 265 | except Exception: | CODE |
| HIGH | python/copilot/client.py | 5983 | except Exception: | CODE |
| HIGH | python/copilot/client.py | 5990 | except Exception: | CODE |
| HIGH | python/copilot/client.py | 6690 | except OSError: | CODE |
| HIGH | python/copilot/client.py | 6697 | except OSError: | CODE |
| HIGH | python/copilot/client.py | 6701 | except OSError: | CODE |
| HIGH | python/copilot/client.py | 2963 | except subprocess.TimeoutExpired: | CODE |
| HIGH | python/copilot/session.py | 3628 | except (JsonRpcError, ProcessExitedError, OSError): | CODE |
| HIGH | python/copilot/session.py | 3546 | except (JsonRpcError, ProcessExitedError, OSError): | CODE |
| HIGH | python/copilot/session.py | 3606 | except (JsonRpcError, ProcessExitedError, OSError): | CODE |
| HIGH | python/copilot/session.py | 3674 | except (JsonRpcError, ProcessExitedError, OSError): | CODE |
| HIGH | python/copilot/session.py | 3737 | except (JsonRpcError, ProcessExitedError, OSError): | CODE |
| HIGH | python/copilot/_jsonrpc.py | 486 | except EOFError: | CODE |
| HIGH | python/copilot/_generated/session_events.py | 79 | except Exception: | CODE |
| HIGH | python/tests/test_installation_confirmation.py | 32 | except OSError: | CODE |
| HIGH | python/tests/test_installation_confirmation.py | 40 | except OSError: | CODE |
| HIGH | python/e2e/test_ui_elicitation_multi_client_e2e.py | 96 | except Exception: | CODE |
| HIGH | python/e2e/test_session_fs_e2e.py | 484 | except Exception: | CODE |
| HIGH | python/e2e/test_byok_bearer_token_provider_e2e.py | 110 | except Exception: | CODE |
| HIGH | python/e2e/test_byok_bearer_token_provider_e2e.py | 127 | except Exception: | CODE |
| HIGH | python/e2e/test_byok_bearer_token_provider_e2e.py | 133 | except Exception: | CODE |
| HIGH | python/e2e/test_multi_client_e2e.py | 90 | except Exception: | CODE |
| HIGH | python/e2e/test_multi_client_e2e.py | 97 | except Exception: | CODE |
| HIGH | python/e2e/test_copilot_request_handler_e2e.py | 266 | except Exception: | CODE |
| HIGH | python/e2e/test_suspend_e2e.py | 82 | except Exception: | CODE |
| HIGH | python/e2e/_copilot_request_helpers.py | 387 | except Exception: | CODE |
| HIGH | python/e2e/test_mcp_oauth_e2e.py | 88 | except asyncio.CancelledError: | CODE |
| HIGH | python/e2e/test_mcp_oauth_e2e.py | 76 | except asyncio.CancelledError: | CODE |
| HIGH | python/e2e/test_commands_e2e.py | 89 | except Exception: | CODE |
| HIGH | python/e2e/test_copilot_request_cancel_error_e2e.py | 93 | except Exception: # noqa: BLE001 | CODE |
| HIGH | python/e2e/test_connection_token.py | 66 | except Exception: | CODE |
| HIGH | python/e2e/test_connection_token.py | 148 | except Exception: | CODE |
| HIGH | python/e2e/test_connection_token.py | 167 | except Exception: | CODE |
| HIGH | python/e2e/testharness/proxy.py | 239 | except subprocess.TimeoutExpired: | CODE |
| HIGH | python/e2e/testharness/proxy.py | 246 | except ProcessLookupError: | CODE |
| HIGH | python/e2e/testharness/context.py | 204 | except ExceptionGroup: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/test_cli_download.py | 3 | CODE | |
| LOW | python/test_canvas.py | 3 | CODE | |
| LOW | python/test_network.py | 3 | CODE | |
| LOW | python/test_e2e_harness_cli_path.py | 3 | CODE | |
| LOW | python/test_tool_set.py | 3 | CODE | |
| LOW | python/test_telemetry.py | 3 | CODE | |
| LOW | python/test_github_token_provider.py | 1 | CODE | |
| LOW | python/copilot/_cli_download.py | 20 | CODE | |
| LOW | python/copilot/copilot_request_handler.py | 22 | CODE | |
| LOW | python/copilot/_telemetry.py | 3 | CODE | |
| LOW | python/copilot/session_fs_provider.py | 17 | CODE | |
| LOW | python/copilot/host.py | 5 | CODE | |
| LOW | python/copilot/client.py | 15 | CODE | |
| LOW | python/copilot/client.py | 41 | CODE | |
| LOW | python/copilot/tools.py | 10 | CODE | |
| LOW | python/copilot/_diagnostics.py | 3 | CODE | |
| LOW | python/copilot/session.py | 9 | CODE | |
| LOW | python/copilot/session.py | 145 | CODE | |
| LOW | python/copilot/_mode.py | 10 | CODE | |
| LOW | python/copilot/__init__.py | 10 | CODE | |
| LOW | python/copilot/__init__.py | 13 | CODE | |
| LOW | python/copilot/__init__.py | 14 | CODE | |
| LOW | python/copilot/__init__.py | 14 | CODE | |
| LOW | python/copilot/__init__.py | 14 | CODE | |
| LOW | python/copilot/__init__.py | 14 | CODE | |
| LOW | python/copilot/__init__.py | 14 | CODE | |
| LOW | python/copilot/__init__.py | 14 | CODE | |
| LOW | python/copilot/__init__.py | 14 | CODE | |
| LOW | python/copilot/__init__.py | 14 | CODE | |
| LOW | python/copilot/__init__.py | 14 | CODE | |
| LOW | python/copilot/__init__.py | 14 | CODE | |
| LOW | python/copilot/__init__.py | 14 | CODE | |
| LOW | python/copilot/__init__.py | 14 | CODE | |
| LOW | python/copilot/__init__.py | 14 | CODE | |
| LOW | python/copilot/__init__.py | 14 | CODE | |
| LOW | python/copilot/__init__.py | 14 | CODE | |
| LOW | python/copilot/__init__.py | 14 | CODE | |
| LOW | python/copilot/__init__.py | 14 | CODE | |
| LOW | python/copilot/__init__.py | 14 | CODE | |
| LOW | python/copilot/__init__.py | 14 | CODE | |
| LOW | python/copilot/__init__.py | 14 | CODE | |
| LOW | python/copilot/__init__.py | 14 | CODE | |
| LOW | python/copilot/__init__.py | 14 | CODE | |
| LOW | python/copilot/__init__.py | 14 | CODE | |
| LOW | python/copilot/__init__.py | 14 | CODE | |
| LOW | python/copilot/__init__.py | 14 | CODE | |
| LOW | python/copilot/__init__.py | 14 | CODE | |
| LOW | python/copilot/__init__.py | 14 | CODE | |
| LOW | python/copilot/__init__.py | 14 | CODE | |
| LOW | python/copilot/__init__.py | 14 | CODE | |
| LOW | python/copilot/__init__.py | 14 | CODE | |
| LOW | python/copilot/__init__.py | 14 | CODE | |
| LOW | python/copilot/__init__.py | 14 | CODE | |
| LOW | python/copilot/__init__.py | 14 | CODE | |
| LOW | python/copilot/__init__.py | 14 | CODE | |
| LOW | python/copilot/__init__.py | 14 | CODE | |
| LOW | python/copilot/__init__.py | 14 | CODE | |
| LOW | python/copilot/__init__.py | 14 | CODE | |
| LOW | python/copilot/__init__.py | 14 | CODE | |
| LOW | python/copilot/__init__.py | 14 | CODE | |
| 318 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | python/test_session_e2e_cleanup.py | 33 | assert params["prompt"] == "Run 'sleep 2 && echo done'" | CODE |
| HIGH | python/test_stdio_shutdown.py | 43 | if (status.status === 0 && status.stdout.trim().startsWith("Z")) return; | CODE |
| HIGH⚡ | python/copilot/copilot_request_handler.py | 579 | exchange._queue.push(_BodyItem(cancel=True, cancel_reason=params.cancel_reason)) | CODE |
| HIGH⚡ | python/copilot/copilot_request_handler.py | 582 | exchange._queue.push( | CODE |
| HIGH⚡ | python/copilot/copilot_request_handler.py | 589 | exchange._queue.push(_BodyItem(end=True)) | CODE |
| HIGH | python/copilot/copilot_request_handler.py | 622 | exchange._queue.push(_BodyItem(cancel=True, cancel_reason="RPC connection closed")) | CODE |
| HIGH⚡ | python/e2e/test_session_e2e.py | 1153 | "Run 'sleep 2 && echo done'", | CODE |
| HIGH | python/e2e/test_session_e2e.py | 1074 | send_task = asyncio.create_task(session.send("Run 'sleep 2 && echo done'")) | CODE |
| HIGH | python/e2e/_scenario_fake_cli.py | 19 | const captureFile = captureIndex >= 0 ? process.argv[captureIndex + 1] : undefined; | CODE |
| HIGH | python/e2e/_scenario_fake_cli.py | 45 | function writeError(id, code, message, data = null) { | CODE |
| HIGH | python/e2e/_scenario_fake_cli.py | 86 | parentId: null, | CODE |
| HIGH | python/e2e/_scenario_fake_cli.py | 103 | parentId: null, | CODE |
| HIGH | python/e2e/_scenario_fake_cli.py | 117 | parentId: null, | CODE |
| HIGH | python/e2e/_scenario_fake_cli.py | 127 | parentId: null, | CODE |
| HIGH | python/e2e/_scenario_fake_cli.py | 154 | capture.requests.push({ method: message.method, params: message.params }); | CODE |
| HIGH | python/e2e/_scenario_fake_cli.py | 189 | workspacePath: null, | CODE |
| HIGH | python/e2e/_scenario_fake_cli.py | 190 | capabilities: null, | CODE |
| HIGH | python/e2e/_scenario_fake_cli.py | 229 | workspacePath: null, | CODE |
| HIGH | python/e2e/_scenario_fake_cli.py | 230 | capabilities: null, | CODE |
| HIGH⚡ | python/e2e/_scenario_fake_cli.py | 276 | capture.callbackResponses.push(message); | CODE |
| HIGH⚡ | python/e2e/_scenario_fake_cli.py | 281 | pendingCreateId = undefined; | CODE |
| HIGH⚡ | python/e2e/_scenario_fake_cli.py | 284 | workspacePath: null, | CODE |
| HIGH⚡ | python/e2e/_scenario_fake_cli.py | 285 | capabilities: null, | CODE |
| HIGH⚡ | python/e2e/_scenario_fake_cli.py | 298 | pendingResumeId = undefined; | CODE |
| HIGH⚡ | python/e2e/_scenario_fake_cli.py | 301 | workspacePath: null, | CODE |
| HIGH⚡ | python/e2e/_scenario_fake_cli.py | 302 | capabilities: null, | CODE |
| HIGH⚡ | python/e2e/test_client_options_e2e.py | 156 | clientResponses.push(message); | CODE |
| HIGH⚡ | python/e2e/test_client_options_e2e.py | 158 | if (message.id === 9001 && extensionRegistrationId !== undefined) { | CODE |
| HIGH⚡ | python/e2e/test_client_options_e2e.py | 158 | if (message.id === 9001 && extensionRegistrationId !== undefined) { | CODE |
| HIGH⚡ | python/e2e/test_client_options_e2e.py | 160 | extensionRegistrationId = undefined; | CODE |
| HIGH⚡ | python/e2e/test_client_options_e2e.py | 164 | requests.push({ method: message.method, params: message.params }); | CODE |
| HIGH⚡ | python/e2e/test_client_options_e2e.py | 186 | writeResponse(message.id, { sessionId, workspacePath: null, capabilities: null }); | CODE |
| HIGH⚡ | python/e2e/test_client_options_e2e.py | 193 | workspacePath: null, | CODE |
| HIGH⚡ | python/e2e/test_client_options_e2e.py | 194 | capabilities: null, | CODE |
| HIGH | python/e2e/test_client_options_e2e.py | 95 | const captureFile = captureIndex >= 0 ? process.argv[captureIndex + 1] : undefined; | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | python/README.md | 1803 | print(f"Error in {input['errorContext']}: {input['error']}") | STRING |
| LOW | python/test_force_stop.py | 95 | except Exception as error: | CODE |
| MEDIUM | python/test_auto_mode_recovery.py | 1325 | def write_file(self, _path, _content, _mode=None): | CODE |
| MEDIUM | python/test_auto_mode_recovery.py | 1386 | def write_file(self, _path, _content, _mode=None): | CODE |
| MEDIUM | python/test_auto_mode_recovery.py | 1432 | def hook(_input, _invocation): | CODE |
| LOW | python/test_auto_mode_recovery.py | 1347 | except Exception as error: | CODE |
| LOW | python/test_auto_mode_recovery.py | 1395 | except Exception as error: | CODE |
| LOW | python/test_auto_mode_recovery.py | 1441 | except Exception as error: | CODE |
| MEDIUM | python/copilot/_cli_download.py | 639 | print(f"Error: {exc}", file=sys.stderr) | CODE |
| MEDIUM | python/copilot/copilot_request_handler.py | 256 | def aclose(self) -> None: | CODE |
| MEDIUM | python/copilot/copilot_request_handler.py | 847 | def _produce(self) -> None: | CODE |
| LOW⚡ | python/copilot/copilot_request_handler.py | 684 | except Exception: | CODE |
| LOW⚡ | python/copilot/copilot_request_handler.py | 875 | except Exception as exc: | CODE |
| LOW⚡ | python/copilot/copilot_request_handler.py | 885 | except Exception as exc: | CODE |
| LOW⚡ | python/copilot/copilot_request_handler.py | 889 | except Exception as exc: | CODE |
| LOW | python/copilot/copilot_request_handler.py | 244 | except Exception as exc: | CODE |
| LOW | python/copilot/copilot_request_handler.py | 251 | except Exception: | CODE |
| LOW | python/copilot/copilot_request_handler.py | 265 | except Exception: | CODE |
| LOW | python/copilot/copilot_request_handler.py | 600 | except Exception as exc: | CODE |
| LOW | python/copilot/session_fs_provider.py | 274 | except Exception as exc: | CODE |
| LOW | python/copilot/session_fs_provider.py | 287 | except Exception as exc: | CODE |
| LOW | python/copilot/session_fs_provider.py | 316 | except Exception as exc: | CODE |
| LOW | python/copilot/session_fs_provider.py | 330 | except Exception as exc: | CODE |
| LOW⚡ | python/copilot/session_fs_provider.py | 349 | except Exception as exc: | CODE |
| LOW⚡ | python/copilot/session_fs_provider.py | 356 | except Exception as exc: | CODE |
| LOW⚡ | python/copilot/session_fs_provider.py | 363 | except Exception: | CODE |
| LOW | python/copilot/session_fs_provider.py | 376 | except Exception as exc: | CODE |
| LOW⚡ | python/copilot/session_fs_provider.py | 396 | except Exception as exc: | CODE |
| LOW⚡ | python/copilot/session_fs_provider.py | 403 | except Exception as exc: | CODE |
| LOW⚡ | python/copilot/session_fs_provider.py | 411 | except Exception as exc: | CODE |
| LOW | python/copilot/session_fs_provider.py | 425 | except Exception as exc: | CODE |
| LOW | python/copilot/session_fs_provider.py | 432 | except Exception as exc: | CODE |
| LOW | python/copilot/session_fs_provider.py | 486 | except Exception as exc: | CODE |
| LOW | python/copilot/session_fs_provider.py | 512 | except Exception: | CODE |
| LOW | python/copilot/host.py | 392 | except Exception: | CODE |
| LOW | python/copilot/host.py | 395 | except Exception: | CODE |
| LOW | python/copilot/host.py | 508 | except Exception: | CODE |
| LOW | python/copilot/host.py | 563 | except Exception: | CODE |
| MEDIUM | python/copilot/host.py | 388 | def cleanup() -> None: | CODE |
| MEDIUM | python/copilot/host.py | 558 | def invoke() -> None: | CODE |
| LOW | python/copilot/client.py | 1131 | except Exception: | CODE |
| LOW | python/copilot/client.py | 2923 | except Exception as cleanup_error: | CODE |
| LOW | python/copilot/client.py | 2948 | except Exception as e: | CODE |
| LOW | python/copilot/client.py | 3075 | except Exception as e: | CODE |
| LOW | python/copilot/client.py | 3103 | except Exception as e: | CODE |
| LOW | python/copilot/client.py | 3153 | except Exception: | CODE |
| LOW | python/copilot/client.py | 3162 | except Exception: | CODE |
| LOW | python/copilot/client.py | 3284 | except Exception: | CODE |
| LOW | python/copilot/client.py | 3332 | except Exception: | CODE |
| LOW | python/copilot/client.py | 3342 | except Exception: | CODE |
| LOW | python/copilot/client.py | 4281 | except Exception: | CODE |
| LOW | python/copilot/client.py | 4336 | except Exception: | CODE |
| LOW | python/copilot/client.py | 4448 | except Exception as error: | CODE |
| LOW | python/copilot/client.py | 5983 | except Exception: | CODE |
| LOW | python/copilot/client.py | 5990 | except Exception: | CODE |
| LOW | python/copilot/client.py | 6397 | except Exception: | CODE |
| LOW | python/copilot/client.py | 7121 | except Exception as cleanup_error: | CODE |
| LOW | python/copilot/client.py | 7146 | except Exception as error: | CODE |
| LOW | python/copilot/client.py | 7161 | except Exception as error: | CODE |
| LOW | python/copilot/client.py | 7174 | except Exception as error: | CODE |
| 64 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | python/copilot/_cli_download.py | 260 | Provision a complete runtime bundle with a ``copilot[.exe]`` alias. Args: version: CLI version to download. | STRING |
| HIGH | python/copilot/client.py | 3400 | Create a new conversation session with the Copilot CLI. Sessions maintain conversation state, handle e | STRING |
| HIGH | python/copilot/client.py | 4545 | Resume an existing conversation session by its ID. This allows you to continue a previous conversation | STRING |
| HIGH | python/copilot/client.py | 5561 | Send a ping request to the server to verify connectivity. Starts the client if needed. Args: | STRING |
| HIGH | python/copilot/client.py | 5715 | List all available sessions known to the server. Returns metadata about each session including ID, tim | STRING |
| HIGH | python/copilot/client.py | 5750 | Get metadata for a specific session by ID. This provides an efficient O(1) lookup of a single session' | STRING |
| HIGH | python/copilot/client.py | 7346 | Handle a user input request from the CLI server. Args: params: The user input request para | STRING |
| HIGH | python/copilot/session.py | 1081 | Shows a generic elicitation dialog with a custom schema. Args: params: Elicitation parameters inclu | STRING |
| HIGH | python/copilot/session.py | 1105 | Shows a confirmation dialog and returns the user's boolean answer. Args: message: The question to a | STRING |
| HIGH | python/copilot/session.py | 1139 | Shows a selection dialog with a list of options. Args: message: Instruction to show the user. | STRING |
| HIGH | python/copilot/session.py | 1176 | Shows a text input dialog. Args: message: Instruction to show the user. options: Option | STRING |
| HIGH | python/copilot/session.py | 2356 | Send a message to this session. The message is processed asynchronously. Subscribe to events via :meth | STRING |
| HIGH | python/copilot/session.py | 2550 | Send a message to this session and wait for its processing to finish. Supported local runtimes correla | STRING |
| HIGH | python/copilot/session.py | 4628 | Change the Auto routing preference without changing the selected model. **Experimental.** Part of an e | STRING |
| HIGH | python/copilot/session.py | 4680 | Change the Copilot Fusion tier without changing the selected model. **Experimental.** Part of an exper | STRING |
| HIGH | python/copilot/_jsonrpc.py | 222 | Send a JSON-RPC request and wait for the response. Args: method: Method name p | STRING |
| HIGH | python/copilot/_jsonrpc.py | 558 | Read exactly num_bytes, handling partial/short reads from pipes. Args: num_bytes: Number o | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/test_session.py | 291 | CODE | |
| LOW | python/test_cli_download.py | 262 | CODE | |
| LOW | python/test_cli_download.py | 360 | CODE | |
| LOW | python/test_skill_provider.py | 644 | CODE | |
| LOW | python/test_force_stop.py | 32 | CODE | |
| LOW | python/test_replay_proxy.py | 499 | CODE | |
| LOW | python/test_replay_proxy.py | 500 | CODE | |
| LOW | python/test_jsonrpc.py | 65 | CODE | |
| LOW | python/test_jsonrpc.py | 484 | CODE | |
| LOW | python/test_jsonrpc.py | 563 | CODE | |
| LOW | python/test_jsonrpc.py | 955 | CODE | |
| LOW | python/test_jsonrpc.py | 1023 | CODE | |
| LOW | python/test_customization_directories.py | 51 | CODE | |
| LOW | python/test_auto_mode_recovery.py | 1877 | CODE | |
| LOW | python/test_client.py | 2799 | CODE | |
| LOW | python/test_client.py | 3365 | CODE | |
| LOW | python/copilot/_cli_download.py | 197 | CODE | |
| LOW | python/copilot/_cli_download.py | 259 | CODE | |
| LOW | python/copilot/_cli_download.py | 401 | CODE | |
| LOW | python/copilot/_cli_download.py | 574 | CODE | |
| LOW | python/copilot/host.py | 243 | CODE | |
| LOW | python/copilot/host.py | 327 | CODE | |
| LOW | python/copilot/client.py | 2371 | CODE | |
| LOW | python/copilot/client.py | 2868 | CODE | |
| LOW | python/copilot/client.py | 3040 | CODE | |
| LOW | python/copilot/client.py | 3246 | CODE | |
| LOW | python/copilot/client.py | 3366 | CODE | |
| LOW | python/copilot/client.py | 4510 | CODE | |
| LOW | python/copilot/client.py | 5904 | CODE | |
| LOW | python/copilot/client.py | 7125 | CODE | |
| LOW | python/copilot/client.py | 7275 | CODE | |
| LOW | python/copilot/client.py | 4163 | CODE | |
| LOW | python/copilot/client.py | 7140 | CODE | |
| LOW | python/copilot/client.py | 4324 | CODE | |
| LOW | python/copilot/client.py | 7281 | CODE | |
| LOW | python/copilot/tools.py | 185 | CODE | |
| LOW | python/copilot/tools.py | 449 | CODE | |
| LOW | python/copilot/tools.py | 268 | CODE | |
| LOW | python/copilot/tools.py | 301 | CODE | |
| LOW | python/copilot/session.py | 3306 | CODE | |
| LOW | python/copilot/session.py | 3549 | CODE | |
| LOW | python/copilot/session.py | 4304 | CODE | |
| LOW | python/copilot/_jsonrpc.py | 417 | CODE | |
| LOW | python/copilot/_jsonrpc.py | 464 | CODE | |
| LOW | python/copilot/_jsonrpc.py | 608 | CODE | |
| LOW | python/copilot/_jsonrpc.py | 423 | CODE | |
| LOW | python/copilot/_ffi_runtime_host.py | 540 | CODE | |
| LOW | python/e2e/test_ui_elicitation_multi_client_e2e.py | 108 | CODE | |
| LOW | python/e2e/test_compaction_e2e.py | 25 | CODE | |
| LOW | python/e2e/test_compaction_e2e.py | 53 | CODE | |
| LOW | python/e2e/test_host_authentication_e2e.py | 95 | CODE | |
| LOW | python/e2e/test_multi_client_e2e.py | 110 | CODE | |
| LOW | python/e2e/test_multi_provider_registry_e2e.py | 18 | CODE | |
| LOW | python/e2e/test_session_config_e2e.py | 37 | CODE | |
| LOW | python/e2e/test_session_config_e2e.py | 56 | CODE | |
| LOW | python/e2e/test_session_config_e2e.py | 194 | CODE | |
| LOW | python/e2e/test_session_fs_sqlite_e2e.py | 125 | CODE | |
| LOW | python/e2e/test_pending_work_resume_e2e.py | 529 | CODE | |
| LOW | python/e2e/timeout_diagnostics.py | 47 | CODE | |
| LOW | python/e2e/test_mcp_oauth_e2e.py | 34 | CODE | |
| 6 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | go/types.go | 494 | // Removes all SDK guardrails including security restrictions. | COMMENT |
| MEDIUM | go/rpc/zsession_events.go | 2293 | // Zero-based agentic-loop iteration the interrupt landed in | COMMENT |
| MEDIUM | go/rpc/zsession_events.go | 2443 | // True when the preceding agentic loop was cancelled via abort signal | COMMENT |
| MEDIUM | go/rpc/zsession_events.go | 2483 | // True when the preceding agentic loop was cancelled via abort signal | COMMENT |
| MEDIUM | go/rpc/zsession_events.go | 2685 | // How this message was delivered to the agentic loop relative to loop state (idle-start vs. steering/queued while busy | COMMENT |
| MEDIUM | go/rpc/zsession_events.go | 3230 | // When true, tool calls and permission requests left in flight by the previous session lifetime remain pending after r | COMMENT |
| MEDIUM | go/rpc/zsession_events.go | 3825 | // Identifier for this turn within the agentic loop, typically a stringified turn number | COMMENT |
| MEDIUM | go/rpc/zsession_events.go | 5034 | // The extension management operation (scaffold, reload) | COMMENT |
| MEDIUM | go/rpc/zsession_events.go | 5346 | // The extension management operation (scaffold, reload) | COMMENT |
| MEDIUM | go/rpc/zsession_events.go | 7957 | // How this user message was delivered to the agentic loop, relative to whether the loop was already running. This is th | COMMENT |
| MEDIUM | python/copilot/_generated/session_events.py | 16912 | # Compaction requested while switching to a model with a smaller context window, including a HydraFusion turn's rout | COMMENT |
| MEDIUM | python/copilot/_generated/session_events.py | 16942 | # Default context tier with standard context window size. | COMMENT |
| MEDIUM | python/copilot/_generated/session_events.py | 16944 | # Extended context tier with a larger context window. | COMMENT |
| MEDIUM | docs/features/custom-agents.md | 1 | # Custom agents and sub-agent orchestration | COMMENT |
| MEDIUM | docs/features/streaming-events.md | 992 | ## Quick reference: agentic turn flow | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | python/copilot/client.py | 6638 | # Create a TCP socket connection with timeout. create_connection resolves | COMMENT |
| MEDIUM | python/copilot/client.py | 6671 | # Create a file-like wrapper for the socket | COMMENT |
| MEDIUM | python/copilot/client.py | 6674 | # Create a mock process object that JsonRpcClient expects | COMMENT |
| MEDIUM | python/copilot/client.py | 2349 | >>> # Create a client with default transport (in-process runtime) | STRING |
| MEDIUM | python/copilot/client.py | 2353 | >>> # Create a session and send a message | STRING |
| MEDIUM | python/e2e/test_skills_e2e.py | 34 | # Create a skill subdirectory with SKILL.md | COMMENT |
| MEDIUM | python/e2e/test_skills_e2e.py | 38 | # Create a skill that instructs the model to include a specific marker in responses | COMMENT |
| MEDIUM | python/e2e/test_skills_e2e.py | 157 | # Create a session without skills first | COMMENT |
| MEDIUM⚡ | python/e2e/test_session_e2e.py | 389 | # Create a couple of sessions and send messages to persist them | COMMENT |
| MEDIUM⚡ | python/e2e/test_session_e2e.py | 514 | # Create a session and send a message to persist it | COMMENT |
| MEDIUM | python/e2e/test_session_e2e.py | 440 | # Create a session and send a message to persist it | COMMENT |
| MEDIUM | python/e2e/test_session_e2e.py | 478 | # Create a session and send a message to persist it | COMMENT |
| MEDIUM | python/e2e/test_hooks_e2e.py | 34 | # Create a file for the model to read | COMMENT |
| MEDIUM | python/e2e/test_hooks_e2e.py | 65 | # Create a file for the model to read | COMMENT |
| MEDIUM | python/e2e/test_hooks_e2e.py | 137 | # Create a file | COMMENT |
| MEDIUM | python/e2e/test_multi_client_e2e.py | 349 | # Create a file that the agent will try to edit | COMMENT |
| MEDIUM | python/e2e/test_subagent_hooks_e2e.py | 167 | # Create a client with the session-based subagents feature flag | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | go/internal/e2e/structured_output_e2e_test.go | 29 | ModelID: "gpt-4.1", WireModel: "gpt-4.1", APIKey: "fake-token-for-e2e-tests", | CODE |
| LOW | go/internal/e2e/runtime_host_e2e_test.go | 55 | command := map[string]any{"op": "connect", "url": *host.URL, "githubToken": "fake-token-for-e2e-tests"} | CODE |
| LOW | go/internal/e2e/session_e2e_test.go | 609 | APIKey: "fake-key", | CODE |
| LOW | go/internal/e2e/testharness/context.go | 19 | const defaultGitHubToken = "fake-token-for-e2e-tests" | CODE |
| LOW | python/e2e/test_ui_elicitation_multi_client_e2e.py | 60 | "fake-token-for-e2e-tests" if os.environ.get("GITHUB_ACTIONS") == "true" else None | CODE |
| LOW | python/e2e/test_streaming_fidelity_e2e.py | 98 | "fake-token-for-e2e-tests" if os.environ.get("GITHUB_ACTIONS") == "true" else None | CODE |
| LOW | python/e2e/test_streaming_fidelity_e2e.py | 140 | "fake-token-for-e2e-tests" if os.environ.get("GITHUB_ACTIONS") == "true" else None | CODE |
| LOW | python/e2e/test_structured_output_e2e.py | 80 | "api_key": "fake-token-for-e2e-tests", | CODE |
| LOW | python/e2e/test_client_lifecycle_e2e.py | 49 | "fake-token-for-e2e-tests" if os.environ.get("GITHUB_ACTIONS") == "true" else None | CODE |
| LOW⚡ | python/e2e/test_session_e2e.py | 577 | "api_key": "fake-key", | CODE |
| LOW⚡ | python/e2e/test_session_e2e.py | 595 | "api_key": "fake-key", | CODE |
| LOW | python/e2e/test_session_e2e.py | 267 | "fake-token-for-e2e-tests" if os.environ.get("GITHUB_ACTIONS") == "true" else None | CODE |
| LOW | python/e2e/test_session_e2e.py | 622 | "api_key": "fake-key", | CODE |
| LOW | python/e2e/test_multi_client_e2e.py | 54 | "fake-token-for-e2e-tests" if os.environ.get("GITHUB_ACTIONS") == "true" else None | CODE |
| LOW | python/e2e/test_telemetry_e2e.py | 72 | "fake-token-for-e2e-tests" if os.environ.get("GITHUB_ACTIONS") == "true" else None | CODE |
| LOW | python/e2e/test_telemetry_e2e.py | 185 | "token": "fake-token-for-e2e-tests" | CODE |
| LOW | python/e2e/test_mode_empty_e2e.py | 34 | "token": "fake-token-for-e2e-tests" | CODE |
| LOW | python/e2e/test_copilot_request_handler_e2e.py | 250 | "fake-token-for-e2e-tests" if os.environ.get("GITHUB_ACTIONS") == "true" else None | CODE |
| LOW | python/e2e/test_suspend_e2e.py | 31 | "fake-token-for-e2e-tests" if os.environ.get("GITHUB_ACTIONS") == "true" else None | CODE |
| LOW | python/e2e/_copilot_request_helpers.py | 360 | "fake-token-for-e2e-tests" if os.environ.get("GITHUB_ACTIONS") == "true" else None | CODE |
| LOW | python/e2e/test_subagent_hooks_e2e.py | 171 | "fake-token-for-e2e-tests" if os.environ.get("GITHUB_ACTIONS") == "true" else None | CODE |
| LOW | python/e2e/test_commands_e2e.py | 53 | "fake-token-for-e2e-tests" if os.environ.get("GITHUB_ACTIONS") == "true" else None | CODE |
| LOW | python/e2e/test_connection_token.py | 45 | "fake-token-for-e2e-tests" if os.environ.get("GITHUB_ACTIONS") == "true" else None | CODE |
| LOW | python/e2e/testharness/context.py | 62 | DEFAULT_GITHUB_TOKEN = "fake-token-for-e2e-tests" | CODE |
| LOW | …est/java/com/microsoft/copilot/ExecutorWiringTest.java | 94 | .setExecutor(executor).getGitHub().setToken("fake-token-for-e2e-tests")); | CODE |
| LOW | …ava/com/microsoft/copilot/StructuredOutputE2ETest.java | 75 | .setModelId("gpt-4.1").setWireModel("gpt-4.1").setApiKey("fake-token-for-e2e-tests") | CODE |
| LOW | …a/com/microsoft/copilot/CopilotRequestTestSupport.java | 90 | ctx.setCopilotUserByToken("fake-token-for-e2e-tests", "e2e-user", "individual_pro", ctx.getProxyUrl(), | CODE |
| LOW | …src/test/java/com/microsoft/copilot/RuntimeHostIT.java | 157 | Map.of("op", "connect", "url", host.getUrl(), "githubToken", "fake-token-for-e2e-tests")); | CODE |
| LOW | …rc/test/java/com/microsoft/copilot/E2ETestContext.java | 75 | private static final String DEFAULT_GITHUB_TOKEN = "fake-token-for-e2e-tests"; | CODE |
| LOW | dotnet/test/Harness/E2ETestContext.cs | 17 | private const string DefaultGitHubToken = "fake-token-for-e2e-tests"; | CODE |
| LOW | dotnet/test/E2E/RuntimeHostE2ETests.cs | 131 | ["githubToken"] = "fake-token-for-e2e-tests" | CODE |
| LOW | dotnet/test/E2E/SessionE2ETests.cs | 1017 | { GitHub = new SessionGitHubOptions { Capi = new CapiSessionOptions { Enabled = false } }, Model = "claude-sonne | CODE |
| LOW | dotnet/test/E2E/SessionE2ETests.cs | 1036 | { GitHub = new SessionGitHubOptions { Capi = new CapiSessionOptions { Enabled = false } }, Model = "claude-sonne | CODE |
| LOW | dotnet/test/E2E/SessionE2ETests.cs | 1059 | { GitHub = new SessionGitHubOptions { Capi = new CapiSessionOptions { Enabled = false } }, Inference = ByokTestO | CODE |
| LOW | dotnet/test/E2E/StructuredOutputE2ETests.cs | 39 | ApiKey = System.Environment.GetEnvironmentVariable("GITHUB_ACTIONS") == "true" ? "fake-token-for-e2e-tes | CODE |
| LOW | dotnet/test/E2E/ElicitationE2ETests.cs | 389 | Default = "user@example.com", | CODE |
| LOW | dotnet/test/E2E/ElicitationE2ETests.cs | 397 | Assert.Equal("user@example.com", options.Default); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | nodejs/docs/agent-author.md | 7 | ### Step 1: Scaffold the extension | COMMENT |
| LOW⚡ | nodejs/docs/agent-author.md | 18 | ### Step 2: Edit the extension file | COMMENT |
| LOW⚡ | nodejs/docs/agent-author.md | 26 | ### Step 3: Reload extensions | COMMENT |
| LOW⚡ | nodejs/docs/agent-author.md | 34 | ### Step 4: Verify | COMMENT |
| LOW | docs/getting-started.md | 29 | ## Step 1: install the SDK | COMMENT |
| LOW | docs/getting-started.md | 150 | ## Step 2: send your first message | COMMENT |
| LOW | docs/getting-started.md | 411 | ## Step 3: add streaming responses | COMMENT |
| LOW | docs/getting-started.md | 1004 | ## Step 4: add a custom tool | COMMENT |
| LOW | docs/getting-started.md | 1465 | ## Step 5: build an interactive assistant | COMMENT |
| LOW | docs/setup/github-oauth.md | 75 | ## Step 1: create a GitHub OAuth app | COMMENT |
| LOW | docs/setup/github-oauth.md | 89 | ## Step 2: implement the OAuth flow | COMMENT |
| LOW | docs/setup/github-oauth.md | 115 | ## Step 3: pass the token to the SDK | COMMENT |
| LOW | docs/setup/backend-services.md | 62 | ## Step 1: start the runtime server | COMMENT |
| LOW | docs/setup/backend-services.md | 138 | ## Step 2: connect the SDK | COMMENT |
| LOW | docs/integrations/microsoft-agent-framework.md | 200 | // Step 1: Code review session | COMMENT |
| LOW | docs/integrations/microsoft-agent-framework.md | 213 | // Step 2: Documentation session using review output | COMMENT |
| LOW | .github/workflows/release-changelog.md | 44 | ### Step 1: Identify the version range | COMMENT |
| LOW | .github/workflows/release-changelog.md | 60 | ### Step 2: Gather changes | COMMENT |
| LOW | .github/workflows/release-changelog.md | 72 | ### Step 3: Categorize and write up | COMMENT |
| LOW | .github/workflows/release-changelog.md | 87 | ### Step 4: Update the GitHub Release | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/test_client_start.py | 768 | async def _settle(task: asyncio.Task) -> None: | CODE |
| LOW⚡ | python/test_network.py | 61 | def set_request_handler(self, method: str, handler: Any, **_options: Any) -> None: | CODE |
| LOW⚡ | python/test_network.py | 64 | def set_raw_request_handler(self, method: str, handler: Any) -> None: | CODE |
| LOW⚡ | python/test_network.py | 67 | def set_notification_method_handler(self, method: str, handler: Any) -> None: | CODE |
| LOW⚡ | python/test_github_token_provider.py | 55 | def set_request_handler(self, method: str, handler: Any, **_options: Any) -> None: | CODE |
| LOW⚡ | python/test_github_token_provider.py | 58 | def set_raw_request_handler(self, method: str, handler: Any) -> None: | CODE |
| LOW⚡ | python/test_github_token_provider.py | 61 | def set_notification_method_handler(self, method: str, handler: Any) -> None: | CODE |
| LOW | python/copilot/copilot_request_handler.py | 446 | def set_context(self, params: LlmInferenceHTTPRequestStartRequest) -> None: | CODE |
| LOW | python/copilot/host.py | 44 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/copilot/host.py | 129 | async def set_allow_creating_new_sessions(self, allowed: bool) -> None: | CODE |
| LOW⚡ | python/copilot/client.py | 7264 | async def _set_llm_inference_provider(self) -> None: | CODE |
| LOW | python/copilot/client.py | 175 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/copilot/client.py | 5868 | async def set_foreground_session_id(self, session_id: str) -> None: | CODE |
| LOW | python/copilot/client.py | 6793 | async def _set_session_fs_provider(self) -> None: | CODE |
| LOW⚡ | python/copilot/session.py | 2219 | def _set_disconnect_callback(self, callback: Callable[[], None]) -> None: | CODE |
| LOW⚡ | python/copilot/session.py | 2223 | def _set_release_from_client(self, release: Callable[[CopilotSession], None]) -> None: | CODE |
| LOW | python/copilot/session.py | 131 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/copilot/session.py | 2479 | async def set_tools(self, tools: list[Tool]) -> None: | CODE |
| LOW | python/copilot/session.py | 3823 | def _set_open_canvases(self, instances: list[OpenCanvasInstance]) -> None: | CODE |
| LOW | python/copilot/session.py | 3851 | def _set_capabilities(self, capabilities: SessionCapabilities | None) -> None: | CODE |
| LOW | python/copilot/__init__.py | 340 | __all__ = [ | CODE |
| LOW | python/copilot/rpc.py | 20 | __all__ = [ | CODE |
| LOW | python/copilot/_jsonrpc.py | 20 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/copilot/_jsonrpc.py | 83 | def set_event() -> None: | CODE |
| LOW | python/copilot/entra.py | 19 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/copilot/installation_confirmation.py | 19 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/copilot/canvas.py | 34 | __all__ = [ | CODE |
| LOW | python/copilot/_generated/session_events.py | 18576 | __all__ = [ | CODE |
| LOW | python/copilot/_generated/lifecycle_diagnostics.py | 408 | __all__ = [ | CODE |
| LOW | python/e2e/testharness/proxy.py | 163 | async def set_copilot_user_by_token(self, token: str, response: dict[str, Any]) -> None: | CODE |
| LOW | python/e2e/testharness/__init__.py | 7 | __all__ = [ | CODE |
| LOW | python/e2e/testharness/context.py | 307 | async def set_copilot_user_by_token(self, token: str, response: dict[str, Any]) -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | python/test_session.py | 0 | a host-defined baseexception that is not an exception, like pytest's ``failed``. | STRING |
| HIGH | python/test_skill_provider.py | 0 | a host-defined baseexception that is not an exception, like pytest's ``failed``. | STRING |
| HIGH | python/test_memory_store.py | 0 | a host-defined baseexception that is not an exception, like pytest's ``failed``. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | go/cmd/bundler/main.go | 857 | // Code generated by copilot-sdk bundler; DO NOT EDIT. | COMMENT |
| HIGH | …a/com/microsoft/copilot/tool/CopilotToolProcessor.java | 239 | out.println("// GENERATED by CopilotToolProcessor — do not edit"); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …/main/java/com/microsoft/copilot/rpc/AzureOptions.java | 21 | * .setApiKey("your-api-key").setAzure(new AzureOptions().setApiVersion("2024-02-01")); | COMMENT |
| HIGH | dotnet/README.md | 1527 | ApiKey = "your-api-key" | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/copilot/client.py | 891 | CODE | |
| LOW | python/copilot/client.py | 2371 | CODE | |
| LOW | python/copilot/client.py | 3366 | CODE | |
| LOW | python/copilot/client.py | 4510 | CODE | |
| LOW | python/copilot/tools.py | 134 | CODE | |
| LOW | python/copilot/tools.py | 150 | CODE | |
| LOW | python/copilot/tools.py | 168 | CODE | |
| LOW | python/copilot/tools.py | 185 | CODE | |
| LOW | python/copilot/session.py | 2343 | CODE | |
| LOW | python/copilot/session.py | 2536 | CODE | |
| LOW | python/copilot/session.py | 2876 | CODE | |
| LOW | python/e2e/test_client_options_e2e.py | 44 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | python/e2e/testharness/proxy.py | 37 | # The harness server is in the shared test directory | COMMENT |
| MEDIUM | …c/test/java/com/microsoft/copilot/SlashCommandsIT.java | 48 | * {@link TestUtil#findCliPath()} so the test harness binary is found in CI. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/copilot/client.py | 2957 | # Check if process exited and capture any remaining stderr | COMMENT |
| LOW | python/copilot/client.py | 6692 | # Close the file wrapper — makefile() holds its own | COMMENT |
| LOW | python/copilot/_jsonrpc.py | 610 | # Check if it's a response to our request | COMMENT |
| LOW | python/copilot/_jsonrpc.py | 662 | # Check if it's a notification from the server | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/copilot/entra.py | 77 | async def handle_request(self, message: dict) -> None: | CODE |
| LOW | python/copilot/installation_confirmation.py | 71 | async def handle_request(self, message: dict) -> None: | CODE |
| LOW | python/e2e/_scenario_fake_cli.py | 153 | function handleRequest(message) { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | go/session.go | 39 | // Example usage: | COMMENT |