tanstack-start
Audited by Socket on Sep 15, 2026
1 alert found:
SecurityThe code appears to be legitimate application functionality rather than malware. The principal security issue is an unsafe filesystem path constructed from the uploaded filename, creating a likely path traversal risk; sanitize the name, use a generated basename, resolve and verify containment under the upload directory, and preferably store uploads outside executable or sensitive paths. MIME validation should also be supplemented with content-based inspection. The server-only secret accessor is not inherently malicious but requires strict authorization and must not be exposed through client-callable handlers. Because only a fragment is shown, authentication, caller restrictions, and framework behavior cannot be confirmed.