← Back to scan
File as GitHub Issue repo: Gitlawb/openclaude

Push this scan report to Gitlawb/openclaude

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

`self.get_model_for_provider` used but never assigned in __init__

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 MINED108 [MINED108] `self._ping_provider` used but never assigned in __init__: Method `_recheck_pr… python/smart_router.py:361
HIGH MINED108 [MINED108] `self._recheck_provider` used but never assigned in __init__: Method `record_r… python/smart_router.py:354
HIGH MINED108 [MINED108] `self._update_latency` used but never assigned in __init__: Method `record_res… python/smart_router.py:341
HIGH MINED108 [MINED108] `self.initialize` used but never assigned in __init__: Method `route` of class… python/smart_router.py:288
HIGH MINED108 [MINED108] `self.get_model_for_provider` used but never assigned in __init__: Method `rou… python/smart_router.py:305
HIGH MINED108 [MINED108] `self.is_large_request` used but never assigned in __init__: Method `route` of… python/smart_router.py:291
HIGH MINED108 [MINED108] `self._ping_provider` used but never assigned in __init__: Method `initialize`… python/smart_router.py:171
HIGH MINED108 [MINED108] `self.is_configured` used but never assigned in __init__: Method `score` of cl… python/smart_router.py:75
HIGH MINED108 [MINED108] `self.error_rate` used but never assigned in __init__: Method `score` of class… python/smart_router.py:80
HIGH MINED108 [MINED108] `self.api_key` used but never assigned in __init__: Method `is_configured` of … python/smart_router.py:62
HIGH SEC018 [SEC018] AI-Agent Secret Retrieval Command: A command that prints or embeds credentials w… src/utils/secureStorage/macOsKeychainSt…:40
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). src/services/settingsSync/types.ts:30
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … src/commands/logout/logout.tsx:22
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … src/bridge/trustedDevice.ts:81
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … src/bridge/jwtUtils.ts:209
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… src/components/permissions/hooks.ts:80
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… src/components/LogoPicker.tsx:26
HIGH SEC040 [SEC040] innerHTML XSS — template literal with server-supplied data: Setting .innerHTML w… scripts/render-coverage-heatmap.ts:197
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… src/components/GlobalSearchDialog.tsx:332
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… src/buddy/useBuddyNotification.tsx:90
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… scripts/pr-intent-scan.ts:123
HIGH SEC083 [SEC083] JS: new RegExp() with non-literal: new RegExp(<variable>) — variable input can c… src/tools/BashTool/sedEditParser.ts:314
HIGH SEC083 [SEC083] JS: new RegExp() with non-literal: new RegExp(<variable>) — variable input can c… src/services/teamMemorySync/secretScann…:233
HIGH SEC083 [SEC083] JS: new RegExp() with non-literal: new RegExp(<variable>) — variable input can c… scripts/no-telemetry-plugin.ts:130
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… src/bridge/bridgeStatusUtil.ts:39
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… scripts/pr-intent-scan.ts:156
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… python/atomic_chat_provider.py:26
HIGH COMP001 [COMP001] High cognitive complexity: Function `anthropic_to_ollama_messages` has cognitiv… python/ollama_provider.py:64
HIGH MINED118 [MINED118] Dockerfile FROM `node:22-slim` not pinned by digest: `FROM node:22-slim` resol… Dockerfile:31
HIGH MINED118 [MINED118] Dockerfile FROM `node:22-slim` not pinned by digest: `FROM node:22-slim` resol… Dockerfile:2
HIGH JRN004 Consent is collected in UI without visible backend audit persistence src/screens/REPL.tsx:3251
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… python/atomic_chat_provider.py:35
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… python/ollama_provider.py:30
MED SEC136 [SEC136] AI-typical over-broad exception handler swallowing all errors: Catch-all excepti… src/utils/storage/SQLiteProvider.ts:257
MED SEC134 [SEC134] AI scaffold leftover — Lorem ipsum / example.com / John Doe in code: Lorem ipsum… src/utils/mcp/elicitationValidation.ts:24
MED SEC031 [SEC031] Catastrophic Backtracking Regex (ReDoS): Regex contains nested quantifiers like … src/tools/shared/gitOperationTracking.ts:23
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. src/components/Onboarding.tsx:167
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. src/commands/rename/rename.ts:71
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … src/components/GlobalSearchDialog.tsx:332
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … src/buddy/useBuddyNotification.tsx:90
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … scripts/pr-intent-scan.ts:123
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. src/bridge/replBridgeHandle.ts:22
MED COMP001 [COMP001] High cognitive complexity: Function `atomic_chat_stream` has cognitive complexi… python/atomic_chat_provider.py:94
MED AGT006 React interval is created without an explicit cleanup src/cli/print.ts:549
MED WEB003 Public web service has no security.txt .well-known/security.txt
MED AGT006 React interval is created without an explicit cleanup src/components/Spinner/useShimmerAnimat…:13
MED WEB015 Public web app has no Content Security Policy index.html
LOW SEC132 [SEC132] String concat where the language has interpolation (AI style drift): String buil… src/cli/handlers/autoMode.ts:125
LOW COMP001 [COMP001] High cognitive complexity: Function `ollama_chat_stream` has cognitive complexi… python/ollama_provider.py:130
LOW WEB001 Public web app has no robots.txt robots.txt
LOW WEB002 Public web app has no sitemap sitemap.xml
LOW DKR008 .dockerignore misses sensitive defaults .dockerignore
LOW WEB008 Public docs site has no llms.txt llms.txt
LOW WEB011 Public web app has no humans.txt humans.txt
INFO MINED055 [MINED055] Npm Install No Lockfile: Production image runs npm install (resolves new versi… src/tools/TodoWriteTool/prompt.ts:129
INFO MINED065 [MINED065] Cors Wildcard: Access-Control-Allow-Origin: * exposes the API to any browser o… src/services/api/xaiOAuthCallback.ts:94
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… src/services/api/codexOAuthShared.ts:67
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… src/commands/plugin/parseArgs.ts:46
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… src/commands/mcp/addCommand.ts:129
INFO MINED056 [MINED056] React Key As Index: key={index} in map() — re-renders the wrong elements on re… src/commands/install-github-app/Creatin…:55
INFO MINED056 [MINED056] React Key As Index: key={index} in map() — re-renders the wrong elements on re… src/buddy/useBuddyNotification.tsx:41
INFO MINED056 [MINED056] React Key As Index: key={index} in map() — re-renders the wrong elements on re… src/buddy/CompanionSprite.tsx:70
INFO MINED049 [MINED049] Print Pii: Logging password/token/email/ssn directly to stdout. scripts/provider-recommend.ts:254
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. src/grpc/server.ts:22
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. src/entrypoints/mcp.ts:226
INFO MINED054 [MINED054] Ts As Any: Casting to any (as any) bypasses type checking entirely. scripts/grpc-cli.ts:16
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. src/components/EffortPicker.tsx:37
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. src/components/ClaudeMdExternalIncludes…:120
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. scripts/grpc-cli.ts:44
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … src/bridge/bridgeEnabled.ts:81
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … scripts/provider-launch.ts:196
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … scripts/grpc-cli.ts:107
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … scripts/no-telemetry-plugin.ts:138
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … scripts/grpc-cli.ts:49
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … scripts/generate-integrations-artifacts…:8
Reset to top 5 75 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `Gitlawb/openclaude`

**Score: 79/100 (A-)**  ·  76 findings  ·  scanned 2026-05-31 01:22 UTC  ·  621,227 LOC

| Severity | Count |
|---|---|
| CRITICAL | 0 |
| HIGH | 31 |
| MEDIUM | 16 |
| LOW | 7 |

📊 [Full filterable report](https://www.repobility.com/scan/a75ab839-80fb-497b-bd17-48a725fff0cb/)  ·  ![scorecard](https://www.repobility.com/scan/a75ab839-80fb-497b-bd17-48a725fff0cb/report.png?v=1780190535-s2)

### Top findings

1. **HIGH** `MINED108` — `self._ping_provider` used but never assigned in __init__
   `python/smart_router.py:361` · ✓ Repobility
2. **HIGH** `MINED108` — `self._recheck_provider` used but never assigned in __init__
   `python/smart_router.py:354` · ✓ Repobility
3. **HIGH** `MINED108` — `self._update_latency` used but never assigned in __init__
   `python/smart_router.py:341` · ✓ Repobility
4. **HIGH** `MINED108` — `self.initialize` used but never assigned in __init__
   `python/smart_router.py:288` · ✓ Repobility
5. **HIGH** `MINED108` — `self.get_model_for_provider` used but never assigned in __init__
   `python/smart_router.py:305` · ✓ Repobility

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://www.repobility.com/scan/a75ab839-80fb-497b-bd17-48a725fff0cb/_
Already filed
Repobility already filed issue #1229 on this repo on 2026-05-17. Filing again would be duplicate spam.
View existing issue
Already filed
This repo publishes a SECURITY.md policy and the scan contains 17 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 'Gitlawb/openclaude' 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.