← Back to scan
File as GitHub Issue repo: noelrim/midnight-mcp

Push this scan report to noelrim/midnight-mcp

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

hono: GHSA-88fw-hqm2-52qc

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 MINED001 [MINED001] Bare Except Pass: except: pass or except Exception: pass — silently swallows e… query/index_server.py:99
HIGH SEC135 [SEC135] Auth/permission check missing on AI-generated endpoint: Mutating HTTP endpoint g… query/index_server.py:208
HIGH COMP001 [COMP001] High cognitive complexity: Function `passes_filters` has cognitive complexity 2… query/index_server.py:142
HIGH GHSA-j3q9-mxjg-w52f path-to-regexp: GHSA-j3q9-mxjg-w52f package-lock.json
HIGH GHSA-88fw-hqm2-52qc hono: GHSA-88fw-hqm2-52qc package-lock.json
HIGH GHSA-v39h-62p7-jpjc fast-uri: GHSA-v39h-62p7-jpjc package-lock.json
HIGH GHSA-q3j6-qgpj-74h6 fast-uri: GHSA-q3j6-qgpj-74h6 package-lock.json
HIGH MINED112 FastAPI POST /search has no auth query/index_server.py:209
MED CFG006 [CFG006] Missing .gitignore: No .gitignore file. Risk of committing secrets and build art…
MED SEC136 [SEC136] AI-typical over-broad exception handler swallowing all errors: Catch-all excepti… query/index_server.py:136
MED COMP001 [COMP001] High cognitive complexity: Function `search` has cognitive complexity 22 (Sonar… query/index_server.py:209
MED DEPCUR-NPM npm package `googleapis` is 23 major version(s) behind (150.0.1 -> 173.0.0) package.json
MED GHSA-q8mj-m7cp-5q26 qs: GHSA-q8mj-m7cp-5q26 package-lock.json
MED GHSA-27v5-c462-wpq7 path-to-regexp: GHSA-27v5-c462-wpq7 package-lock.json
MED GHSA-v2v4-37r5-5v8g ip-address: GHSA-v2v4-37r5-5v8g package-lock.json
MED GHSA-xrhx-7g5j-rcj5 hono: GHSA-xrhx-7g5j-rcj5 package-lock.json
MED GHSA-xpcf-pg52-r92g hono: GHSA-xpcf-pg52-r92g package-lock.json
MED GHSA-xf4j-xp2r-rqqx hono: GHSA-xf4j-xp2r-rqqx package-lock.json
MED GHSA-wwfh-h76j-fc44 hono: GHSA-wwfh-h76j-fc44 package-lock.json
MED GHSA-wmmm-f939-6g9c hono: GHSA-wmmm-f939-6g9c package-lock.json
MED GHSA-wgpf-jwqj-8h8p hono: GHSA-wgpf-jwqj-8h8p package-lock.json
MED GHSA-rv63-4mwf-qqc2 hono: GHSA-rv63-4mwf-qqc2 package-lock.json
MED GHSA-r5rp-j6wh-rvv4 hono: GHSA-r5rp-j6wh-rvv4 package-lock.json
MED GHSA-qp7p-654g-cw7p hono: GHSA-qp7p-654g-cw7p package-lock.json
MED GHSA-p77w-8qqv-26rm hono: GHSA-p77w-8qqv-26rm package-lock.json
MED GHSA-j6c9-x7qj-28xf hono: GHSA-j6c9-x7qj-28xf package-lock.json
MED GHSA-f577-qrjj-4474 hono: GHSA-f577-qrjj-4474 package-lock.json
MED GHSA-9vqf-7f2p-gf9v hono: GHSA-9vqf-7f2p-gf9v package-lock.json
MED GHSA-69xw-7hcm-h432 hono: GHSA-69xw-7hcm-h432 package-lock.json
MED GHSA-458j-xx4x-4375 hono: GHSA-458j-xx4x-4375 package-lock.json
MED GHSA-3hrh-pfw6-9m5x hono: GHSA-3hrh-pfw6-9m5x package-lock.json
MED GHSA-2gcr-mfcq-wcc3 hono: GHSA-2gcr-mfcq-wcc3 package-lock.json
MED GHSA-26pp-8wgv-hjvm hono: GHSA-26pp-8wgv-hjvm package-lock.json
MED GHSA-f886-m6hf-6m8v brace-expansion: GHSA-f886-m6hf-6m8v package-lock.json
MED GHSA-92pp-h63x-v22m @hono/node-server: GHSA-92pp-h63x-v22m package-lock.json
LOW COMP001 [COMP001] High cognitive complexity: Function `get_doc` has cognitive complexity 10 (Sona… query/index_server.py:254
LOW DEPCUR-NPM npm package `@modelcontextprotocol/sdk` is minor version(s) behind (1.27.1 -> 1.29.0) package.json
LOW GHSA-hm8q-7f3q-5f36 hono: GHSA-hm8q-7f3q-5f36 package-lock.json
LOW CORE_NO_LICENSE No LICENSE file
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… query/index_server.py:100
Reset to top 5 40 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `noelrim/midnight-mcp`

**Score: 69/100 (B-)**  ·  40 findings  ·  scanned 2026-06-19 19:49 UTC  ·  358 LOC

| Severity | Count |
|---|---|
| CRITICAL | 0 |
| HIGH | 8 |
| MEDIUM | 27 |
| LOW | 4 |

📊 [Full filterable report](https://repobility.com/scan/69d2a968-a339-4169-84c9-27aaee063419/)  ·  ![scorecard](https://repobility.com/scan/69d2a968-a339-4169-84c9-27aaee063419/report.png?v=1781898576-s2)

### Top findings

1. **HIGH** `MINED001` — Bare Except Pass
   `query/index_server.py:99` · CWE-755 · ✓ Repobility
2. **HIGH** `SEC135` — Auth/permission check missing on AI-generated endpoint
   `query/index_server.py:208` · CWE-862
3. **HIGH** `COMP001` — High cognitive complexity: Function `passes_filters` has cognitive complexity 29 (SonarSou
   `query/index_server.py:142`
4. **HIGH** `GHSA-j3q9-mxjg-w52f` — path-to-regexp: GHSA-j3q9-mxjg-w52f
   `package-lock.json`
5. **HIGH** `GHSA-88fw-hqm2-52qc` — hono: GHSA-88fw-hqm2-52qc
   `package-lock.json`

---

**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/69d2a968-a339-4169-84c9-27aaee063419/_
Megaproject â high spam risk
Could not determine 'noelrim/midnight-mcp' 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.