linkfox-multimodal-recognize-image
Audited by Socket on Oct 18, 2026
2 alerts found:
Anomalyx2This code implements an API client that sends JSON parameters and an environment-provided API key to https://tool-gateway[.]linkfox[.]com by default, then caches and stores the response locally. An overridden LINKFOX_TOOL_GATEWAY could redirect the request and expose the API key and request data. Unsanitized SESSION_ID can enable writes outside the intended session directory if an attacker can control that environment variable. Severity is moderate due to endpoint redirection and path-based file-write risks; no clear malware behavior is evident.
This is an image-upload utility with intentional external data transmission, not clear malware. The primary security concerns are disclosure of the selected file through a public-read object, transmission of API credentials and context headers to a configurable endpoint, and reliance on an unvalidated gateway-provided upload URL. Use only with trusted environment configuration and non-sensitive images; avoid public-read ACLs when possible. The supplied fragment is incomplete and would require correction to execute.