alibabacloud-data-agent-skill
Warn
Audited by Socket on Aug 3, 2026
1 alert found:
AnomalyAnomalyalibabacloud-data-agent-mcp-skill/assets/server/internal/mcp/tools.go
LOWAnomalyLOW
alibabacloud-data-agent-mcp-skill/assets/server/internal/mcp/tools.go
The code contains a high-impact security risk: handleUploadFile allows a caller to supply file_path, which the server uses to read arbitrary local files and upload them externally via an OSS-signed HTTP POST. This can act as a server-side exfiltration primitive if the MCP caller/authorization is not strictly controlled. Additionally, it may leak upstream error response bodies via logs. No clear obfuscation or explicit malware (e.g., backdoor/reverse shell) is present in this fragment, but the file read/upload behavior warrants strict access control and path allowlisting/sandboxing.
Confidence: 72%Severity: 68%
Audit Metadata