← Back to scan
File as GitHub Issue repo: github/gh-aw

Push this scan report to github/gh-aw

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

JS: require() with non-literal

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 MINED035 [MINED035] Js New Function: new Function(...) compiles strings to functions. scripts/test-wasm-golden.mjs:71
CRIT MINED013 [MINED013] Password In Url: https://user:password@host — leaks creds via logs, referrer, … actions/setup/js/run_operation_update_u…:164
CRIT MINED013 [MINED013] Password In Url: https://user:password@host — leaks creds via logs, referrer, … actions/setup/js/push_experiment_state.…:115
CRIT MINED013 [MINED013] Password In Url: https://user:password@host — leaks creds via logs, referrer, … actions/setup/js/extra_empty_commit.cjs:149
CRIT SEC084 [SEC084] JS: require() with non-literal: require(<variable>) loads arbitrary modules — eq… actions/setup/post.js:24
CRIT SEC084 [SEC084] JS: require() with non-literal: require(<variable>) loads arbitrary modules — eq… actions/setup/js/otlp.cjs:32
CRIT SEC084 [SEC084] JS: require() with non-literal: require(<variable>) loads arbitrary modules — eq… actions/setup/index.js:59
CRIT MINED116 [MINED116] Workflow uses `secrets.GH_AW_GITHUB_TOKEN` on a `pull_request` trigger: This w… .github/workflows/smoke-agent-public-ap…:1716
CRIT MINED116 [MINED116] Workflow uses `secrets.GH_AW_AGENT_TOKEN` on a `pull_request` trigger: This wo… .github/workflows/smoke-agent-public-ap…:1714
CRIT MINED116 [MINED116] Workflow uses `secrets.ANTHROPIC_API_KEY` on a `pull_request` trigger: This wo… .github/workflows/smoke-agent-public-ap…:1499
CRIT MINED116 [MINED116] Workflow uses `secrets.GH_AW_GITHUB_TOKEN` on a `pull_request` trigger: This w… .github/workflows/smoke-agent-public-ap…:1320
CRIT MINED116 [MINED116] Workflow uses `secrets.GH_AW_GITHUB_TOKEN` on a `pull_request` trigger: This w… .github/workflows/smoke-agent-public-ap…:1298
CRIT MINED116 [MINED116] Workflow uses `secrets.GH_AW_GITHUB_TOKEN` on a `pull_request` trigger: This w… .github/workflows/smoke-agent-public-ap…:1259
CRIT MINED116 [MINED116] Workflow uses `secrets.GH_AW_GITHUB_TOKEN` on a `pull_request` trigger: This w… .github/workflows/smoke-agent-public-ap…:1244
CRIT MINED116 [MINED116] Workflow uses `secrets.GH_AW_GITHUB_TOKEN` on a `pull_request` trigger: This w… .github/workflows/smoke-agent-public-ap…:1229
CRIT MINED116 [MINED116] Workflow uses `secrets.GH_AW_GITHUB_TOKEN` on a `pull_request` trigger: This w… .github/workflows/smoke-agent-public-ap…:1212
CRIT MINED116 [MINED116] Workflow uses `secrets.GH_AW_GITHUB_TOKEN` on a `pull_request` trigger: This w… .github/workflows/smoke-agent-public-ap…:1013
CRIT MINED116 [MINED116] Workflow uses `secrets.GH_AW_GITHUB_MCP_SERVER_TOKEN` on a `pull_request` trig… .github/workflows/smoke-agent-public-ap…:1012
CRIT MINED116 [MINED116] Workflow uses `secrets.ANTHROPIC_API_KEY` on a `pull_request` trigger: This wo… .github/workflows/smoke-agent-public-ap…:1011
CRIT MINED116 [MINED116] Workflow uses `secrets.ANTHROPIC_API_KEY` on a `pull_request` trigger: This wo… .github/workflows/smoke-agent-public-ap…:954
CRIT MINED116 [MINED116] Workflow uses `secrets.GH_AW_GITHUB_MCP_SERVER_TOKEN` on a `pull_request` trig… .github/workflows/smoke-agent-public-ap…:747
CRIT MINED116 [MINED116] Workflow uses `secrets.GH_AW_GITHUB_MCP_SERVER_TOKEN` on a `pull_request` trig… .github/workflows/smoke-agent-public-ap…:507
CRIT MINED116 [MINED116] Workflow uses `secrets.GH_AW_GITHUB_MCP_SERVER_TOKEN` on a `pull_request` trig… .github/workflows/smoke-agent-public-ap…:505
CRIT MINED116 [MINED116] Workflow uses `secrets.ANTHROPIC_API_KEY` on a `pull_request` trigger: This wo… .github/workflows/smoke-agent-public-ap…:204
CRIT MINED116 [MINED116] Workflow uses `secrets.GH_AW_OTEL_GRAFANA_AUTHORIZATION` on a `pull_request` t… .github/workflows/smoke-agent-public-ap…:86
CRIT MINED116 [MINED116] Workflow uses `secrets.GH_AW_OTEL_GRAFANA_AUTHORIZATION` on a `pull_request` t… .github/workflows/smoke-agent-public-ap…:85
CRIT MINED116 [MINED116] Workflow uses `secrets.GH_AW_OTEL_SENTRY_AUTHORIZATION` on a `pull_request` tr… .github/workflows/smoke-agent-public-ap…:84
CRIT MINED116 [MINED116] Workflow uses `secrets.GH_AW_OTEL_SENTRY_ENDPOINT` on a `pull_request` trigger… .github/workflows/smoke-agent-public-ap…:81
HIGH SEC018 [SEC018] AI-Agent Secret Retrieval Command: A command that prints or embeds credentials w… pkg/parser/github.go:75
HIGH MINED016 [MINED016] Go Error Ignored: _, err := fn() with err not checked. Go anti-pattern. pkg/workflow/pip_validation.go:186
HIGH MINED016 [MINED016] Go Error Ignored: _, err := fn() with err not checked. Go anti-pattern. pkg/workflow/docker_validation.go:143
HIGH MINED016 [MINED016] Go Error Ignored: _, err := fn() with err not checked. Go anti-pattern. pkg/cli/update_command.go:127
HIGH SEC093 [SEC093] Go: exec.Command with non-literal: exec.Command(<var>) — variable command name a… pkg/cli/mcp_server.go:24
HIGH SEC093 [SEC093] Go: exec.Command with non-literal: exec.Command(<var>) — variable command name a… pkg/cli/download_workflow.go:38
HIGH SEC093 [SEC093] Go: exec.Command with non-literal: exec.Command(<var>) — variable command name a… pkg/cli/docker_images.go:74
HIGH MINED033 [MINED033] Go Recover Without Log: defer func() { recover() }() that silently swallows pa… pkg/cli/mcp_inspect_inspector.go:149
HIGH MINED033 [MINED033] Go Recover Without Log: defer func() { recover() }() that silently swallows pa… pkg/cli/docker_images.go:158
HIGH MINED033 [MINED033] Go Recover Without Log: defer func() { recover() }() that silently swallows pa… pkg/cli/compile_update_check.go:71
HIGH SEC100 [SEC100] CORS permissive Access-Control-Allow-Origin: *: Permissive CORS policy (`*` orig… actions/setup/js/mcp_http_transport.cjs:158
HIGH SEC100 [SEC100] CORS permissive Access-Control-Allow-Origin: *: Permissive CORS policy (`*` orig… actions/setup/js/mcp_http_server_runner…:41
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… actions/setup/js/create_forecast_issue.…:51
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … pkg/parser/virtual_fs.go:78
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … docs/public/wasm/compiler-loader.js:64
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … actions/setup/js/copilot_sdk_sidecar.cjs:80
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… actions/setup/js/patch_path_helpers.cjs:122
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… actions/setup/js/effective_token_limits…:19
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… actions/setup/js/comment_memory_helpers…:69
HIGH SEC083 [SEC083] JS: new RegExp() with non-literal: new RegExp(<variable>) — variable input can c… actions/setup/js/render_template.cjs:48
HIGH SEC083 [SEC083] JS: new RegExp() with non-literal: new RegExp(<variable>) — variable input can c… actions/setup/js/comment_memory_helpers…:67
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… actions/setup/js/close_older_entities.c…:84
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… actions/setup/js/apply_safe_outputs_rep…:40
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… actions/setup/js/add_workflow_run_comme…:78
HIGH MINED012 [MINED012] Curl Pipe Bash: curl ... | sh / bash — runs unverified network code. pkg/workflow/pip_validation.go:163
HIGH MINED012 [MINED012] Curl Pipe Bash: curl ... | sh / bash — runs unverified network code. pkg/cli/devcontainer.go:157
HIGH MINED012 [MINED012] Curl Pipe Bash: curl ... | sh / bash — runs unverified network code. .devcontainer/setup.sh:30
HIGH MINED117 [MINED117] Workflow declares `permissions: write-all`: The job's GITHUB_TOKEN gets EVERY … .github/workflows/permissions.yml:150
HIGH MINED126 [MINED126] Workflow container/services image `redis:7` unpinned: `container/services imag… .github/workflows/smoke-service-ports.l…:413
HIGH MINED115 [MINED115] Action `actions/setup-go` pinned to mutable ref `@v5`: `uses: actions/setup-go… .github/workflows/error-message-lint.yml:25
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/error-message-lint.yml:20
HIGH MINED115 [MINED115] Action `azure/login` pinned to mutable ref `@v2`: `uses: azure/login@v2` resol… .github/workflows/aoai-endpoint-smoke-t…:34
HIGH MINED122 [MINED122] package.json dep `@actions/github-script` pulled from URL/Git: `devDependencie… actions/setup/js/package.json:1
HIGH MINED118 [MINED118] Dockerfile FROM `mcr.microsoft.com/devcontainers/go:1-bookworm` not pinned by … .devcontainer/Dockerfile:1
HIGH MINED118 [MINED118] Dockerfile FROM `alpine:3.21` not pinned by digest: `FROM alpine:3.21` resolve… Dockerfile:5
HIGH SEC020 [SEC020] Secret Printed to Logs: Debug or diagnostic code appears to print a credential-b… pkg/workflow/copilot_engine_installatio…:45
MED SEC112 [SEC112] Go html/template bypass — text/template used for HTML output, or template.HTML o… pkg/linters/fprintlnsprintf/fprintlnspr…:19
MED SEC112 [SEC112] Go html/template bypass — text/template used for HTML output, or template.HTML o… pkg/cli/retry.go:64
MED SEC091 [SEC091] Go: net/http server without timeouts: HTTP server without ReadHeaderTimeout/Read… pkg/cli/mcp_server_http.go:80
MED SEC134 [SEC134] AI scaffold leftover — Lorem ipsum / example.com / John Doe in code: Lorem ipsum… pkg/cli/add_wizard_command.go:47
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … actions/setup/js/dynamic_checkout.cjs:95
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … actions/setup/js/comment_memory_helpers…:69
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … actions/setup/js/apply_safe_outputs_rep…:80
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. actions/setup/js/action_setup_otlp.cjs:191
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. actions/setup/js/action_conclusion_otlp…:97
MED AUC001 [AUC001] No Repobility access matrix policy found: The repository uses web/API frameworks…
MED MINED124 [MINED124] requirements.txt: `scikit-learn` has no version pin: Unpinned pip requirement … .github/workflows/requirements.txt:4
MED MINED124 [MINED124] requirements.txt: `numpy` has no version pin: Unpinned pip requirement means e… .github/workflows/requirements.txt:3
MED MINED124 [MINED124] requirements.txt: `markitdown-mcp` has no version pin: Unpinned pip requiremen… .github/workflows/requirements.txt:2
MED DKR007 Docker build context has no .dockerignore .dockerignore
MED DKR015 Docker build context is very large .dockerignore
MED DKR001 Docker final stage has no non-root USER Dockerfile:5
MED DKR001 Docker final stage has no non-root USER .devcontainer/Dockerfile:1
MED AIC001 Parallel implementation file sits beside a canonical file pkg/cli/outcome_eval_update.go:1
MED AIC004 Suspicious implementation file appears unreferenced pkg/cli/outcome_eval_update.go:1
MED AGT015 Remote install command pipes network code directly to a shell .github/workflows/daily-byok-ollama-tes…:23
MED AGT015 Remote install command pipes network code directly to a shell .github/workflows/copilot-setup-steps.y…:17
MED AGT015 Remote install command pipes network code directly to a shell .devcontainer/devcontainer.json:50
LOW ERR003 [ERR003] Ignored Error (Go): Ignoring error return values. pkg/cli/deps_outdated.go:169
LOW ERR003 [ERR003] Ignored Error (Go): Ignoring error return values. pkg/cli/deploy_command.go:54
LOW ERR003 [ERR003] Ignored Error (Go): Ignoring error return values. pkg/cli/completions.go:129
LOW SEC132 [SEC132] String concat where the language has interpolation (AI style drift): String buil… pkg/workflow/crush_engine.go:90
LOW SEC132 [SEC132] String concat where the language has interpolation (AI style drift): String buil… pkg/cli/compile_file_operations.go:105
LOW SEC132 [SEC132] String concat where the language has interpolation (AI style drift): String buil… actions/setup/js/handle_create_pr_error…:39
LOW AIC003 Duplicated implementation block across source files pkg/linters/panic-in-library-code/panic…:19
LOW AIC003 Duplicated implementation block across source files pkg/linters/ossetenvlibrary/ossetenvlib…:24
LOW AIC003 Duplicated implementation block across source files pkg/linters/ossetenvlibrary/ossetenvlib…:22
LOW AIC003 Duplicated implementation block across source files pkg/linters/osexitinlibrary/osexitinlib…:23
LOW AIC003 Duplicated implementation block across source files pkg/linters/manualmutexunlock/manualmut…:16
LOW AIC003 Duplicated implementation block across source files pkg/linters/fprintlnsprintf/fprintlnspr…:14
LOW AIC003 Duplicated implementation block across source files pkg/linters/fileclosenotdeferred/filecl…:16
LOW AIC003 Duplicated implementation block across source files pkg/cli/zizmor.go:4
LOW AIC003 Duplicated implementation block across source files pkg/cli/workflows.go:59
LOW AIC003 Duplicated implementation block across source files pkg/cli/update_container_pins.go:1
LOW AIC003 Duplicated implementation block across source files pkg/cli/trial_support.go:1
LOW AIC003 Duplicated implementation block across source files pkg/cli/trial_helpers.go:1
LOW AIC003 Duplicated implementation block across source files pkg/cli/status_command.go:112
LOW AIC003 Duplicated implementation block across source files pkg/cli/runner_guard.go:158
LOW AIC003 Duplicated implementation block across source files pkg/cli/resources.go:48
LOW AIC003 Duplicated implementation block across source files pkg/cli/packages.go:55
LOW AIC003 Duplicated implementation block across source files pkg/cli/outcome_eval_pr.go:55
LOW AIC003 Duplicated implementation block across source files pkg/cli/mcp_list_tools.go:24
LOW AIC003 Duplicated implementation block across source files pkg/cli/logs_parsing_javascript.go:69
LOW AIC003 Duplicated implementation block across source files pkg/cli/codemod_upload_assets.go:24
LOW AIC003 Duplicated implementation block across source files pkg/cli/codemod_steps_run_secrets_env.go:55
LOW AIC003 Duplicated implementation block across source files pkg/cli/codemod_playwright_domains.go:48
LOW AIC003 Duplicated implementation block across source files pkg/cli/codemod_github_repos.go:54
LOW AIC003 Duplicated implementation block across source files pkg/cli/codemod_github_repos.go:26
LOW AIC003 Duplicated implementation block across source files pkg/cli/codemod_engine_max_turns.go:39
LOW AIC003 Duplicated implementation block across source files pkg/cli/codemod_difc_proxy.go:66
LOW AIC003 Duplicated implementation block across source files pkg/cli/codemod_dependabot_permissions.…:105
LOW AIC003 Duplicated implementation block across source files pkg/cli/codemod_bash_single_quoted_args…:17
LOW AIC003 Duplicated implementation block across source files pkg/cli/codemod_assign_to_agent.go:45
LOW AIC003 Duplicated implementation block across source files .github/drivers/copilot_sdk_driver_samp…:29
LOW WEB005 robots.txt does not advertise a sitemap .github/aw/syntax-agentic.md
LOW AIC002 Source file name looks like an AI patch artifact pkg/workflow/create_project_status_upda…:1
LOW AIC002 Source file name looks like an AI patch artifact pkg/parser/workflow_update.go:1
INFO MINED071 [MINED071] Go Panic Call: panic() crashes the process. Should return error in most cases. pkg/workflow/engine_definition_loader.go:137
INFO MINED071 [MINED071] Go Panic Call: panic() crashes the process. Should return error in most cases. pkg/parser/virtual_fs.go:29
INFO MINED071 [MINED071] Go Panic Call: panic() crashes the process. Should return error in most cases. pkg/linters/panic-in-library-code/panic…:24
INFO MINED060 [MINED060] Go Context No Cancel: context.Background() at request handler boundary leaks g… pkg/cli/mcp_validation.go:188
INFO MINED060 [MINED060] Go Context No Cancel: context.Background() at request handler boundary leaks g… pkg/cli/mcp_server_command.go:171
INFO MINED060 [MINED060] Go Context No Cancel: context.Background() at request handler boundary leaks g… pkg/cli/codemod_workflow_run_branches.go:26
INFO MINED049 [MINED049] Print Pii: Logging password/token/email/ssn directly to stdout. pkg/cli/compile_compiler_setup.go:166
INFO MINED049 [MINED049] Print Pii: Logging password/token/email/ssn directly to stdout. pkg/cli/codemod_engine_env_secrets.go:82
INFO MINED049 [MINED049] Print Pii: Logging password/token/email/ssn directly to stdout. pkg/cli/add_interactive_secrets.go:14
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… actions/setup/js/convert_gateway_config…:77
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… actions/setup/js/convert_gateway_config…:62
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… actions/setup/js/convert_gateway_config…:65
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … actions/setup/js/action_setup_otlp.cjs:44
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … actions/setup/js/action_conclusion_otlp…:80
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … actions/setup/index.js:37
Reset to top 5 140 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `github/gh-aw`

**Score: 92/100 (A)**  ·  143 findings  ·  scanned 2026-06-05 14:43 UTC  ·  646,860 LOC

| Severity | Count |
|---|---|
| CRITICAL | 28 |
| HIGH | 36 |
| MEDIUM | 22 |
| LOW | 39 |

📊 [Full filterable report](https://repobility.com/scan/9488f272-c437-48f0-b23b-8dcbe61d9d74/)  ·  ![scorecard](https://repobility.com/scan/9488f272-c437-48f0-b23b-8dcbe61d9d74/report.png?v=1780670619-s2)

### Top findings

1. **CRITICAL** `MINED035` — Js New Function
   `scripts/test-wasm-golden.mjs:71` · CWE-95 · ✓ Repobility
2. **CRITICAL** `MINED013` — Password In Url
   `actions/setup/js/run_operation_update_upgrade.cjs:164` · CWE-200 · ✓ Repobility
3. **CRITICAL** `MINED013` — Password In Url
   `actions/setup/js/push_experiment_state.cjs:115` · CWE-200 · ✓ Repobility
4. **CRITICAL** `MINED013` — Password In Url
   `actions/setup/js/extra_empty_commit.cjs:149` · CWE-200 · ✓ Repobility
5. **CRITICAL** `SEC084` — JS: require() with non-literal
   `actions/setup/post.js:24`

---

**Security note**: this issue is public. If any flagged finding is a real, exploitable vulnerability, please redirect to your `SECURITY.md` policy or open a [private security advisory](https://docs.github.com/en/code-security/security-advisories/guidance-on-reporting-and-writing-information-about-vulnerabilities/privately-reporting-a-security-vulnerability) instead. We're happy to close this and re-submit privately.

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/9488f272-c437-48f0-b23b-8dcbe61d9d74/_
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 22 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/gh-aw' 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.

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.