← Back to scan
File as GitHub Issue repo: zilliztech/claude-context

Push this scan report to zilliztech/claude-context

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.async_search` 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 MINED110 [MINED110] Blocking call `time.sleep` inside async function `async_search`: `time.sleep` … evaluation/retrieval/custom.py:316
HIGH MINED110 [MINED110] Blocking call `time.sleep` inside async function `async_build_index`: `time.sl… evaluation/retrieval/custom.py:286
HIGH MINED110 [MINED110] Blocking call `time.sleep` inside async function `async_build_index`: `time.sl… evaluation/retrieval/custom.py:276
HIGH MINED110 [MINED110] Blocking call `time.sleep` inside async function `async_build_index`: `time.sl… evaluation/retrieval/custom.py:278
HIGH MINED108 [MINED108] `self.async_search` used but never assigned in __init__: Method `async_run` of… evaluation/retrieval/custom.py:352
HIGH MINED108 [MINED108] `self.async_build_index` used but never assigned in __init__: Method `async_ru… evaluation/retrieval/custom.py:344
HIGH MINED108 [MINED108] `self.output_dir` used but never assigned in __init__: Method `async_run` of c… evaluation/retrieval/custom.py:336
HIGH MINED108 [MINED108] `self.instances` used but never assigned in __init__: Method `async_run` of cl… evaluation/retrieval/custom.py:329
HIGH MINED108 [MINED108] `self.async_run` used but never assigned in __init__: Method `run` of class `C… evaluation/retrieval/custom.py:326
HIGH MINED108 [MINED108] `self.prompt` used but never assigned in __init__: Method `async_search` of cl… evaluation/retrieval/custom.py:297
HIGH MINED108 [MINED108] `self.mcp_sessions_context` used but never assigned in __init__: Method `async… evaluation/retrieval/custom.py:294
HIGH MINED108 [MINED108] `self.async_search` used but never assigned in __init__: Method `search` of cl… evaluation/retrieval/custom.py:291
HIGH MINED108 [MINED108] `self.mcp_sessions_context` used but never assigned in __init__: Method `async… evaluation/retrieval/custom.py:254
HIGH MINED108 [MINED108] `self.async_build_index` used but never assigned in __init__: Method `build_in… evaluation/retrieval/custom.py:247
HIGH MINED108 [MINED108] `self._load_tools_from_sessions` used but never assigned in __init__: Method `… evaluation/retrieval/custom.py:164
HIGH MINED108 [MINED108] `self._load_tools_from_sessions` used but never assigned in __init__: Method `… evaluation/retrieval/custom.py:150
HIGH MINED108 [MINED108] `self._load_tools_from_sessions` used but never assigned in __init__: Method `… evaluation/retrieval/custom.py:181
HIGH MINED108 [MINED108] `self._load_tools_from_sessions` used but never assigned in __init__: Method `… evaluation/retrieval/custom.py:135
HIGH MINED108 [MINED108] `self.output_file` used but never assigned in __init__: Method `run` of class … evaluation/retrieval/base.py:204
HIGH MINED108 [MINED108] `self.output_file` used but never assigned in __init__: Method `run` of class … evaluation/retrieval/base.py:201
HIGH MINED108 [MINED108] `self.search` used but never assigned in __init__: Method `run` of class `Base… evaluation/retrieval/base.py:197
HIGH MINED108 [MINED108] `self.build_index` used but never assigned in __init__: Method `run` of class … evaluation/retrieval/base.py:194
HIGH MINED108 [MINED108] `self._filter_existing_instances` used but never assigned in __init__: Method … evaluation/retrieval/base.py:99
HIGH MINED108 [MINED108] `self.async_run` used but never assigned in __init__: Method `run` of class `E… evaluation/client.py:62
HIGH MINED108 [MINED108] `self._create_wrapper_script` used but never assigned in __init__: Method `cal… python/ts_executor.py:51
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… scripts/build-benchmark.js:19
HIGH SEC114 [SEC114] path.join / Path() on user-controlled segment without containment check: filepat… packages/mcp/src/utils.ts:23
HIGH SEC083 [SEC083] JS: new RegExp() with non-literal: new RegExp(<variable>) — variable input can c… packages/mcp/scripts/path-resolution-e2…:71
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… packages/chrome-extension/src/options.ts:34
HIGH MINED001 [MINED001] Bare Except Pass: except: pass or except Exception: pass — silently swallows e… evaluation/servers/read_server.py:256
HIGH COMP001 [COMP001] High cognitive complexity: Function `_prepare_instances` has cognitive complexi… evaluation/retrieval/base.py:42
HIGH MINED115 [MINED115] Action `actions/setup-node` pinned to mutable ref `@v4`: `uses: actions/setup-… .github/workflows/release.yml:23
HIGH MINED115 [MINED115] Action `pnpm/action-setup` pinned to mutable ref `@v4`: `uses: pnpm/action-set… .github/workflows/release.yml:18
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/release.yml:15
HIGH MINED115 [MINED115] Action `actions/setup-node` pinned to mutable ref `@v4`: `uses: actions/setup-… .github/workflows/ci.yml:28
HIGH MINED115 [MINED115] Action `pnpm/action-setup` pinned to mutable ref `@v4`: `uses: pnpm/action-set… .github/workflows/ci.yml:23
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/ci.yml:20
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… evaluation/utils/format.py:191
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… evaluation/servers/read_server.py:266
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… evaluation/servers/read_server.py:181
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… evaluation/servers/read_server.py:132
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… evaluation/servers/grep_server.py:211
MED MINED109 [MINED109] Mutable default argument in `main` (list): `def main(... = []/{}/set())` — Pyt… evaluation/run_evaluation.py:14
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… evaluation/analyze_and_plot_mcp_efficie…:102
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… python/ts_executor.py:302
MED SEC127 [SEC127] AI agent stub — TODO: implement / pass placeholder body: Function body left as T… evaluation/retrieval/base.py:176
MED COMP001 [COMP001] High cognitive complexity: Function `load_method_results` has cognitive complex… evaluation/analyze_and_plot_mcp_efficie…:54
LOW COMP001 [COMP001] High cognitive complexity: Function `main` has cognitive complexity 9 (SonarSou… evaluation/generate_subset_json.py:26
LOW AIC003 Duplicated implementation block across source files packages/vscode-extension/src/commands/…:7
LOW AIC003 Duplicated implementation block across source files packages/core/src/vectordb/milvus-vecto…:41
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. packages/core/src/splitter/ast-splitter…:32
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. packages/core/src/embedding/ollama-embe…:7
INFO MINED052 [MINED052] Ts Any Typed: : any used as type annotation. Defeats TypeScript type safety. packages/core/src/embedding/gemini-embe…:100
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … packages/chrome-extension/src/milvus/ch…:63
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … packages/chrome-extension/src/config/mi…:33
INFO MINED044 [MINED044] Js Console Log Prod: console.log left in code. Should be replaced with logger … examples/basic-usage/index.ts:13
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… evaluation/servers/read_server.py:257
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… evaluation/servers/grep_server.py:127
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… evaluation/retrieval/base.py:177
INFO MINED049 [MINED049] Print Pii: Logging password/token/email/ssn directly to stdout. packages/chrome-extension/src/milvus/ch…:230
INFO MINED049 [MINED049] Print Pii: Logging password/token/email/ssn directly to stdout. examples/basic-usage/index.ts:108
INFO MINED049 [MINED049] Print Pii: Logging password/token/email/ssn directly to stdout. evaluation/analyze_and_plot_mcp_efficie…:128
Reset to top 5 62 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `zilliztech/claude-context`

**Score: 86/100 (B+)**  ·  63 findings  ·  scanned 2026-05-23 03:15 UTC  ·  18,381 LOC

| Severity | Count |
|---|---|
| CRITICAL | 0 |
| HIGH | 37 |
| MEDIUM | 10 |
| LOW | 3 |

📊 [Full filterable report](https://repobility.com/scan/cbb5eee9-ffe7-42d1-9777-2906446514a2/)  ·  ![scorecard](https://repobility.com/scan/cbb5eee9-ffe7-42d1-9777-2906446514a2/report.png?v=1779506149-s2)

### Top findings

1. **HIGH** `MINED110` — Blocking call `time.sleep` inside async function `async_search`
   `evaluation/retrieval/custom.py:316` · ✓ Repobility
2. **HIGH** `MINED110` — Blocking call `time.sleep` inside async function `async_build_index`
   `evaluation/retrieval/custom.py:286` · ✓ Repobility
3. **HIGH** `MINED110` — Blocking call `time.sleep` inside async function `async_build_index`
   `evaluation/retrieval/custom.py:276` · ✓ Repobility
4. **HIGH** `MINED110` — Blocking call `time.sleep` inside async function `async_build_index`
   `evaluation/retrieval/custom.py:278` · ✓ Repobility
5. **HIGH** `MINED108` — `self.async_search` used but never assigned in __init__
   `evaluation/retrieval/custom.py:352` · ✓ Repobility

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/cbb5eee9-ffe7-42d1-9777-2906446514a2/_
Premium account
This scan was submitted by a Enterprise-tier account. Premium accounts have full outreach control â Repobility doesn't pre-fill the 'file as GitHub issue' button for paid users. You can still file the issue manually using the markdown body above (Copy markdown), or contact us if you'd like batch-filing enabled for your account.
Megaproject â high spam risk
Could not determine 'zilliztech/claude-context' 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.