MCPcopy Create free account
hub / github.com/dwgx/WindsurfAPI / dashboard-proxy-validate.test.js

File dashboard-proxy-validate.test.js

test/dashboard-proxy-validate.test.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1// v2.0.55 audit H3 regression — /dashboard/api/proxy/global PUT and
2// /dashboard/api/proxy/accounts/:id PUT must run the same private-host
3// gate the add-account path uses. Without it, a dashboard-authenticated
4// caller (chat-API key on pre-v2.0.55) can pin the proxy at 127.0.0.1 /

Callers

nothing calls this directly

Calls 4

configureBindHostFunction · 0.90
handleDashboardApiFunction · 0.90
mkAuthedReqFunction · 0.85
mkResFunction · 0.70

Tested by

no test coverage detected