The published CLI does not run on install, but once a user is logged in it will send the stored session access token and refresh token to hosts chosen by unrestricted environment overrides. That is conditional credential exposure to an operator-configured endpoint, not a hidden install-time export.
Static reason
High-risk behavior combination matched malicious policy.
Trigger
A user runs an authenticated dosu command while DOSU_BACKEND_URL_OVERRIDE or SUPABASE_URL_OVERRIDE points at a host the operator chose.
Impact
An operator-set override can receive the Dosu session access token and refresh token. With the defaults, those tokens stay on the package's own API and Supabase project.
Mechanism
Client sets baseURL from getBackendURL and fetch sends Supabase-Access-Token from the saved session. refreshTokenOnce posts the refresh token to the Supabase URL from getSupabaseURL. Neither function checks the host.
Evidence
bin/dosu.js~/.config/dosu-cli/config.json
Network endpoints2
api.dosu.devwldmetsoicvieidlsqrb.supabase.co