← Back to scan
File as GitHub Issue repo: xvirobotics/metabot

Push this scan report to xvirobotics/metabot

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: child_process.exec 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 JRN001 Token handoff appears to use a callback URL or fragment web/src/hooks/useWebSocket.ts:43
HIGH MINED027 [MINED027] React State Array Mutation: state.X.push/splice/sort followed by setState — Re… web/src/components/office/engine/moveme…:85
HIGH SEC100 [SEC100] CORS permissive Access-Control-Allow-Origin: *: Permissive CORS policy (`*` orig… src/memory/memory-server.ts:47
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… web/src/components/chat/AssistantMessag…:132
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… src/sync/markdown-to-blocks.ts:97
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… src/engines/codex/executor.ts:27
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… src/feishu/card-builder.ts:161
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… src/api/skill-hub-store.ts:283
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… src/api/routes/rtc-routes.ts:152
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… web/src/components/chat/helpers.ts:62
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… web/src/components/chat/FilePreviewCont…:40
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… src/utils/http.ts:46
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … src/api/circuit-breaker.ts:102
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … src/api/budget-manager.ts:177
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … src/api/async-task-store.ts:40
HIGH SEC020 [SEC020] Secret Printed to Logs: Debug or diagnostic code appears to print a credential-b… src/memory/memory-server.ts:312
HIGH MINED115 Action `actions/setup-python` pinned to mutable ref `@v5` .github/workflows/docs.yml:20
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v4` .github/workflows/docs.yml:19
HIGH MINED115 Action `actions/setup-node` pinned to mutable ref `@v4` .github/workflows/ci.yml:41
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v4` .github/workflows/ci.yml:40
HIGH MINED115 Action `actions/setup-node` pinned to mutable ref `@v4` .github/workflows/ci.yml:19
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v4` .github/workflows/ci.yml:16
HIGH MINED118 Dockerfile FROM `node:20-slim` not pinned by digest Dockerfile:25
HIGH MINED118 Dockerfile FROM `node:20-slim` not pinned by digest Dockerfile:2
HIGH SEC020 [SEC020] Secret Printed to Logs: Debug or diagnostic code appears to print a credential-b… src/api/routes/rtc-routes.ts:85
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. src/wechat/wechat-sender.ts:43
MED SEC087 [SEC087] JS: weak Math.random for crypto: Math.random() is not cryptographically secure; … src/api/rtc-token.ts:104
MED SEC091 [SEC091] Go: net/http server without timeouts: HTTP server without ReadHeaderTimeout/Read… src/api/http-server.ts:60
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … src/api/team-manager.ts:32
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … src/api/skill-hub-store.ts:87
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … src/api/activity-store.ts:51
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. web/src/components/team/TeamWorkspace.t…:47
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. web/src/hooks/useStreamingASR.ts:37
MED SEC015 [SEC015] Insecure Randomness for Security: Weak PRNG used in security-sensitive context. … src/api/rtc-token.ts:104
MED JRN002 Browser storage is used for session token material web/src/store.ts:198
MED JRN002 Browser storage is used for session token material web/src/store.ts:195
MED JRN002 Browser storage is used for session token material src/memory/static/app.js:592
MED JRN002 Browser storage is used for session token material src/memory/static/app.js:583
MED JRN002 Browser storage is used for session token material src/memory/static/app.js:577
MED JRN002 Browser storage is used for session token material src/memory/static/app.js:20
MED JRN002 Browser storage is used for session token material src/memory/static/app.js:13
MED DKR001 Docker final stage has no non-root USER Dockerfile:25
MED AGT007 localStorage write failures are swallowed silently web/src/store.ts:75
MED AGT016 Codex session log reader may expose prompts or tool-call content src/engines/codex/executor.ts:18
MED AGT015 Remote install command pipes network code directly to a shell uninstall.sh:4
MED AGT015 Remote install command pipes network code directly to a shell docs/landing/index.html:536
MED AGT015 Remote install command pipes network code directly to a shell docs/index.zh.md:46
MED AGT015 Remote install command pipes network code directly to a shell docs/index.md:46
MED AGT015 Remote install command pipes network code directly to a shell docs/getting-started/installation.zh.md:8
MED AGT015 Remote install command pipes network code directly to a shell docs/features/wechat.zh.md:24
MED AGT015 Remote install command pipes network code directly to a shell docs/features/wechat.md:21
MED AGT015 Remote install command pipes network code directly to a shell README_EN.md:50
MED AGT015 Remote install command pipes network code directly to a shell README.md:50
MED AGT013 Agent auto-approve or skip-permissions mode is easy to enable docs/troubleshooting.md:33
LOW AIC003 Duplicated implementation block across source files web/src/types.ts:125
LOW AIC003 Duplicated implementation block across source files web/src/types.ts:3
LOW AIC003 Duplicated implementation block across source files web/src/store.ts:31
LOW AIC003 Duplicated implementation block across source files web/src/components/team/TeamChatPanel.t…:17
LOW AIC003 Duplicated implementation block across source files src/feishu/card-builder.ts:10
LOW AIC003 Duplicated implementation block across source files src/engines/kimi/executor.ts:115
LOW AIC003 Duplicated implementation block across source files src/engines/claude/persistent-executor.…:12
LOW DKR008 .dockerignore misses sensitive defaults .dockerignore
LOW DKR011 Dockerfile installs recommended OS packages Dockerfile:30
LOW DKR011 Dockerfile installs recommended OS packages Dockerfile:7
LOW DKC010 Compose service lacks no-new-privileges hardening docker-compose.yml:3
LOW DKC006 Compose service does not declare a runtime user docker-compose.yml:3
INFO MINED058 [MINED058] React Dangerously Set Html: dangerouslySetInnerHTML bypasses Reacts JSX escapi… web/src/components/chat/FilePreviewCont…:155
INFO MINED056 [MINED056] React Key As Index: key={index} in map() — re-renders the wrong elements on re… web/src/components/chat/FilePanel.tsx:134
INFO MINED056 [MINED056] React Key As Index: key={index} in map() — re-renders the wrong elements on re… web/src/components/chat/AssistantMessag…:38
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … src/api/rtc-voice-chat.ts:85
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … src/api/routes/team-routes.ts:62
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … src/api/routes/rtc-routes.ts:242
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… src/api/routes/team-routes.ts:21
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… src/api/routes/file-routes.ts:38
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… src/api/http-server.ts:115
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. src/api/http-server.ts:149
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. src/api/bots-config-writer.ts:128
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. src/api/activity-store.ts:135
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. src/api/peer-manager.ts:275
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. src/api/http-server.ts:58
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. spike/persistent-executor-test.ts:28
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … web/src/components/ErrorBoundary.tsx:24
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … src/index.ts:355
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … spike/persistent-executor-test.ts:24
INFO MINED055 [MINED055] Npm Install No Lockfile: Production image runs npm install (resolves new versi… setup.sh:46
Reset to top 5 85 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `xvirobotics/metabot`

**Score: 74/100 (A-)**  ·  85 findings  ·  scanned 2026-05-31 01:23 UTC  ·  38,641 LOC

| Severity | Count |
|---|---|
| CRITICAL | 1 |
| HIGH | 24 |
| MEDIUM | 29 |
| LOW | 12 |

📊 [Full filterable report](https://repobility.com/scan/a731985b-1d29-4908-8399-00852d6c06f2/)  ·  ![scorecard](https://repobility.com/scan/a731985b-1d29-4908-8399-00852d6c06f2/report.png?v=1780190629-s2)

### Top findings

1. **CRITICAL** `JRN001` — Token handoff appears to use a callback URL or fragment
   `web/src/hooks/useWebSocket.ts:43`
2. **HIGH** `MINED027` — React State Array Mutation
   `web/src/components/office/engine/movement.ts:85` · CWE-682 · ✓ Repobility
3. **HIGH** `SEC100` — CORS permissive Access-Control-Allow-Origin: *
   `src/memory/memory-server.ts:47` · A05:2021 Security Misconfiguration
4. **HIGH** `SEC085` — JS: child_process.exec with non-literal
   `web/src/components/chat/AssistantMessage.tsx:132`
5. **HIGH** `SEC085` — JS: child_process.exec with non-literal
   `src/sync/markdown-to-blocks.ts:97`

---

**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/a731985b-1d29-4908-8399-00852d6c06f2/_
Megaproject â high spam risk
Could not determine 'xvirobotics/metabot' 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.