← Back to scan
File as GitHub Issue repo: anomalyco/opencode

Push this scan report to anomalyco/opencode

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

Async function without await — fire-and-forget Promise (AI mistake)

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 MINED125 [MINED125] GHA script injection via github.event.pull_request.head.ref in run-step: Multi… .github/workflows/generate.yml:40
HIGH MINED027 [MINED027] React State Array Mutation: state.X.push/splice/sort followed by setState — Re… packages/app/src/utils/aim.ts:49
HIGH SEC033 [SEC033] Prototype Pollution — unfiltered merge of user object: Merging user-controlled o… packages/app/src/context/sync.tsx:97
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … packages/app/src/context/file/content-c…:21
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … packages/app/src/context/file.tsx:190
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … packages/app/src/components/session/ses…:75
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… packages/app/src/context/server-sdk.tsx:23
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… packages/app/src/components/prompt-inpu…:11
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… packages/app/src/components/dialog-edit…:46
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… .opencode/tool/github-pr-search.ts:60
HIGH MINED122 [MINED122] package.json dep `ghostty-web` pulled from URL/Git: `dependencies.ghostty-web`… packages/app/package.json:1
MED CFG006 [CFG006] Missing .gitignore: No .gitignore file. Risk of committing secrets and build art…
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. packages/app/src/pages/directory-layout…:29
MED SEC041 [SEC041] Tabnabbing — target="_blank" without rel="noopener noreferrer": <a target="_blan… packages/app/src/entry.tsx:82
MED AGT015 Remote install command pipes network code directly to a shell README.fr.md:50
MED AGT015 Remote install command pipes network code directly to a shell README.es.md:50
MED AGT015 Remote install command pipes network code directly to a shell README.de.md:50
MED AGT015 Remote install command pipes network code directly to a shell README.da.md:50
MED AGT015 Remote install command pipes network code directly to a shell README.bs.md:50
MED AGT015 Remote install command pipes network code directly to a shell README.br.md:50
MED AGT015 Remote install command pipes network code directly to a shell README.bn.md:50
MED AGT015 Remote install command pipes network code directly to a shell README.ar.md:50
MED AGT015 Remote install command pipes network code directly to a shell .github/workflows/triage.yml:23
MED AGT015 Remote install command pipes network code directly to a shell .github/workflows/review.yml:35
MED AGT015 Remote install command pipes network code directly to a shell .github/workflows/pr-management.yml:40
MED AGT015 Remote install command pipes network code directly to a shell .github/workflows/docs-locale-sync.yml:53
LOW SEC132 [SEC132] String concat where the language has interpolation (AI style drift): String buil… packages/app/public/oc-theme-preload.js:30
LOW AIC003 Duplicated implementation block across source files packages/app/src/i18n/th.ts:353
LOW AIC003 Duplicated implementation block across source files packages/app/src/i18n/ru.ts:627
LOW AIC003 Duplicated implementation block across source files packages/app/src/i18n/ru.ts:617
LOW AIC003 Duplicated implementation block across source files packages/app/src/i18n/ru.ts:356
LOW AIC003 Duplicated implementation block across source files packages/app/src/i18n/pl.ts:622
LOW AIC003 Duplicated implementation block across source files packages/app/src/i18n/pl.ts:354
LOW AIC003 Duplicated implementation block across source files packages/app/src/i18n/no.ts:622
LOW AIC003 Duplicated implementation block across source files packages/app/src/i18n/no.ts:355
LOW AIC003 Duplicated implementation block across source files packages/app/src/i18n/ko.ts:352
LOW AIC003 Duplicated implementation block across source files packages/app/src/i18n/ja.ts:353
LOW AIC003 Duplicated implementation block across source files packages/app/src/i18n/fr.ts:632
LOW AIC003 Duplicated implementation block across source files packages/app/src/i18n/fr.ts:356
LOW AIC003 Duplicated implementation block across source files packages/app/src/i18n/es.ts:361
LOW AIC003 Duplicated implementation block across source files packages/app/src/i18n/es.ts:355
LOW AIC003 Duplicated implementation block across source files packages/app/src/i18n/de.ts:633
LOW AIC003 Duplicated implementation block across source files packages/app/src/i18n/de.ts:623
LOW AIC003 Duplicated implementation block across source files packages/app/src/i18n/de.ts:359
LOW AIC003 Duplicated implementation block across source files packages/app/src/i18n/da.ts:620
LOW AIC003 Duplicated implementation block across source files packages/app/src/i18n/da.ts:354
LOW AIC003 Duplicated implementation block across source files packages/app/src/i18n/bs.ts:621
LOW AIC003 Duplicated implementation block across source files packages/app/src/i18n/bs.ts:355
LOW AIC003 Duplicated implementation block across source files packages/app/src/i18n/br.ts:354
LOW AIC003 Duplicated implementation block across source files packages/app/src/context/sync.tsx:10
LOW AIC003 Duplicated implementation block across source files packages/app/src/context/server.tsx:28
LOW AIC003 Duplicated implementation block across source files packages/app/src/components/status-popo…:103
LOW AIC003 Duplicated implementation block across source files packages/app/src/components/settings-v2…:16
LOW AIC003 Duplicated implementation block across source files packages/app/src/components/settings-v2…:17
LOW AIC003 Duplicated implementation block across source files packages/app/src/components/settings-v2…:14
LOW AIC003 Duplicated implementation block across source files packages/app/src/components/dialog-cust…:145
LOW AIC003 Duplicated implementation block across source files .opencode/tool/github-triage.ts:17
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. packages/app/src/context/server.tsx:111
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… packages/app/src/entry.tsx:105
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. packages/app/src/context/global.tsx:53
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … packages/app/src/components/dialog-edit…:176
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … nix/scripts/normalize-bun-binaries.ts:16
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … nix/scripts/canonicalize-node-modules.ts:29
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … packages/app/src/context/global-sync/ch…:147
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … nix/scripts/normalize-bun-binaries.ts:48
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … nix/scripts/canonicalize-node-modules.ts:82
Reset to top 5 66 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `anomalyco/opencode`

**Score: 75/100 (B+)**  ·  66 findings  ·  scanned 2026-06-05 04:39 UTC  ·  71,861 LOC

| Severity | Count |
|---|---|
| CRITICAL | 1 |
| HIGH | 10 |
| MEDIUM | 15 |
| LOW | 31 |

📊 [Full filterable report](https://repobility.com/scan/4afeaf9c-2db6-4dd1-b456-0b3956a7aa2b/)  ·  ![scorecard](https://repobility.com/scan/4afeaf9c-2db6-4dd1-b456-0b3956a7aa2b/report.png?v=1780634366-s2)

### Top findings

1. **CRITICAL** `MINED125` — GHA script injection via github.event.pull_request.head.ref in run-step: Multi-line `run
   `.github/workflows/generate.yml:40` · ✓ Repobility
2. **HIGH** `MINED027` — React State Array Mutation
   `packages/app/src/utils/aim.ts:49` · CWE-682 · ✓ Repobility
3. **HIGH** `SEC033` — Prototype Pollution — unfiltered merge of user object
   `packages/app/src/context/sync.tsx:97` · CWE-1321
4. **HIGH** `SEC128` — Async function without await — fire-and-forget Promise (AI mistake)
   `packages/app/src/context/file/content-cache.ts:21`
5. **HIGH** `SEC128` — Async function without await — fire-and-forget Promise (AI mistake)
   `packages/app/src/context/file.tsx:190`

---

**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/4afeaf9c-2db6-4dd1-b456-0b3956a7aa2b/_
Already filed
This repo publishes a SECURITY.md policy and the scan contains 8 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 'anomalyco/opencode' 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.