volcengine-sdk-generator
Audited by Socket on Oct 20, 2026
2 alerts found:
Anomalyx2This is a Volcengine API code-generation client that sends supplied parameters to https://api.volcengine.com/api/common and caches Swagger data locally. The principal security issue is that service_code, api_version, and action are used unsanitized in cache paths, permitting path traversal and potentially unintended JSON cache reads or writes subject to filesystem permissions. Parameter transmission to the fixed API host is consistent with the stated function, and this file shows no clear malware behavior. Severity: moderate security risk; no hardcoded credentials or suspicious external destinations are present.
No direct indicators of intentional malware are present in the provided fragment; it appears to be a legitimate SDK usage example. However, it includes multiple high-impact security anti-patterns—disabling TLS certificate verification, forcing plaintext HTTP, routing through an HTTP proxy, and enabling debug logging to a file—which can materially increase exposure to MITM interception and sensitive data leakage (especially for authenticated requests/headers/tokens depending on SDK logging). Review the underlying SDK/credential-provider implementations and ensure debug logging and transport security are correctly configured for production.