openrouter-team-setup
Audited by Socket on Sep 9, 2026
2 alerts found:
Anomalyx2The fragment appears to implement legitimate team-based OpenRouter access rather than malware. It contains no evident malicious payload or covert exfiltration beyond intended API requests. However, authorization is insecure because identity is established only from a caller-controlled email value, roles are ignored, and production access can be requested through the public method. Authentication, server-side identity binding, strict environment policy, and key validation are required before production use.
The fragment does not show intentional malware or overt supply-chain attack behavior. It implements a conventional authenticated LLM proxy, but contains insecure hardcoded example credentials and relies on undefined authorization, budgeting, client, and tracking components. If deployed as written, the static tokens could permit unauthorized access, and prompt/model handling requires review of the omitted components and the external client configuration.