elenalyse@1.0.1
Interactive CLI personal developer assistant
AI security review
scanned · by lpm-firewall-aiThe default provider is OpenRouter, and its client setup accepts an OpenAI key and sends it to OpenRouter. This is cross-service credential disclosure, even though the chat request itself is user initiated.
Static reason
No blocking static signals were detected.
Trigger
The user starts a chat while OpenRouter is selected (the default) and OPENAI_API_KEY is set but OPENROUTER_API_KEY is not.
Mechanism
The OpenRouter client setup falls back to OPENAI_API_KEY and passes that value to the OpenRouter API client.
Attack narrative
With the default OpenRouter provider, chat setup accepts OPENAI_API_KEY as a fallback and uses it to authenticate requests to OpenRouter. Starting a chat can therefore disclose an OpenAI credential to a different service.
Evidence
dist/config.jsdist/chat.js
Network endpoints1
openrouter.ai/api/v1