Skip to content

History / Security

Revisions

  • T6: the wiki describes what is, not what changed Seven passages narrated the project's own development — "The list used to…", "previously ran each instance as a Colima container", "An earlier version of this page concluded… That was wrong", "`e` used to hide the engine data". A reader arriving at a page wants to know how the thing works, and every one of those sentences made them read a diff first. Each is rewritten to state the current behaviour and keep the substance. "It used to carry a loopback `this-mac` and `node1`… which made four machines report as five" becomes "**A machine is counted once**, which matters because the engine warning threshold is a fraction of the node count" — the reason the behaviour matters survives; the history does not. One of the seven was mine: the note I added to `Security.md` explaining that an earlier version had recorded the missing pin as an accepted limitation. That belongs in the tracker or the changelog, not in the middle of a reader's explanation. Swept all 14 pages afterwards; the only remaining matches for the history phrases are `cannot be used to hide depth` and the `Refused to fetch` heading, both false positives on the substring.

    @Pummelchen Pummelchen committed Sep 18, 2026
  • 1.3.0 is out; the tracker is empty **`v1.3.0` is released** — `mcps-1.3.0-macos-arm64.tar.gz` with its checksum and `SHA256SUMS`, built native `arm64` from the tag, published. The wiki's release pointer, the test count (627) and the two security pages follow it. **T6 is closed, and the tracker has nothing open.** It was the last entry: the security fixes were on `main` and in no release, and now they are in one. Both of the caveats this wiki added when the fixes were unreleased are rewritten to say what a release contains rather than what it lacks — the address check is in `v1.3.0`, and the older, unsound nesting model is a `v1.2.0` property now.

    @Pummelchen Pummelchen committed Sep 18, 2026
  • The two security fixes are on main and in no release — say so `v1.2.0` is the current release, and it has neither fix: no address check at all, and the nesting guard with the older model that read shallower than the parser on 18 of 37 real pages. This wiki was describing the fixed behaviour without saying so, which is the one thing a security page must not do — a reader on the released binary would believe they had protections they do not. So each of the two sections now ends with what a release does and does not contain, `Home.md` no longer attributes the suite count to "the released build", and the tracker gains **T6**, because fixes that no release carries are open work with a known next step. Tests: 623 → **624**, and the skip note now names both opt-in runs — the six live provider tests and the nesting guard's real-page corpus — rather than implying there is only one reason a test can skip.

    @Pummelchen Pummelchen committed Sep 18, 2026
  • The depth model failed against real pages, and that is now on the record `Security.md` claimed the guard was "a sound upper bound ... exact on 24 of 25 representative constructs". That corpus was hand-written, and the model turned out to read *shallower* than the parser on **18 of 37 real pages** — the direction that lets a crash through. The page now says so, with what the two defects were and where they were fixed. The tracker's **T3** — "the nesting bound is verified against 25 hand-written constructs, not real pages" — is done, so it is deleted rather than archived, and the number is not reused. `Testing.md` now names the opt-in run so the check is repeatable: `MARKUP_DEPTH_CORPUS=<dir>`, skipped by default so the suite stays hermetic, which is the same arrangement as the live provider tests.

    @Pummelchen Pummelchen committed Sep 18, 2026
  • Tracker: open work only, numbered — and the limitations it held moved to where they belong The tracker was a mix of three things: open tasks, accepted limitations, and information. It is now open work only, every entry numbered, with nothing closed and nothing that is merely informational. **Numbered.** `T1`–`T5`. Numbers are never reused, so a gap means a closed entry rather than a renumbered one — which is the point of numbering a page whose entries are deleted when they close. **Removed**, because none of it is open work: - the `Node1 <node1@Node1.local>` author note, which the page itself said needed "nothing that should be done"; - the whole **Accepted limitations** table — decisions, not tasks, and the table claimed each was already documented where a user meets it; - **How something gets fixed here** — process, not work. The two rules a reader of this page needs are now in its preamble: closed entries are deleted, and numbers are never reused. **Removing the limitations table was not free, and it is worth saying what it cost.** Four pages linked into `#accepted-limitations`, and that anchor died with the section. Worse, two of the five limitations — the macOS-runner dependency and the absence of JavaScript execution — were **only** stated here; the table's own "Documented in" column pointed at `Testing.md` and `Tools-Reference.md`, where neither was actually written down. Deleting the section would have deleted them from the wiki. So they were moved to the pages that were always supposed to carry them: - `Testing.md` gains **What CI cannot promise** — shared runner capacity, a run that queues for fifteen minutes, and `cancel-in-progress` superseding it, so "did not run" is not "failed"; - `Tools-Reference.md` gains the no-JavaScript boundary under **Extraction**. The remaining dead links were repaired: `Compatibility.md` and `Security.md` pointed at the deleted anchor, and `Testing.md` and `Troubleshooting.md` credited the tracker with entries it never had. **T5 is new**, and it is the reason the page is more than a restructure: `Testing.md` called a scheduled live smoke test on CI "still open work on the Project Tracker", and the tracker had never listed it. Open work that a page points at should exist on the page it points to.

    @Pummelchen Pummelchen committed Sep 18, 2026
  • Sync with the code: the rebinding gap is closed, and the counts are right Three things on this wiki no longer matched the code. **The DNS-rebinding limitation is closed.** `Security.md` recorded the missing address pinning as an accepted limitation, and `Project-Tracker.md` listed it as a decision. The transport limitation is real and remains — `URLSession` exposes no pinning — but it no longer decides whether an attacker gets the content: the fetch now reads the address the connection actually used off the task metrics and refuses the body unless it was one the policy resolved for that host. `Security.md` describes that, including what it is not (detection, not prevention) and where it does not apply, and the tracker row is rewritten to the residual rather than deleted, because the connection is still made. **The test counts were stale** — 610 and 590 against an actual 623. **The nesting bound had no page.** `MarkupDepth` is a denial-of-service defence on the fetch path and was undocumented: it is measured on the raw bytes before parsing, models HTML's implied end tags rather than counting brackets, and is a sound upper bound on the tree the parser builds. It now has a section in `Security.md`, a row in the threat model, and its test file in `Testing.md`'s layout table. `Monitor.md`'s "6101ms" is a latency in a screenshot and was left alone.

    @Pummelchen Pummelchen committed Sep 18, 2026
  • Docs: make the wiki a user guide, and reduce the tracker to open work The wiki had drifted into a development record. This is the pass that makes it something a user can read: the audit history comes out, the tracker keeps only what is open, and the three reference pages that had no examples get them. Project Tracker * 1011 lines -> ~60. It was a history of the audit, an action plan, observations and decisions; the task now is what is open. Closed items are deleted rather than archived, so an entry that is gone is done — the CHANGELOG and release notes are where a shipped fix belongs. * What remains: the four open items (the PAT rotation, now issue #16; `node5`; the unasserted second half of the "two executables against one stub" contract; and one commit authored under a worker identity, which is recorded rather than rewritten), plus the six **accepted limitations** as decisions with the reason and the page that documents each. * Adds how a fix happens here, because that is what a reader needs to judge whether to report something. Home * Drops the "Project status" audit history — PR numbers, commit SHAs, ledger IDs, Phase E runs and a path into `AUDIT/` that no longer exists — for a "Current release" section a user can act on. * Test count 590 -> 591. Examples * **Providers**: a working two-provider configuration, and asking `web_search_status` what the server actually sees instead of assuming the environment took effect. * **Reliability**: the two knobs that cover most tuning, and what a partial answer looks like. * **Security**: the supported way to expose the HTTP transport — reverse proxy, loopback bind, and the declared host name that everything else is refused against. Also removes two stale ISSUE- references from Compatibility and Security, and repoints an anchor at the tracker's accepted-limitations table, which is what the old `#known-limitations` anchor had named. Every internal wiki link and anchor now resolves.

    @Pummelchen Pummelchen committed Sep 16, 2026
  • Mirror the ledger for B11, B25 and B21 B11: half-open breaker admits exactly one probe. B25: terminal escape injection from instance-controlled text. B21: Host allow-list derived from the bind address, plus --http-allowed-host; Installation, Security, Compatibility and Troubleshooting document it.

    @Pummelchen Pummelchen committed Sep 13, 2026
  • Reconcile the wiki with the implementation Corrects every page the 17-commit correctness pass made stale: - Test count 287 -> 309 (6 opt-in live tests); Home, Testing, Project-Tracker. - Smoke test is a presence check against REQUIRED_TOOLS; exactness lives in StdioServerTests/SchemaCompatibilityTests. Testing reworded. - SSRF: embedded-IPv4 unwrapping documented in Security, 0.0.0.0/8 added to reserved, DNS-rebinding window recorded as an accepted limitation. - Jina is not a provider: Providers table row removed, section rewound, Configuration explains JINA_API_KEY only raises the reader limit. - ProviderCapabilities deleted; adding-a-provider no longer lists capabilities. - SEARCH_CONNECT_TIMEOUT_MS removed from Configuration; request timeout is what bounds a connect, and Reliability says so. - Transport flags reject an explicit --transport stdio conflict (Installation, Troubleshooting). - Reliability: deadline no longer trips breakers, last-resort local wait, fan-out refill. - Monitor: providers probed once on the first frame only; --watch and --allow-expensive-probing documented. - Self-Hosting: pinned digest, canary validation, per-node secret key, local instance loopback-only, Docker Desktop LaunchAgent and its removal. - Security/Compatibility: no built-in auth by design; human-readable text block rather than a JSON mirror of structuredContent. - Project-Tracker: CI status corrected to green-pending-the-run, resolved issues moved to the audit trail (open issues 17 -> 6), 47-task plan annotated with completions, decisions added for the connect timeout, Jina, DNS rebinding and auth. - Testing: local builds need --scratch-path outside Dropbox; .build is now com.dropbox.ignored.

    @Pummelchen Pummelchen committed Sep 12, 2026
  • Document the mcps-mon dashboard New Monitor page: what it shows, why provider probing is opt-in, every flag and key, and how the two probe paths work. Two design decisions are worth recording because they are easy to get wrong: - Nodes are asked for JSON directly, not through the MCP server. An instance that is running but has JSON disabled answers 403, and reporting that as "down" would send an operator looking for a network fault. It shows as DEGRADED with the real reason instead. - Providers are probed one at a time through the same adapters the server uses, never through the orchestrator, because a fused answer deliberately hides which provider failed - which is precisely what the dashboard exists to show. Also notes that the testable parts live in the library rather than the executable, since an executable's symbols cannot be imported by a test target.

    @Pummelchen Pummelchen committed Sep 11, 2026
  • Document client compatibility, OpenAI/Anthropic/Open Responses Adds a Compatibility page recording what each client and API requires, verified against official documentation, plus the schema rules the server must follow and why each one exists. Several of those rules are counter-intuitive - notably that additionalProperties:false is required rather than risky, and that nullable type unions are officially supported - so the reasoning is captured rather than the conclusion alone. Also documents the Streamable HTTP transport: endpoints, the session and Accept requirements it enforces, and the security posture (loopback by default, no authentication, TLS behind a reverse proxy). Updates Installation (transport flags), Tools Reference (nullable optionals, and text carried once rather than duplicated), Testing (209 tests, HTTP smoke coverage, the schema rule tests), Home and every navigation strip, and the Project Tracker, which now records the remaining HTTP gaps honestly: no auth, no TLS, no server-initiated streaming, and no end-to-end test against a real vendor client yet.

    @Pummelchen Pummelchen committed Sep 11, 2026
  • Write the full project wiki Grows the wiki from eight short pages into a complete, navigable reference of eleven pages, and adds the two that were missing: - Installation: requirements, building, client configuration, verification. - Tools Reference: every argument, response field, mode, error category and example call for the three tools. - Reliability: the timeouts, retries, circuit breakers, rate limits and cache that enforce the "one vendor outage never fails a search" rule, with the failover matrix. - Architecture, Providers, Configuration, Security, Testing and Troubleshooting are expanded into full references rather than summaries. Every page carries a navigation strip, all internal links are verified, and the detail that was previously duplicated in the repository README now lives here.

    @Pummelchen Pummelchen committed Sep 11, 2026
  • Build the wiki: architecture, providers, config, security, testing, tracker Replaces the placeholder Home page with real documentation and adds the project tracker. Beyond reference material, several pages record findings that are easy to lose: - Providers.md documents the API quirks each adapter depends on: Mojeek authenticates by query parameter and returns HTTP 200 for a bad key, Brave reports an invalid token as 422 plus an error code, Exa answers a missing key with 402 and has no score field, SearXNG returns 403 when JSON is disabled, and DuckDuckGo signals its bot challenge with HTTP 202. - Security.md explains why three SSRF layers are needed and what exactly is refused. - Testing.md documents the hermetic-environment requirement, which was a real defect: end-to-end tests used to inherit ambient provider keys. - Project-Tracker.md is the living task list, with the same-index double-counting limitation recorded honestly as open rather than solved.

    @Pummelchen Pummelchen committed Sep 11, 2026