MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / mcp-browser-approval-ownership.test.ts

File mcp-browser-approval-ownership.test.ts

e2e/selfhost/mcp-browser-approval-ownership.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// Selfhost-only: the browser-approval HTTP endpoints are session-scoped. A
2// signed-in user who does not own the MCP session must not be able to read the
3// paused execution or record the human decision for it.
4import { randomBytes } from "node:crypto";

Callers

nothing calls this directly

Calls 9

scenarioFunction · 0.90
parseBrowserApprovalFunction · 0.90
composePluginApiFunction · 0.85
createInvitedIdentityFunction · 0.85
approvalEndpointFunction · 0.85
callMethod · 0.80
getMethod · 0.65
removeMethod · 0.65
fetchFunction · 0.50

Tested by

no test coverage detected