← Back to scan
File as GitHub Issue repo: cloudflare/cloudflare-docs

Push this scan report to cloudflare/cloudflare-docs

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.CF_AI_GATEWAY_NAME` on a `pull_request` trigger

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 [MINED116] Workflow uses `secrets.CF_AI_GATEWAY_TOKEN` on a `pull_request` trigger: This … .github/workflows/bonk.yml:140
CRIT MINED116 [MINED116] Workflow uses `secrets.CF_AI_GATEWAY_NAME` on a `pull_request` trigger: This w… .github/workflows/bonk.yml:139
CRIT MINED116 [MINED116] Workflow uses `secrets.CF_AI_GATEWAY_ACCOUNT_ID` on a `pull_request` trigger: … .github/workflows/bonk.yml:138
CRIT MINED116 [MINED116] Workflow uses `secrets.CF_AI_GATEWAY_TOKEN` on a `pull_request` trigger: This … .github/workflows/bonk.yml:85
CRIT MINED116 [MINED116] Workflow uses `secrets.CF_AI_GATEWAY_NAME` on a `pull_request` trigger: This w… .github/workflows/bonk.yml:84
CRIT MINED116 [MINED116] Workflow uses `secrets.CF_AI_GATEWAY_ACCOUNT_ID` on a `pull_request` trigger: … .github/workflows/bonk.yml:83
CRIT MINED116 [MINED116] Workflow uses `secrets.GH_ORG_TOKEN` on a `pull_request` trigger: This workflo… .github/workflows/bonk.yml:35
CRIT MINED116 [MINED116] Workflow uses `secrets.CLOUDFLARE_API_TOKEN` on a `pull_request` trigger: This… .github/workflows/ci.yml:357
HIGH SEC018 [SEC018] AI-Agent Secret Retrieval Command: A command that prints or embeds credentials w… src/util/github.ts:10
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… src/components/sheet/sheet.ts:96
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… src/components/models/ModelFeatures.tsx:159
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… src/middleware/index.ts:9
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… sitemap.serializer.ts:75
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… astro.config.ts:239
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… src/plugins/expressive-code/graphql-api…:24
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… plugins/prettier-plugin-cloudflare-docs…:51
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… .github/actions/issue-label-assign/inde…:38
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … src/components/ReactSelect.tsx:63
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … .github/actions/assign-pr/index.ts:82
HIGH DKR014 Dockerfile copies the entire context without .dockerignore src/content/docs/sandbox/configuration/…:123
HIGH SEC020 [SEC020] Secret Printed to Logs: Debug or diagnostic code appears to print a credential-b… public/cloudflare-one/static/authentica…:148
HIGH MINED118 [MINED118] Dockerfile FROM `docker.io/cloudflare/sandbox:0.7.0-python` not pinned by dige… src/content/docs/sandbox/configuration/…:137
HIGH MINED118 [MINED118] Dockerfile FROM `node:20-slim` not pinned by digest: `FROM node:20-slim` resol… src/content/docs/sandbox/configuration/…:118
HIGH MINED118 [MINED118] Dockerfile FROM `your-custom-image:tag` not pinned by digest: `FROM your-custo… src/content/docs/sandbox/configuration/…:107
HIGH MINED118 [MINED118] Dockerfile FROM `docker.io/cloudflare/sandbox:0.7.0-python` not pinned by dige… src/content/docs/sandbox/configuration/…:69
HIGH MINED118 [MINED118] Dockerfile FROM `docker.io/cloudflare/sandbox:0.7.0-opencode` not pinned by di… src/content/docs/sandbox/configuration/…:31
HIGH MINED118 [MINED118] Dockerfile FROM `docker.io/cloudflare/sandbox:0.7.0-python` not pinned by dige… src/content/docs/sandbox/configuration/…:28
HIGH MINED118 [MINED118] Dockerfile FROM `docker.io/cloudflare/sandbox:0.7.0` not pinned by digest: `FR… src/content/docs/sandbox/configuration/…:25
HIGH MINED115 [MINED115] Action `ask-bonk/ask-bonk/github` pinned to mutable ref `@main`: `uses: ask-bo… .github/workflows/bigbonk.yml:55
HIGH MINED115 [MINED115] Action `ask-bonk/ask-bonk/github` pinned to mutable ref `@main`: `uses: ask-bo… .github/workflows/bonk.yml:136
HIGH MINED115 [MINED115] Action `ask-bonk/ask-bonk/github` pinned to mutable ref `@main`: `uses: ask-bo… .github/workflows/bonk.yml:81
HIGH MINED126 [MINED126] Workflow container/services image `semgrep/semgrep` unpinned: `container/servi… .github/workflows/semgrep.yml:20
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… public/cloudflare-one/static/authentica…:15
MED SEC041 [SEC041] Tabnabbing — target="_blank" without rel="noopener noreferrer": <a target="_blan… src/components/models/ModelFeatures.tsx:73
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … plugins/prettier-plugin-cloudflare-docs…:51
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … .github/actions/issue-label-assign/inde…:38
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … .flue/connectors/cloudflare-shell.ts:178
MED AUC001 [AUC001] No Repobility access matrix policy found: The repository uses web/API frameworks…
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 src/content/docs/sandbox/configuration/…:137
MED AGT007 localStorage write failures are swallowed silently src/components/realtimekit/hooks/useFra…:161
MED AGT007 localStorage write failures are swallowed silently src/components/ai-gateway/code-example-…:100
MED WEB003 Public web service has no security.txt .well-known/security.txt
LOW AIC003 Duplicated implementation block across source files src/plugins/expressive-code/workers-pla…:56
LOW AIC003 Duplicated implementation block across source files src/pages/workers-ai/models/[...schema]…:9
LOW AIC003 Duplicated implementation block across source files src/components/changelog/ProductSelect.…:16
LOW AUC005 [AUC005] No authorization-focused tests detected: No test files with common authorization…
LOW DKR011 Dockerfile installs recommended OS packages src/content/docs/sandbox/configuration/…:81
LOW WEB011 Public web app has no humans.txt humans.txt
INFO MINED071 [MINED071] Go Panic Call: panic() crashes the process. Should return error in most cases. tools/cmd/sync-github-issue-to-jira/mai…:141
INFO MINED060 [MINED060] Go Context No Cancel: context.Background() at request handler boundary leaks g… tools/cmd/sync-github-issue-to-jira/mai…:55
INFO MINED056 [MINED056] React Key As Index: key={index} in map() — re-renders the wrong elements on re… src/components/realtimekit/RTKicons/RTK…:37
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. src/util/custom-loaders.ts:92
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. src/components/ResourcesBySelector.tsx:344
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. src/plugins/rehype/shift-headings.ts:6
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. src/components/models/ModelFeatures.tsx:13
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. src/components/ResourcesBySelector.tsx:57
INFO MINED058 [MINED058] React Dangerously Set Html: dangerouslySetInnerHTML bypasses Reacts JSX escapi… src/components/DirectoryCatalog.tsx:140
INFO MINED064 [MINED064] Python Input Call: input() blocks for stdin. Inappropriate in services. public/cloudflare-one/static/authentica…:28
INFO MINED049 [MINED049] Print Pii: Logging password/token/email/ssn directly to stdout. public/cloudflare-one/static/authentica…:148
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… src/util/redirects.ts:56
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… src/plugins/expressive-code/explain-cod…:29
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… ec.config.mjs:39
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … sitemap.serializer.ts:120
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … astro.config.ts:37
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … .github/actions/check-codeowner/index.ts:54
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … .github/actions/issue-label-assign/inde…:24
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … .github/actions/assign-pr/index.ts:96
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … .flue/workflows/spam-and-off-topic-filt…:122
Reset to top 5 70 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `cloudflare/cloudflare-docs`

**Score: 87/100 (B+)**  ·  70 findings  ·  scanned 2026-06-05 17:34 UTC  ·  16,751 LOC

| Severity | Count |
|---|---|
| CRITICAL | 8 |
| HIGH | 24 |
| MEDIUM | 12 |
| LOW | 6 |

📊 [Full filterable report](https://repobility.com/scan/0b8fc6dc-dfd6-4f20-9424-e6da12a69bec/)  ·  ![scorecard](https://repobility.com/scan/0b8fc6dc-dfd6-4f20-9424-e6da12a69bec/report.png?v=1780680849-s2)

### Top findings

1. **CRITICAL** `MINED116` — Workflow uses `secrets.CF_AI_GATEWAY_TOKEN` on a `pull_request` trigger
   `.github/workflows/bonk.yml:140` · ✓ Repobility
2. **CRITICAL** `MINED116` — Workflow uses `secrets.CF_AI_GATEWAY_NAME` on a `pull_request` trigger
   `.github/workflows/bonk.yml:139` · ✓ Repobility
3. **CRITICAL** `MINED116` — Workflow uses `secrets.CF_AI_GATEWAY_ACCOUNT_ID` on a `pull_request` trigger
   `.github/workflows/bonk.yml:138` · ✓ Repobility
4. **CRITICAL** `MINED116` — Workflow uses `secrets.CF_AI_GATEWAY_TOKEN` on a `pull_request` trigger
   `.github/workflows/bonk.yml:85` · ✓ Repobility
5. **CRITICAL** `MINED116` — Workflow uses `secrets.CF_AI_GATEWAY_NAME` on a `pull_request` trigger
   `.github/workflows/bonk.yml:84` · ✓ Repobility

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/0b8fc6dc-dfd6-4f20-9424-e6da12a69bec/_
Already filed
'cloudflare' 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.
Megaproject â high spam risk
Could not determine 'cloudflare/cloudflare-docs' 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
30/82 findings (37%) 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.