Repository navigation
Conversation
# Conflicts: # tests/test_parse.py
feat(discovery): add ~/.claude.json to home discovery (#1)
- mcplint gate: read-only probe battery (7 probes) derived from public advisories (CVE-2026-59822 x2, CVE-2026-42271, CVE-2026-49468) - loopback-only unless --allow-host; exit codes 0/1/2; --json output - probe engine: multi-step MCP handshake with session propagation, method-preserving 307/308 redirect follow, 5xx-instead-of-denial surfaced as low findings - tests: mock patched/vulnerable/redirect/erroring gateways (13 tests) - docs: README runtime gate section, probe table; research/gate-lab-verification.md (real LiteLLM 1.100.0 vs 1.83.14) - version: 0.2.0
- gate --auth <expectations.yaml>: one test key (env var only) verifies tool-list filtering, x-mcp-servers scoping, and an opt-in read probe against an object the test user must not access - findings: AUTH001 forbidden tools (high), AUTH002 outside allowlist (medium), AUTH003 scoping not enforced (high), AUTH004 read leak (critical, content redacted), AUTH005 missing expected tool (low) - prints the key's tool inventory on every run (first-run discovery) - safety: literal keys rejected (env/VAR only), key never printed, no tool calls unless read_probe is configured, loopback-only by default - example expectations file + tests for clean/overexposed/scope-leak/ read-leak/missing-env cases - version: 0.3.0
…-file - /mcp route denials retry the canonical /mcp/ path (LiteLLM key-type route patterns like /mcp/* do not match /mcp without the slash) - upstream_headers: forward a test user's upstream token for per-user gateways; values are env-referenced only (literals rejected) - --env-file FILE: load the key and per-server tokens from one uncommitted file; existing environment variables win - 401/403 errors now include the gateway's reason (key redacted) and distinguish a missing permission grant from a bad key - tests: fallback path, upstream headers (present/missing/literal), env-file parsing and CLI wiring (63 tests total) - version: 0.3.1
…locks - auth mode now sends 'User-Agent: mcplint-gate' like the anonymous battery; Cloudflare and similar WAFs block Python-urllib with Error 1010 - 401/403 handling detects HTML/Cloudflare bodies and reports an edge block (with the right remediation) instead of blaming the key or permissions - tests: WAF block detection + UA requirement (65 tests total) - version: 0.3.2
- auth mode now prints 'test key sees 0 tool(s)' explicitly and adds an AUTH000 note naming the two common causes: a token missing the 'Bearer ' prefix (forwarded verbatim upstream) or an x-mcp-<alias>-* header that does not match the server alias - the auth-mode 'No findings' line now refers to the key's surface instead of the anonymous probes - tests: empty inventory reporting (66 tests total) - version: 0.3.3
- the HTTP client truncated bodies at 4 KiB; real tools/list responses with JSON schemas are tens of KB and broke parsing (surfaced as 'could not parse a tools/list response') - raise the cap to 4 MiB and add a 37 KB response regression test - tests: 67 total - version: 0.3.4
- read_probe now honors its expect field: 'allow' means the test user should have access — returned data is the pass condition, and a denial is flagged as AUTH006 (medium: the use case is broken) - 'deny' (default) keeps AUTH004 (critical) when data comes back - example expectations document both directions; README table updated - tests: expect-allow pass + denial cases (69 tests total) - version: 0.3.5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PoC test PR inside isolated fork to verify RepoGate composite action.