openai-responses
Audited by Socket on Sep 4, 2026
1 alert found:
AnomalyThis module is best characterized as an LLM proxy/orchestrator rather than classic supply-chain malware. However, it presents meaningful security risks: (1) it forwards attacker-controlled prompts to a model with powerful tools enabled (file_search/web_search/code_interpreter) and reflects tool/model outputs back to callers, and (2) it supports background result retrieval via a caller-provided responseId without any visible ownership/authorization binding in this snippet, which could enable cross-tenant/IDOR-style disclosure if responseIds are not strictly scoped. Review the unseen createResponse and fileIds sourcing/scoping and add explicit responseId ownership checks and output redaction/allowlisting as needed.