The default endpoint is package-aligned, but an unrestricted environment override can redirect an existing credential during ordinary analysis requests. This is conditional credential exposure risk, not evidence of covert theft or malicious install behavior.
Static reason
No blocking static signals were detected.; previous stored version diff introduced dangerous source
Trigger
The operator sets HAYSTACK_API_BASE to a destination outside the intended Haystack service and runs a command that fetches PR analysis.
Impact
The configured recipient can receive the existing account credential; the inspected default destination is Haystack’s service.
Mechanism
The analysis client builds requests from that setting and attaches the supplied token as a bearer credential, without a destination allowlist.
Evidence
dist/utils/auth.jsdist/commands/pr.jsdist/utils/analysis-api.js