← Back to scan
File as GitHub Issue repo: mksglu/context-mode

Push this scan report to mksglu/context-mode

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

Duplicated implementation block across source files

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 SUPC001 Supply chain — curl | bash anti-pattern src/server.ts:1735
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. insight/src/routes/index.tsx:574
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. src/server.ts:97
MED AIC003 Duplicated implementation block across source files src/adapters/gemini-cli/index.ts:222
MED AIC003 Duplicated implementation block across source files src/adapters/gemini-cli/index.ts:97
MED AIC003 Duplicated implementation block across source files src/adapters/gemini-cli/index.ts:90
MED AIC003 Duplicated implementation block across source files src/adapters/gemini-cli/index.ts:10
MED AIC003 Duplicated implementation block across source files src/adapters/gemini-cli/hooks.ts:25
MED AIC003 Duplicated implementation block across source files src/adapters/cursor/index.ts:465
MED AIC003 Duplicated implementation block across source files src/adapters/cursor/index.ts:111
MED AIC003 Duplicated implementation block across source files src/adapters/cursor/index.ts:105
MED AIC003 Duplicated implementation block across source files src/adapters/copilot-base.ts:98
MED AIC003 Duplicated implementation block across source files src/adapters/copilot-base.ts:11
MED AIC003 Duplicated implementation block across source files src/adapters/codex/index.ts:499
MED AIC003 Duplicated implementation block across source files src/adapters/codex/index.ts:166
MED QUAL003 Magic number used as default arg src/session/snapshot.ts:8
MED QUAL003 Magic number used as default arg src/truncate.ts:94
MED LOG001 PII printed to stdout/stderr tests/live-benchmark.ts:267
MED LOG001 PII printed to stdout/stderr tests/ecosystem-benchmark.ts:582
MED LOG001 PII printed to stdout/stderr tests/context-comparison.ts:430
MED XSS001 Cross-site scripting — dangerouslySetInnerHTML tests/fixtures/github-issues.json:1
MED AIC001 Parallel implementation file sits beside a canonical file tests/live-benchmark-v04.ts:1
MED AGT006 React interval is created without an explicit cleanup src/server.ts:1245
MED AIC004 Suspicious implementation file appears unreferenced tests/live-benchmark-v04.ts:1
MED AGT012 Agent control bridge may listen on a network interface without visible auth src/server.ts:93
MED CRYP001 Crypto — plaintext HTTP for sensitive endpoint tests/hook-integration.test.ts:108
LOW QUAL005 Cluster of TODOs in one file tests/fixtures/github-issues.json:1
Reset to top 5 27 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `mksglu/context-mode`

**Score: 78/100 (A-)**  ·  28 findings  ·  scanned 2026-05-15 14:46 UTC  ·  96,481 LOC

| Severity | Count |
|---|---|
| CRITICAL | 0 |
| HIGH | 1 |
| MEDIUM | 25 |
| LOW | 1 |

📊 [Full filterable report](https://repobility.com/scan/f81e66fd-5b1e-4e21-a823-9c2737ca543a/)  ·  ![scorecard](https://repobility.com/scan/f81e66fd-5b1e-4e21-a823-9c2737ca543a/report.png?v=1778856417-s2)

### Top findings

1. **HIGH** `SUPC001` — Supply chain — curl | bash anti-pattern
   `src/server.ts:1735`
2. **MEDIUM** `ERR002` — Empty Catch Block: Empty catch blocks hide errors.
   `insight/src/routes/index.tsx:574`
3. **MEDIUM** `ERR002` — Empty Catch Block: Empty catch blocks hide errors.
   `src/server.ts:97`
4. **MEDIUM** `AIC003` — Duplicated implementation block across source files
   `src/adapters/gemini-cli/index.ts:222`
5. **MEDIUM** `AIC003` — Duplicated implementation block across source files
   `src/adapters/gemini-cli/index.ts:97`

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/f81e66fd-5b1e-4e21-a823-9c2737ca543a/_
Megaproject â high spam risk
Could not determine 'mksglu/context-mode' 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.