MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / oauth-client-handoff.test.ts

File oauth-client-handoff.test.ts

e2e/scenarios/oauth-client-handoff.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// Secrets never cross the agent boundary: a confidential OAuth app is registered
2// through a BROWSER handoff, not by passing the client secret as a tool argument.
3//
4// This is the regression guard for the secret-leak fix. The agent-facing

Callers

nothing calls this directly

Calls 15

scenarioFunction · 0.90
createEmulatorInstanceFunction · 0.90
composePluginApiFunction · 0.85
makeApiClientFunction · 0.85
smuggleSecretCodeFunction · 0.85
createPublicClientCodeFunction · 0.85
handoffForBrowserCodeFunction · 0.85
startConnectionCodeFunction · 0.85
callMethod · 0.80
execMethod · 0.80
uniqueFunction · 0.70
createHandoffCodeFunction · 0.70

Tested by

no test coverage detected