lexiang
Warn
Audited by Socket on Jun 18, 2026
1 alert found:
AnomalyAnomalyscripts/upload_file.sh
LOWAnomalyLOW
scripts/upload_file.sh
Overall, this module looks like a legitimate upload-and-create workflow with no strong indicators of malware or covert data theft. The primary security concerns are robustness and credential hygiene: it may leak sensitive temporary COS upload credentials in error output, and it builds JSON payload fragments using shell command substitution and unescaped user-controlled values (FILE_NAME/PARENT_ID), which could cause malformed requests or unintended API behavior. These issues warrant review/mitigation (proper JSON encoding/escaping, avoid echoing secrets), but they do not, by themselves, strongly suggest intentional malicious activity.
Confidence: 70%Severity: 55%
Audit Metadata