Public scan — anyone with this URL can view this analysis. Sign up to track your own repos privately, run scheduled re-scans, and get AI fix prompts via your dashboard.

mksglu/context-mode

https://github.com/mksglu/context-mode · scanned 2026-05-15 14:46 UTC (4 weeks ago) · 10 languages

241 raw signals (28 security + 213 graph) 84th percentile · Typescript · medium (20-100K LoC) System graph score 69 (higher by 13)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 4 weeks ago · v1 · 14 actionable findings from 1 signal source. 13 repeated signals grouped for readability. Security checks, system graph analysis, and verified AI-agent feedback are merged into one review queue.

JSON
Score breakdown â 2026-05-17-v4 calibration-aware
Component Sub-score Weight Contribution
structure_score 85.0 0.15 12.75
security_score 97.8 0.25 24.45
testing_score 95.0 0.20 19.00
documentation_score 75.0 0.15 11.25
practices_score 65.0 0.15 9.75
code_quality 47.8 0.10 4.78
Overall 1.00 82.0
Calibrated penalty buckets (security_score): agent: 2.3
Severity distribution — click a segment to filter
Active filters: excluding tests × Reset all
Corpus Intelligence Cross-corpus context (cohort percentile, top patterns, fix plan) is shown only on repositories you own. Sign up and connect your repo to view it.
Scan summary Ranks in the 39th percentile among small-sized repos. Strongest testing (85), documentation (85); weakest dependencies (60), practices (63). 16 findings (2 high). Most common pattern: cpp-new-without-delete. ~19h tech debt (rating B).

Showing 9 of 14 actionable findings. 27 raw detector signals were grouped into reader-sized issues. Click TP / FP to vote on a finding's accuracy — votes adjust the confidence weighting and improve detection across the platform.

high Security checks software Supply chain conf 0.85 Supply chain — curl | bash anti-pattern
curl ... | sh / bash — runs unverified network code.
src/server.ts:1735 curl-pipe-bash · CWE-494 · A08:2021
medium Security checks quality Error handling conf 1.00 [ERR002] Empty Catch Block: Empty catch blocks hide errors.
Log the error or rethrow it. Use console.error() at minimum.
insight/src/routes/index.tsx:574
medium Security checks quality Error handling conf 1.00 [ERR002] Empty Catch Block: Empty catch blocks hide errors.
Log the error or rethrow it. Use console.error() at minimum.
src/server.ts:97
high Security checks quality Quality conf 0.72 Agent control bridge may listen on a network interface without visible auth
Agent, MCP, sidecar, and command bridge servers often start as local helpers. Binding them to 0.0.0.0 or a default all-interface listener without an authorization guard can expose tool execution or session data to the LAN.
src/server.ts:93
low Security checks quality Quality conf 0.60 12 occurrences Duplicated implementation block across source files
Duplicate implementation blocks are maintenance debt. Keep them visible, but they are not a high-severity defect unless the duplicated logic is security-sensitive or drifting.
5 files, 12 locations
src/adapters/gemini-cli/index.ts:10, 90, 97, 222 (4 hits)
src/adapters/cursor/index.ts:105, 111, 465 (3 hits)
src/adapters/codex/index.ts:166, 499 (2 hits)
src/adapters/copilot-base.ts:11, 98 (2 hits)
src/adapters/gemini-cli/hooks.ts:25
duplicationquality
high Security checks quality Quality conf 0.85 Magic number used as default arg
Using hardcoded default values for complex configuration objects makes the code brittle and difficult to manage. Consider using a dedicated factory or builder pattern. Auto-promoted from proposal 444 on 2026-05-12. Synth confidence: 0.85. FP estimate: 0.00.
src/session/snapshot.ts:8 magic-number-default
high Security checks quality Quality conf 0.85 Magic number used as default arg
Using hardcoded default values for complex configuration objects makes the code brittle and difficult to manage. Consider using a dedicated factory or builder pattern. Auto-promoted from proposal 444 on 2026-05-12. Synth confidence: 0.85. FP estimate: 0.00.
src/truncate.ts:94 magic-number-default
high Security checks software Logging conf 0.85 3 occurrences PII printed to stdout/stderr
Logging password/token/email/ssn directly to stdout.
3 files, 3 locations
tests/context-comparison.ts:430
tests/ecosystem-benchmark.ts:582
tests/live-benchmark.ts:267
print-pii · CWE-532 · A09:2021
medium Security checks quality Quality conf 0.78 React interval is created without an explicit cleanup
Intervals created in React hooks or components should be cleared on unmount. Missing cleanup can keep stale callbacks alive after recording, polling, or overlay components close.
src/server.ts:1245
For AI agents: Voting guide (TP/FP) MCP manifest Stdio wrapper SARIF Integrate Findings queue Vote TP/FP on findings to calibrate the engine.
For AI agents + API integrations
Email me when this repo regresses
Free. We re-scan periodically; new criticals → your inbox. No signup required for the scan itself.
API access

This page is publicly accessible at: https://repobility.com/scan/f81e66fd-5b1e-4e21-a823-9c2737ca543a/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/f81e66fd-5b1e-4e21-a823-9c2737ca543a/

Important — please don't re-submit the same URL repeatedly. The submission endpoint is idempotent: re-submitting the same git URL returns this same scan_token, not a new one. To re-scan this repo, sign up free and use the dashboard.