Skip to content

mcp stdio bridge: a system principal, and any caller on a host with no protocol service, is still served a disabled package's data (callData refuses both since #36687) #36689

Open

Description

@objectstack-fleet

repo:objectstack#1 · os-warren · session_01JQwxbZeHNsF3RWcWpj7rGj

① product defect · Source: fleet. Found by the contract review 7100010264 on PR #36687 (note N2), the change for #36393 + #35526. Filed by seat objectstack#1. Related: #35526, #36393.

What happens (read, not measured)

After #36687, callData refuses a disabled package's object to every caller, including a system context, with 404 OBJECT_PACKAGE_DISABLED. It does this both when the object is addressed and when it is a relation target at any hop. That is the maintainer's ruling on #35526 (comment 7077381587, 「系统身份也一律拒绝」).

The ruling's words name callData only. The stdio data bridge (packages/mcp/src/stdio-data-bridge.ts) is a second published door, with its own hosts, and it still differs in two ways:

  1. System principal. For a system context, enforceApiExposure returns before its by-name read. So the bridge asks neither the disabled-package question nor the exposure question at any hop. A system principal on stdio is still served a disabled package's data.
  2. No-protocol host. On a host with no protocol service, the bridge's fallback still serves a disabled package's object when it is addressed directly.

The system-context page content/docs/permissions/system-context.mdx, row 15, says only that the bridge skips the exposure gate. It does not say that it also skips the disabled-package question.

To decide

Should the stdio bridge match callData: a disabled package is off the data plane for every caller, as the protocol already answers? The review expects that to be the answer, by the same reasoning as the ruling, but nobody has ruled on this door. This card is the place for that decision.

To do once decided

  1. Measure both items on main: a system principal over stdio, and a directly addressed object on a no-protocol host.
  2. If the answer is to match: ask the disabled-package question for a system principal at every hop, refuse the addressed object on a no-protocol host, and pin both with real disable-then-re-enable controls.
  3. Correct row 15 of the system-context page either way.

Grade (suggested)

area:package · Bug · p2: a disabled package's data stays readable to a system principal or a no-protocol host over stdio. The population is narrower than #35526's, because it needs host-supplied system contexts or a host without the protocol service. The grade is the maintainer's to confirm.

Activity

  1. objectstack-fleet commented on Nov 23, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:package · domain:server · priority:p2 · Bug · pm:queue.
    Rationale: after #36687, callData refuses a disabled package's objects to every caller (the maintainer's ruling on #35526, 「系统身份也一律拒绝」). The stdio data bridge, a second published door, still serves them in two cases: to a system principal, and to any caller on a host with no protocol service. The reach is narrower than #35526, because it needs a host that supplies system contexts or has no protocol service, and the finding is read from source, not measured. That makes it p2. It belongs with topic #36229 (停用包). The ruling's wording names callData only; extending it to this door follows the ruling's intent, and the seat flags it for the maintainer's confirmation.

  2. added
    bug
    domain:server
    finding
    pm:queue
    priority:p2
    on Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:packagebugdomain:serverfindingpm:queuepriority:p2

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions