chatbot-widget-creator
Fail
Audited by Socket on Mar 9, 2026
1 alert found:
Obfuscated FileObfuscated Fileapi-clients/backend-session.template.ts
HIGHObfuscated FileHIGH
api-clients/backend-session.template.ts
The code creates an OpenAI chat session and returns the session.client_secret verbatim to any caller that issues a POST. There is no authentication, rate limiting, or session scoping in the snippet, so deploying this endpoint as-is would expose a sensitive credential to unauthenticated clients and allow abuse or unexpected costs. The snippet does not exhibit signs of intentional malware, but it implements a high-risk secret-exposure pattern that must be fixed before production use.
Confidence: 98%
Audit Metadata