alibabacloud-data-agent-skill

Warn

Audited by Socket on Aug 3, 2026

1 alert found:

Anomaly
AnomalyLOW
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
Analyzed At
Aug 3, 2026, 02:44 AM
Package URL
pkg:socket/skills-sh/aliyun%2Fdata-agent-skill%2Falibabacloud-data-agent-skill%2F@55e94a11d94da03bdd51732c80340f9b1d8c0f9f
Security Audit — socket — alibabacloud-data-agent-skill