← Back to scan
File as GitHub Issue repo: thClaws/thClaws

Push this scan report to thClaws/thClaws

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

innerHTML XSS — template literal with server-supplied data

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
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… frontend/src/components/TeamView.tsx:95
HIGH MINED003 [MINED003] Rust Unwrap In Prod: .unwrap() panics if None/Err. Acceptable in tests; risky … crates/core/src/commands.rs:183
HIGH MINED003 [MINED003] Rust Unwrap In Prod: .unwrap() panics if None/Err. Acceptable in tests; risky … crates/core/src/auto_learn.rs:200
HIGH MINED003 [MINED003] Rust Unwrap In Prod: .unwrap() panics if None/Err. Acceptable in tests; risky … crates/core/src/api_v1/info.rs:322
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… crates/core/assets/gui-shells/session-e…:142
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … frontend/src/components/CodeEditor.tsx:168
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … crates/core/src/api_v1/oauth_callback.rs:156
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … crates/core/assets/gui-shell-bridge.js:96
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… crates/core/src/messenger/client.rs:148
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… crates/core/src/external_url.rs:17
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… crates/core/assets/gui-shell-bridge.js:28
HIGH MINED115 [MINED115] Action `actions/download-artifact` pinned to mutable ref `@v8`: `uses: actions… .github/workflows/ci.yml:150
HIGH MINED115 [MINED115] Action `Swatinem/rust-cache` pinned to mutable ref `@v2`: `uses: Swatinem/rust… .github/workflows/ci.yml:142
HIGH MINED115 [MINED115] Action `dtolnay/rust-toolchain` pinned to mutable ref `@stable`: `uses: dtolna… .github/workflows/ci.yml:141
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v5`: `uses: actions/checkout… .github/workflows/ci.yml:140
HIGH MINED115 [MINED115] Action `actions/download-artifact` pinned to mutable ref `@v8`: `uses: actions… .github/workflows/ci.yml:110
HIGH MINED115 [MINED115] Action `Swatinem/rust-cache` pinned to mutable ref `@v2`: `uses: Swatinem/rust… .github/workflows/ci.yml:102
HIGH MINED115 [MINED115] Action `dtolnay/rust-toolchain` pinned to mutable ref `@stable`: `uses: dtolna… .github/workflows/ci.yml:101
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v5`: `uses: actions/checkout… .github/workflows/ci.yml:100
HIGH MINED115 [MINED115] Action `actions/download-artifact` pinned to mutable ref `@v8`: `uses: actions… .github/workflows/ci.yml:79
HIGH MINED115 [MINED115] Action `Swatinem/rust-cache` pinned to mutable ref `@v2`: `uses: Swatinem/rust… .github/workflows/ci.yml:72
HIGH MINED115 [MINED115] Action `dtolnay/rust-toolchain` pinned to mutable ref `@stable`: `uses: dtolna… .github/workflows/ci.yml:69
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v5`: `uses: actions/checkout… .github/workflows/ci.yml:68
HIGH MINED115 [MINED115] Action `actions/upload-artifact` pinned to mutable ref `@v7`: `uses: actions/u… .github/workflows/ci.yml:56
HIGH MINED115 [MINED115] Action `actions/setup-node` pinned to mutable ref `@v5`: `uses: actions/setup-… .github/workflows/ci.yml:45
HIGH MINED115 [MINED115] Action `pnpm/action-setup` pinned to mutable ref `@v6`: `uses: pnpm/action-set… .github/workflows/ci.yml:42
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v5`: `uses: actions/checkout… .github/workflows/ci.yml:41
HIGH MINED115 [MINED115] Action `dtolnay/rust-toolchain` pinned to mutable ref `@stable`: `uses: dtolna… .github/workflows/ci.yml:31
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v5`: `uses: actions/checkout… .github/workflows/ci.yml:30
HIGH MINED115 [MINED115] Action `actions/cache` pinned to mutable ref `@v4`: `uses: actions/cache@v4` r… .github/workflows/cargo-audit.yml:25
HIGH MINED115 [MINED115] Action `dtolnay/rust-toolchain` pinned to mutable ref `@stable`: `uses: dtolna… .github/workflows/cargo-audit.yml:22
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/cargo-audit.yml:19
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. frontend/src/components/ShellPicker.tsx:179
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … frontend/src/components/TeamView.tsx:95
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … crates/core/src/util.rs:165
MED DKR003 Compose service `thclaws` image uses the latest tag docker-compose.yml:20
MED AGT007 localStorage write failures are swallowed silently frontend/src/components/ModelPickerModa…:33
MED AGT015 Remote install command pipes network code directly to a shell user-manual-th/ch05-permissions.md:121
MED AGT015 Remote install command pipes network code directly to a shell user-manual-th/ch02-installation.md:270
MED AGT015 Remote install command pipes network code directly to a shell user-manual/ch05-permissions.md:106
MED AGT015 Remote install command pipes network code directly to a shell user-manual-th/ch11-built-in-tools.md:35
MED AGT015 Remote install command pipes network code directly to a shell user-manual/ch11-built-in-tools.md:35
MED AGT013 Agent auto-approve or skip-permissions mode is easy to enable user-manual-th/ch26-gui-shells.md:185
MED AGT013 Agent auto-approve or skip-permissions mode is easy to enable user-manual/ch26-gui-shells.md:189
MED CORE_LARGE_FILES Average file size is 587 lines (recommend <300)
LOW AIC003 Duplicated implementation block across source files frontend/src/components/TodoSidebar.tsx:57
LOW AIC003 Duplicated implementation block across source files frontend/src/components/TodoSidebar.tsx:41
LOW AIC003 Duplicated implementation block across source files frontend/src/components/TelegramConnect…:111
LOW AIC003 Duplicated implementation block across source files frontend/src/components/Sidebar.tsx:22
LOW AIC003 Duplicated implementation block across source files frontend/src/components/ResearchSidebar…:143
LOW AIC003 Duplicated implementation block across source files frontend/src/components/PlanSidebar.tsx:107
LOW AIC003 Duplicated implementation block across source files frontend/src/components/MessengerConnec…:39
LOW AIC003 Duplicated implementation block across source files frontend/src/components/KmsBrowserSideb…:91
LOW AIC003 Duplicated implementation block across source files crates/core/src/workflow/headless.rs:34
LOW AIC003 Duplicated implementation block across source files crates/core/src/telegram/topic.rs:47
LOW AIC003 Duplicated implementation block across source files crates/core/src/telegram/headless.rs:108
LOW AIC003 Duplicated implementation block across source files crates/core/src/telegram/config.rs:95
LOW AIC003 Duplicated implementation block across source files crates/core/src/telegram/client.rs:259
LOW AIC003 Duplicated implementation block across source files crates/core/src/telegram/approver.rs:108
LOW AIC003 Duplicated implementation block across source files crates/core/src/telegram/approver.rs:51
LOW AIC003 Duplicated implementation block across source files crates/core/src/messenger/config.rs:53
LOW AIC003 Duplicated implementation block across source files crates/core/src/messenger/client.rs:23
LOW AIC003 Duplicated implementation block across source files crates/core/src/messenger/bootstrap.rs:42
LOW AIC003 Duplicated implementation block across source files crates/core/src/messenger/approver.rs:9
LOW AIC003 Duplicated implementation block across source files crates/core/src/gui_shell/serve.rs:118
LOW AIC003 Duplicated implementation block across source files crates/core/src/deploy_client.rs:14
LOW AIC003 Duplicated implementation block across source files frontend/src/components/PlanSidebar.tsx:83
LOW AIC003 Duplicated implementation block across source files frontend/src/components/ModelPickerModa…:179
LOW AIC003 Duplicated implementation block across source files frontend/src/components/MarkdownEditor.…:64
LOW AIC003 Duplicated implementation block across source files crates/core/src/tools/pptx_edit.rs:86
LOW AIC003 Duplicated implementation block across source files crates/core/src/tools/pptx_create.rs:216
LOW AIC003 Duplicated implementation block across source files crates/core/src/tools/memory.rs:133
LOW AIC003 Duplicated implementation block across source files crates/core/src/providers/openai_respon…:148
LOW AIC003 Duplicated implementation block across source files crates/core/src/providers/ollama_cloud.…:24
LOW DKR008 .dockerignore misses sensitive defaults .dockerignore
LOW DKC010 Compose service lacks no-new-privileges hardening docker-compose.yml:20
LOW DKC006 Compose service does not declare a runtime user docker-compose.yml:20
INFO MINED058 [MINED058] React Dangerously Set Html: dangerouslySetInnerHTML bypasses Reacts JSX escapi… frontend/src/components/TeamView.tsx:253
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. frontend/src/components/ShellView.tsx:64
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. frontend/src/components/ShellPicker.tsx:58
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … frontend/src/hooks/useIPC.ts:46
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … frontend/src/components/SettingsMenu.tsx:68
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… crates/core/src/messenger/config.rs:191
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… crates/core/src/line/config.rs:195
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… crates/core/src/external_url.rs:70
INFO MINED066 [MINED066] Rust Panic Macro: panic!() unwinds the stack. Use Result for recoverable error… crates/core/src/messenger/client.rs:300
INFO MINED066 [MINED066] Rust Panic Macro: panic!() unwinds the stack. Use Result for recoverable error… crates/core/src/line/protocol.rs:127
INFO MINED066 [MINED066] Rust Panic Macro: panic!() unwinds the stack. Use Result for recoverable error… crates/core/src/cancel.rs:162
INFO MINED059 [MINED059] Rust Expect In Prod: .expect(...) panics same as unwrap with a custom message. crates/core/src/line/upload.rs:80
INFO MINED059 [MINED059] Rust Expect In Prod: .expect(...) panics same as unwrap with a custom message. crates/core/src/commands.rs:243
INFO MINED059 [MINED059] Rust Expect In Prod: .expect(...) panics same as unwrap with a custom message. crates/core/src/api_v1/oauth_callback.rs:72
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … frontend/src/hooks/useIPC.ts:36
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … crates/core/assets/gui-shell-bridge.js:107
Reset to top 5 93 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `thClaws/thClaws`

**Score: 73/100 (B)**  ·  93 findings  ·  scanned 2026-05-31 01:25 UTC  ·  145,493 LOC

| Severity | Count |
|---|---|
| CRITICAL | 0 |
| HIGH | 32 |
| MEDIUM | 13 |
| LOW | 32 |

📊 [Full filterable report](https://www.repobility.com/scan/35c0bd90-7a84-43f2-96fa-aa9e363646bc/)  ·  ![scorecard](https://www.repobility.com/scan/35c0bd90-7a84-43f2-96fa-aa9e363646bc/report.png?v=1780190706-s2)

### Top findings

1. **HIGH** `SEC085` — JS: child_process.exec with non-literal
   `frontend/src/components/TeamView.tsx:95`
2. **HIGH** `MINED003` — Rust Unwrap In Prod
   `crates/core/src/commands.rs:183` · CWE-755 · ✓ Repobility
3. **HIGH** `MINED003` — Rust Unwrap In Prod
   `crates/core/src/auto_learn.rs:200` · CWE-755 · ✓ Repobility
4. **HIGH** `MINED003` — Rust Unwrap In Prod
   `crates/core/src/api_v1/info.rs:322` · CWE-755 · ✓ Repobility
5. **HIGH** `SEC040` — innerHTML XSS — template literal with server-supplied data
   `crates/core/assets/gui-shells/session-explorer/main.js:142` · CWE-79 · A03:2021 Injection (XSS)

---

**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://www.repobility.com/scan/35c0bd90-7a84-43f2-96fa-aa9e363646bc/_
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 'thClaws/thClaws' 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.