← Back to scan
File as GitHub Issue repo: github/copilot-sdk

Push this scan report to github/copilot-sdk

Click the green button below to open GitHub’s new-issue form, pre-filled with the report title, summary table, top findings, and an embedded score-card image. No authentication needed — you review on GitHub before submitting. Repobility is credited as the scanner.

Embedded score card image

This image will render at the top of the issue body. Hosted on Repobility, refreshes automatically after re-scans.

Repobility score card

Issue title

Workflow uses `secrets.COPILOT_DEVELOPER_CLI_INTEGRATION_HMAC_KEY` on a `pull_request` tri

Curate findings to include

Pick exactly which findings appear in the issue body. By default the top 5 are included. Uncheck noise, check what matters.

Top 5 (default)
Severity Rule Title File:line
CRIT MINED116 Workflow uses `secrets.COPILOT_DEVELOPER_CLI_INTEGRATION_HMAC_KEY` on a `pull_request` tr… .github/workflows/python-sdk-tests.yml:91
CRIT MINED116 Workflow uses `secrets.COPILOT_GITHUB_TOKEN` on a `pull_request` trigger .github/workflows/java-codegen-check.yml:196
CRIT MINED116 Workflow uses `secrets.COPILOT_GITHUB_TOKEN` on a `pull_request` trigger .github/workflows/java-codegen-check.yml:112
CRIT MINED116 Workflow uses `secrets.COPILOT_DEVELOPER_CLI_INTEGRATION_HMAC_KEY` on a `pull_request` tr… .github/workflows/rust-sdk-tests.yml:122
CRIT MINED116 Workflow uses `secrets.COPILOT_DEVELOPER_CLI_INTEGRATION_HMAC_KEY` on a `pull_request` tr… .github/workflows/go-sdk-tests.yml:83
CRIT MINED116 Workflow uses `secrets.COPILOT_DEVELOPER_CLI_INTEGRATION_HMAC_KEY` on a `pull_request` tr… .github/workflows/dotnet-sdk-tests.yml:85
CRIT MINED116 Workflow uses `secrets.GH_AW_GITHUB_TOKEN` on a `pull_request` trigger .github/workflows/sdk-consistency-revie…:1405
CRIT MINED116 Workflow uses `secrets.COPILOT_GITHUB_TOKEN` on a `pull_request` trigger .github/workflows/sdk-consistency-revie…:1267
CRIT MINED116 Workflow uses `secrets.GH_AW_GITHUB_TOKEN` on a `pull_request` trigger .github/workflows/sdk-consistency-revie…:1119
CRIT MINED116 Workflow uses `secrets.GH_AW_GITHUB_TOKEN` on a `pull_request` trigger .github/workflows/sdk-consistency-revie…:1082
CRIT MINED116 Workflow uses `secrets.GH_AW_GITHUB_TOKEN` on a `pull_request` trigger .github/workflows/sdk-consistency-revie…:1067
CRIT MINED116 Workflow uses `secrets.GH_AW_GITHUB_TOKEN` on a `pull_request` trigger .github/workflows/sdk-consistency-revie…:1052
CRIT MINED116 Workflow uses `secrets.GH_AW_GITHUB_TOKEN` on a `pull_request` trigger .github/workflows/sdk-consistency-revie…:1035
CRIT MINED116 Workflow uses `secrets.GH_AW_GITHUB_TOKEN` on a `pull_request` trigger .github/workflows/sdk-consistency-revie…:856
CRIT MINED116 Workflow uses `secrets.GH_AW_GITHUB_MCP_SERVER_TOKEN` on a `pull_request` trigger .github/workflows/sdk-consistency-revie…:855
CRIT MINED116 Workflow uses `secrets.COPILOT_GITHUB_TOKEN` on a `pull_request` trigger .github/workflows/sdk-consistency-revie…:854
CRIT MINED116 Workflow uses `secrets.GH_AW_GITHUB_MCP_SERVER_TOKEN` on a `pull_request` trigger .github/workflows/sdk-consistency-revie…:802
CRIT MINED116 Workflow uses `secrets.COPILOT_GITHUB_TOKEN` on a `pull_request` trigger .github/workflows/sdk-consistency-revie…:791
CRIT MINED116 Workflow uses `secrets.GH_AW_GITHUB_MCP_SERVER_TOKEN` on a `pull_request` trigger .github/workflows/sdk-consistency-revie…:675
CRIT MINED116 Workflow uses `secrets.GH_AW_GITHUB_MCP_SERVER_TOKEN` on a `pull_request` trigger .github/workflows/sdk-consistency-revie…:443
CRIT MINED116 Workflow uses `secrets.GH_AW_GITHUB_TOKEN` on a `pull_request` trigger .github/workflows/sdk-consistency-revie…:442
CRIT MINED116 Workflow uses `secrets.GH_AW_GITHUB_MCP_SERVER_TOKEN` on a `pull_request` trigger .github/workflows/sdk-consistency-revie…:426
CRIT MINED116 Workflow uses `secrets.GH_AW_GITHUB_MCP_SERVER_TOKEN` on a `pull_request` trigger .github/workflows/sdk-consistency-revie…:424
CRIT MINED116 Workflow uses `secrets.COPILOT_GITHUB_TOKEN` on a `pull_request` trigger .github/workflows/sdk-consistency-revie…:146
CRIT MINED116 Workflow uses `secrets.COPILOT_DEVELOPER_CLI_INTEGRATION_HMAC_KEY` on a `pull_request` tr… .github/workflows/nodejs-sdk-tests.yml:80
HIGH MINED003 [MINED003] Rust Unwrap In Prod: .unwrap() panics if None/Err. Acceptable in tests; risky … rust/src/subscription.rs:247
HIGH MINED003 [MINED003] Rust Unwrap In Prod: .unwrap() panics if None/Err. Acceptable in tests; risky … rust/src/permission.rs:182
HIGH MINED003 [MINED003] Rust Unwrap In Prod: .unwrap() panics if None/Err. Acceptable in tests; risky … rust/src/canvas.rs:217
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… python/scripts/build-wheels.mjs:111
HIGH MINED006 [MINED006] Overcatch Baseexception: except BaseException: ... — prevents Ctrl+C and Syste… python/samples/chat.py:52
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… java/src/main/java/com/github/copilot/r…:143
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… java/src/main/java/com/github/copilot/r…:69
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… java/src/main/java/com/github/copilot/r…:108
HIGH MINED016 [MINED016] Go Error Ignored: _, err := fn() with err not checked. Go anti-pattern. go/samples/manual_tool_resume/main.go:122
HIGH MINED016 [MINED016] Go Error Ignored: _, err := fn() with err not checked. Go anti-pattern. go/internal/jsonrpc2/frame.go:90
HIGH MINED016 [MINED016] Go Error Ignored: _, err := fn() with err not checked. Go anti-pattern. go/internal/embeddedcli/embeddedcli.go:142
HIGH MINED110 Blocking call `input` inside async function `main` python/samples/chat.py:35
HIGH MINED128 go.mod replaces `github.com/github/copilot-sdk/go` — points to a LOCAL path go/samples/go.mod:17
HIGH MINED115 Action `actions/setup-dotnet` pinned to mutable ref `@v5` .github/workflows/copilot-setup-steps.y…:61
HIGH MINED115 Action `actions/setup-go` pinned to mutable ref `@v6` .github/workflows/copilot-setup-steps.y…:55
HIGH MINED115 Action `astral-sh/setup-uv` pinned to mutable ref `@v7` .github/workflows/copilot-setup-steps.y…:49
HIGH MINED115 Action `actions/setup-python` pinned to mutable ref `@v6` .github/workflows/copilot-setup-steps.y…:43
HIGH MINED115 Action `actions/setup-node` pinned to mutable ref `@v6` .github/workflows/copilot-setup-steps.y…:32
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6.0.2` .github/workflows/copilot-setup-steps.y…:28
HIGH MINED115 Action `actions/setup-java` pinned to mutable ref `@v4` .github/workflows/docs-validation.yml:142
HIGH MINED115 Action `actions/setup-node` pinned to mutable ref `@v6` .github/workflows/docs-validation.yml:138
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/docs-validation.yml:137
HIGH MINED115 Action `actions/setup-dotnet` pinned to mutable ref `@v5` .github/workflows/docs-validation.yml:115
HIGH MINED115 Action `actions/setup-node` pinned to mutable ref `@v6` .github/workflows/docs-validation.yml:111
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/docs-validation.yml:110
HIGH MINED115 Action `actions/setup-go` pinned to mutable ref `@v6` .github/workflows/docs-validation.yml:91
HIGH MINED115 Action `actions/setup-node` pinned to mutable ref `@v6` .github/workflows/docs-validation.yml:87
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/docs-validation.yml:86
HIGH MINED115 Action `astral-sh/setup-uv` pinned to mutable ref `@v7` .github/workflows/docs-validation.yml:64
HIGH MINED115 Action `actions/setup-python` pinned to mutable ref `@v6` .github/workflows/docs-validation.yml:58
HIGH MINED115 Action `actions/setup-node` pinned to mutable ref `@v6` .github/workflows/docs-validation.yml:54
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/docs-validation.yml:53
HIGH MINED115 Action `actions/setup-node` pinned to mutable ref `@v6` .github/workflows/docs-validation.yml:29
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/docs-validation.yml:28
HIGH MINED115 Action `actions/setup-node` pinned to mutable ref `@v4` .github/workflows/corrections-tests.yml:22
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v4` .github/workflows/corrections-tests.yml:21
HIGH MINED115 Action `actions/setup-node` pinned to mutable ref `@v6` .github/workflows/nodejs-sdk-tests.yml:49
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6.0.2` .github/workflows/nodejs-sdk-tests.yml:48
HIGH MINED122 package.json dep `@github/copilot-sdk` pulled from URL/Git nodejs/samples/package.json:1
HIGH GO-2026-5039 stdlib: GO-2026-5039 go/samples/go.mod
HIGH GO-2026-5038 stdlib: GO-2026-5038 go/samples/go.mod
HIGH GO-2026-5037 stdlib: GO-2026-5037 go/samples/go.mod
HIGH GO-2026-4986 stdlib: GO-2026-4986 go/samples/go.mod
HIGH GO-2026-4982 stdlib: GO-2026-4982 go/samples/go.mod
HIGH GO-2026-4981 stdlib: GO-2026-4981 go/samples/go.mod
HIGH GO-2026-4980 stdlib: GO-2026-4980 go/samples/go.mod
HIGH GO-2026-4977 stdlib: GO-2026-4977 go/samples/go.mod
HIGH GO-2026-4976 stdlib: GO-2026-4976 go/samples/go.mod
HIGH GO-2026-4971 stdlib: GO-2026-4971 go/samples/go.mod
HIGH GO-2026-4947 stdlib: GO-2026-4947 go/samples/go.mod
HIGH GO-2026-4946 stdlib: GO-2026-4946 go/samples/go.mod
HIGH GO-2026-4918 stdlib: GO-2026-4918 go/samples/go.mod
HIGH GO-2026-4870 stdlib: GO-2026-4870 go/samples/go.mod
HIGH GO-2026-4869 stdlib: GO-2026-4869 go/samples/go.mod
HIGH GO-2026-4865 stdlib: GO-2026-4865 go/samples/go.mod
HIGH GO-2026-4864 stdlib: GO-2026-4864 go/samples/go.mod
HIGH GO-2026-4603 stdlib: GO-2026-4603 go/samples/go.mod
HIGH GO-2026-4602 stdlib: GO-2026-4602 go/samples/go.mod
HIGH GO-2026-4601 stdlib: GO-2026-4601 go/samples/go.mod
HIGH GO-2026-5039 stdlib: GO-2026-5039 go/go.mod
HIGH GO-2026-5038 stdlib: GO-2026-5038 go/go.mod
HIGH GO-2026-5037 stdlib: GO-2026-5037 go/go.mod
HIGH GO-2026-4986 stdlib: GO-2026-4986 go/go.mod
HIGH GO-2026-4982 stdlib: GO-2026-4982 go/go.mod
HIGH GO-2026-4981 stdlib: GO-2026-4981 go/go.mod
HIGH GO-2026-4980 stdlib: GO-2026-4980 go/go.mod
HIGH GO-2026-4977 stdlib: GO-2026-4977 go/go.mod
HIGH GO-2026-4976 stdlib: GO-2026-4976 go/go.mod
HIGH GO-2026-4971 stdlib: GO-2026-4971 go/go.mod
HIGH GO-2026-4947 stdlib: GO-2026-4947 go/go.mod
HIGH GO-2026-4946 stdlib: GO-2026-4946 go/go.mod
HIGH GO-2026-4918 stdlib: GO-2026-4918 go/go.mod
HIGH GO-2026-4870 stdlib: GO-2026-4870 go/go.mod
HIGH GO-2026-4869 stdlib: GO-2026-4869 go/go.mod
HIGH GO-2026-4865 stdlib: GO-2026-4865 go/go.mod
HIGH GO-2026-4864 stdlib: GO-2026-4864 go/go.mod
HIGH GO-2026-4603 stdlib: GO-2026-4603 go/go.mod
HIGH GO-2026-4602 stdlib: GO-2026-4602 go/go.mod
HIGH GO-2026-4601 stdlib: GO-2026-4601 go/go.mod
HIGH SEC013 [SEC013] Path Traversal — User Input in File Path: User-controlled input used in file pat… rust/src/canvas.rs:229
HIGH SEC013 [SEC013] Path Traversal — User Input in File Path: User-controlled input used in file pat… python/copilot/canvas.py:152
HIGH SEC013 [SEC013] Path Traversal — User Input in File Path: User-controlled input used in file pat… go/canvas.go:95
HIGH AGT003 User-editable role instructions are inserted into the system prompt python/copilot/generated/session_events…:6878
HIGH AGT003 User-editable role instructions are inserted into the system prompt nodejs/src/generated/session-events.ts:463
MED SEC012 [SEC012] ZipSlip — Archive Path Traversal: Archive extraction without path validation all… python/scripts/build-wheels.mjs:258
MED MINED111 Bare except continues silently python/copilot/session.py:1709
MED MINED111 Bare except continues silently python/copilot/session.py:1658
MED MINED111 Bare except continues silently python/copilot/session_fs_provider.py:303
MED MINED111 Bare except continues silently python/copilot/session_fs_provider.py:262
MED MINED111 Bare except continues silently python/copilot/session_fs_provider.py:255
MED MINED111 Bare except continues silently python/copilot/session_fs_provider.py:241
MED MINED111 Bare except continues silently python/copilot/session_fs_provider.py:233
MED MINED111 Bare except continues silently python/copilot/session_fs_provider.py:226
MED MINED111 Bare except continues silently python/copilot/session_fs_provider.py:206
MED MINED111 Bare except continues silently python/copilot/session_fs_provider.py:193
MED MINED111 Bare except continues silently python/copilot/session_fs_provider.py:186
MED MINED111 Bare except continues silently python/copilot/session_fs_provider.py:179
MED MINED111 Bare except continues silently python/copilot/session_fs_provider.py:171
MED MINED111 Bare except continues silently python/copilot/tools.py:218
MED DEPCUR-NPM npm package `vscode-jsonrpc` is 1 major version(s) behind (8.2.1 -> 9.0.0) nodejs/package.json
MED AGT013 Agent auto-approve or skip-permissions mode is easy to enable .github/workflows/java-smoke-test.yml:77
LOW SEC132 [SEC132] String concat where the language has interpolation (AI style drift): String buil… java/src/main/java/com/github/copilot/r…:112
LOW ERR003 [ERR003] Ignored Error (Go): Ignoring error return values. go/mode_empty.go:262
LOW ERR003 [ERR003] Ignored Error (Go): Ignoring error return values. go/internal/flock/flock.go:13
LOW COMP001 [COMP001] High cognitive complexity: Function `main` has cognitive complexity 10 (SonarSo… python/samples/chat.py:15
LOW COMP001 [COMP001] High cognitive complexity: Function `_system_message_for_mode` has cognitive co… python/copilot/_mode.py:139
LOW COMP001 [COMP001] High cognitive complexity: Function `_post_create_options_patch` has cognitive … python/copilot/_mode.py:261
LOW DEPCUR-NPM npm package `tsx` is minor version(s) behind (4.21.0 -> 4.22.4) java/scripts/codegen/package.json
LOW DEPCUR-NPM npm package `tsx` is minor version(s) behind (4.21.0 -> 4.22.4) nodejs/samples/package.json
LOW DEPCUR-NPM npm package `tsx` is minor version(s) behind (4.21.0 -> 4.22.4) scripts/codegen/package.json
LOW DEPCUR-NPM npm package `@actions/github` is minor version(s) behind (9.0.0 -> 9.1.1) scripts/corrections/package.json
LOW DEPCUR-NPM npm package `tsx` is minor version(s) behind (4.21.0 -> 4.22.4) scripts/docs-validation/package.json
LOW DEPCUR-NPM npm package `tsx` is minor version(s) behind (4.21.0 -> 4.22.4) test/harness/package.json
LOW DEPCUR-NPM npm package `@modelcontextprotocol/sdk` is minor version(s) behind (1.26.0 -> 1.29.0) test/harness/package.json
LOW DEPCUR-NPM npm package `tsx` is minor version(s) behind (4.21.0 -> 4.22.4) nodejs/package.json
LOW DEPCUR-NPM npm package `semver` is minor version(s) behind (7.7.3 -> 7.8.2) nodejs/package.json
LOW DEPCUR-NPM npm package `esbuild` is minor version(s) behind (0.27.2 -> 0.28.0) nodejs/package.json
LOW DEPCUR-NPM npm package `@platformatic/vfs` is minor version(s) behind (0.3.0 -> 0.4.0) nodejs/package.json
LOW AIC003 Duplicated implementation block across source files rust/src/session_fs_dispatch.rs:22
LOW AIC003 Duplicated implementation block across source files java/src/main/java/com/github/copilot/r…:15
INFO MINED066 [MINED066] Rust Panic Macro: panic!() unwinds the stack. Use Result for recoverable error… rust/src/subscription.rs:268
INFO MINED064 [MINED064] Python Input Call: input() blocks for stdin. Inappropriate in services. python/samples/chat.py:35
INFO MINED062 [MINED062] Python Dataclass No Fields: @dataclass over an empty class — unfinished model. python/copilot/session_fs_provider.py:44
INFO MINED062 [MINED062] Python Dataclass No Fields: @dataclass over an empty class — unfinished model. python/copilot/canvas.py:47
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … nodejs/samples/manual-tool-resume.ts:28
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … nodejs/samples/chat.ts:17
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … nodejs/examples/basic-example.ts:8
INFO MINED060 [MINED060] Go Context No Cancel: context.Background() at request handler boundary leaks g… go/samples/manual_tool_resume/main.go:103
INFO MINED060 [MINED060] Go Context No Cancel: context.Background() at request handler boundary leaks g… go/samples/chat.go:18
INFO MINED071 [MINED071] Go Panic Call: panic() crashes the process. Should return error in most cases. go/mode_empty.go:35
INFO MINED071 [MINED071] Go Panic Call: panic() crashes the process. Should return error in most cases. go/internal/embeddedcli/embeddedcli.go:36
INFO MINED071 [MINED071] Go Panic Call: panic() crashes the process. Should return error in most cases. go/definetool.go:217
INFO DEPCUR-NPM npm package `@github/copilot` is patch version(s) behind (1.0.57 -> 1.0.59) java/scripts/codegen/package.json
INFO DEPCUR-NPM npm package `@github/copilot` is patch version(s) behind (1.0.57 -> 1.0.59) test/harness/package.json
INFO DEPCUR-NPM npm package `prettier` is patch version(s) behind (3.8.1 -> 3.8.3) nodejs/package.json
INFO DEPCUR-NPM npm package `@github/copilot` is patch version(s) behind (1.0.57 -> 1.0.59) nodejs/package.json
Reset to top 5 161 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `github/copilot-sdk`

**Score: 64/100 (B-)**  ·  223 findings  ·  scanned 2026-06-04 23:18 UTC  ·  382,951 LOC

| Severity | Count |
|---|---|
| CRITICAL | 25 |
| HIGH | 84 |
| MEDIUM | 17 |
| LOW | 19 |

📊 [Full filterable report](https://repobility.com/scan/5ef0a980-c2f9-417c-a367-43c5f959e224/)  ·  ![scorecard](https://repobility.com/scan/5ef0a980-c2f9-417c-a367-43c5f959e224/report.png?v=1780615091-s2)

### Top findings

1. **CRITICAL** `MINED116` — Workflow uses `secrets.COPILOT_DEVELOPER_CLI_INTEGRATION_HMAC_KEY` on a `pull_request` tri
   `.github/workflows/python-sdk-tests.yml:91` · ✓ Repobility
2. **CRITICAL** `MINED116` — Workflow uses `secrets.COPILOT_GITHUB_TOKEN` on a `pull_request` trigger
   `.github/workflows/java-codegen-check.yml:196` · ✓ Repobility
3. **CRITICAL** `MINED116` — Workflow uses `secrets.COPILOT_GITHUB_TOKEN` on a `pull_request` trigger
   `.github/workflows/java-codegen-check.yml:112` · ✓ Repobility
4. **CRITICAL** `MINED116` — Workflow uses `secrets.COPILOT_DEVELOPER_CLI_INTEGRATION_HMAC_KEY` on a `pull_request` tri
   `.github/workflows/rust-sdk-tests.yml:122` · ✓ Repobility
5. **CRITICAL** `MINED116` — Workflow uses `secrets.COPILOT_DEVELOPER_CLI_INTEGRATION_HMAC_KEY` on a `pull_request` tri
   `.github/workflows/go-sdk-tests.yml:83` · ✓ Repobility

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/5ef0a980-c2f9-417c-a367-43c5f959e224/_
Already filed
'github' is on the known-megaproject org list. These projects use auto-triage bots and established security disclosure channels. Unsolicited automated issues from Repobility would be perceived as AI-generated spam. For security findings, follow the project's SECURITY.md policy. For non-security findings, open a focused PR or community discussion instead.
Already filed
This repo publishes a SECURITY.md policy and the scan contains 7 Critical/High security finding(s). Public issue filing would violate coordinated disclosure. Submit privately via the project's security reporting channel.
Megaproject â high spam risk
Could not determine 'github/copilot-sdk' star count (GitHub API rate-limited or unreachable). When in doubt about repo size, prefer opening a focused PR or a discussion rather than an issue.
Already filed
149/226 findings (66%) on this scan are already flagged as test-file, won't-fix, or suppressed. The scan is too noisy to file as a single issue. Curate down to specific actionable findings, or address the FP source first.

The button opens GitHubâs new-issue page in a new tab. You will see the title + body pre-filled â review, edit if you want, then click GitHubâs "Submit new issue" button. Repobility never posts anything on your behalf.

For real security findings on big repos: use the project's SECURITY.md or private advisory flow instead of a public issue.