Vladimir-Kryshchenko/dsh-route-fence-linter
Vladimir-Kryshchenko★ 0TypeScript最后同步: 2026-08-21
Static linter for DeepSeek Harness plugin HTTP routes: every webServer route bypasses the /api gateway's trust check and must pin the Host to loopback itself. PASS/WARN/FAIL per route, as a CLI and a dsh tool.
README 摘要
dsh-route-fence-linter Every plugin route registered on webServer is dispatched by longest-prefix match , ahead of the host's /api gateway — so it never passes the gateway's unified trust check. Each plugin author must ship their own browser-trust fence, and most do not. This linter finds the ones that did not. Usage Exit codes: 0 clean · 1 at least one FAIL · 2 usage/IO error. Verdicts Verdict Meaning PASS The handler gates on a fence that pins the Host before Origin handling. WARN Inside the fence, Origin / sec-fetch-site is read before the Host is pinned. Confirm the ordering by hand. FAIL One of: no Host check anywhere; a fence that compares Origin to Host but never pins the Host to loopback (bypassable by DNS rebinding — the attacker controls both headers and they match); or a fence that exists but this handler never calls. Bundles whose sources cannot be read are reported as SKIP and counted in the summary — a skipped bundle is not a clean bundle. registerFallback is checked too, and reads worse than any route when unfenced: the fallback seat answers every request no named route matched , so one unfenced fallback is a wider surface than a whole prefix tree. Scan scope The sca…
在 GitHub 查看完整 README →分类
🎨 Best DeepSeek Harness Design Plugin. The open-source Claude Design alternative. 🖥️ Local-first desktop app. 🖼️ Your coding agent becomes the design engine: prototypes, landing pages, dashboards, slides, images & video — real files, HTML/PDF/PPTX/MP4 export. 🤖 Claude Code / Codex / Cursor / DeepSeek Harness / OpenCode & 20+ CLIs via BYOK.
★ 90,234
esengine/DeepSeek-ReasonixDeepSeek-native AI coding agent for your terminal. Engineered around prefix-cache stability — leave it running.
★ 35,020
crafter-station/petdexA public gallery of animated pets for Codex, Claude Code, DeepSeek Harness, Hermes, OpenCode, Gemini CLI, and more.
★ 3,949