alibabacloud-avatar-video
Pass
Audited by Gen Agent Trust Hub on Apr 17, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [SAFE]: The skill follows secure credential management practices by reading sensitive information like
DASHSCOPE_API_KEY,ALIBABA_CLOUD_ACCESS_KEY_ID, andALIBABA_CLOUD_ACCESS_KEY_SECRETexclusively from environment variables. No secrets are hardcoded in the source code. - [COMMAND_EXECUTION]: Several scripts (
animate_anyone.py,live_portrait.py,image_to_video.py) use thesubprocessmodule to invoke system utilitiesffmpegandffprobefor media processing (e.g., format conversion, audio extraction). These calls are secure as they use list-based arguments and avoidshell=True, preventing shell injection vulnerabilities. - [EXTERNAL_DOWNLOADS]: The skill downloads AI-generated media assets (MP4, WAV, PNG) from official Alibaba Cloud DashScope and OSS endpoints. These operations are performed using the
requestslibrary andurllib.request.urlopen, with basic URL scheme validation (http/https) provided by theinput_validation.pyutility. - [SAFE]: File system operations are protected against path traversal attacks. The
resolve_under_cwdhelper ininput_validation.pyensures that any user-supplied output paths are strictly confined to the current working directory. - [SAFE]: All network communication is directed to legitimate Alibaba Cloud service endpoints (e.g.,
dashscope.aliyuncs.com,lingmou.cn-beijing.aliyuncs.com), which is consistent with the skill's stated purpose.
Audit Metadata