mirror of
https://github.com/zhukunpenglinyutong/jetbrains-cc-gui.git
synced 2026-08-30 17:56:21 +08:00
866469cde3
- High: render marketplace links only for http(s) schemes with target=_blank/noopener — blocks javascript: DOM-XSS in the webview. - Restrict registry-provided command to an allowlist of known runners; unknown runners are flagged unverified and risky install options show a prominent warning banner before adding. - Trust the 'official' badge only from the outer registry _meta and only when it carries structured metadata (not mere key presence). - Cap HTTP response bodies at 10 MB to prevent memory-exhaustion DoS. - Send GITHUB_TOKEN only to an exact GitHub host allowlist. - Copilot import preview now shows the full spec (env/headers included). - Translate docs/feat/mcp-marketplace.md to English. - Add McpMarketplaceHttpClientTest and allowlist/official mapper tests. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>