The agent dev command can route ANTHROPIC_API_KEY to an endpoint selected independently, including a non-Anthropic or user-configured host. This is a credential-routing risk that requires the user to invoke the command, so it warrants a warning rather than a malicious verdict.
Static reason
One or more suspicious static signals were detected.
Trigger
A user runs `antseed agent dev` with both provider keys available and selects a non-Anthropic endpoint, such as through `--endpoint` or `OPENAI_BASE_URL`.
Impact
The Anthropic credential may be sent to a different provider or user-configured host, risking unauthorized use of that key.
Mechanism
Endpoint selection and API-key selection use separate precedence rules: the Anthropic key can be selected regardless of the chosen endpoint, then supplied to the provider configured for that endpoint.
Evidence
dist/cli/commands/agent.js
Network endpoints2
api.anthropic.comEndpoint supplied by `--endpoint`, `OPENAI_BASE_URL`, or `ANTHROPIC_BASE_URL`