thesys-generative-ui

Warn

Audited by Socket on Sep 15, 2026

3 alerts found:

Anomalyx3
AnomalyLOW
templates/nextjs/tool-calling-route.ts

The fragment does not show intentional malware or supply-chain sabotage. It is a shopping-assistant API with expected external LLM and search integrations. The primary security concern is an unauthenticated, cross-origin-accessible create_order capability, combined with client-controlled conversation state and logging of customer data. These issues should be fixed before production use by adding authentication, authorization, CSRF protections or restrictive CORS, rate limits, explicit order confirmation, server-side pricing and inventory validation, and careful log redaction.

Confidence: 97%Severity: 67%
AnomalyLOW
templates/python-backend/fastapi-chat.py

The code implements an external AI streaming proxy and does not show clear malicious behavior. The primary risks are insecure deployment and API exposure: unrestricted CORS, no endpoint authentication or rate limiting, raw exception disclosure, and possible disclosure of prompts to the external TheSys service. The API key is read from an environment variable and is not directly returned or logged. The fragment also appears syntactically incomplete at the end. Review and harden the deployment before production use, and separately inspect the imported SDK and decorator.

Confidence: 97%Severity: 67%
AnomalyLOW
templates/python-backend/flask-chat.py

The fragment implements an AI chat proxy and contains no clear malicious payload or intentional unauthorized behavior. The principal risks are permissive CORS, unauthenticated prompt submission, possible API-cost abuse, production exposure of Flask debug mode, and leakage of exception details. Prompts are intentionally sent to the configured third-party Thesys service. Review the unseen thesys_genui_sdk implementation and restrict CORS, disable debug mode, validate request size and type, add authentication/rate limiting, and avoid returning raw exception details before production deployment.

Confidence: 97%Severity: 61%
Audit Metadata
Analyzed At
Sep 15, 2026, 12:08 AM
Package URL
pkg:socket/skills-sh/secondsky%2Fclaude-skills%2Fthesys-generative-ui%2F@5ebae8a26237b4afceafce86525536f87f7dbcaeb33925cb1d08fd067b1b576d
Security Audit — socket — thesys-generative-ui