You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Found while working on #871 (see PR #874): the REST GET /api/v1/index/search endpoint (controller.SearchTools → raw Bleve query) applies no quarantine filtering — tools of a server-quarantined upstream appear in results deterministically (verified: quarantined server's tools returned with normal scores). Quarantine filtering currently lives only in the MCP retrieve_tools handler.
This partially undermines the quarantine model's promise that a quarantined server's tool descriptions are withheld: any REST caller (Web UI search, scripts with an API key) can still read them.
Pre-existing on main (0aa3de4), not introduced by #874 — that PR only canonicalizes the returned names. TestE2E_QuarantineConfigApply's step-4 assertion passed only vacuously before (bare names never contained the server: prefix), which is how this went unnoticed.
Suggested fix: apply the same visibility gate (indexedToolVisible/quarantine check) in the REST search path, or route it through the shared filtering seam used by retrieve_tools.
Activity
fix(security): shared agent-token operation policy — REST server muta…