alibabacloud-sls-data-agent
Pass
Audited by Gen Agent Trust Hub on Nov 24, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDATA_EXFILTRATION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes local Python scripts and Aliyun CLI commands (
aliyun sls) to perform log analysis and maintain chat threads. These executions use list-based argument passing inscripts/_chat/cli.pyto mitigate command injection risks. - [DATA_EXFILTRATION]: It performs network operations to Alibaba Cloud SLS endpoints via the CLI and SDK to query logs and manage agents. It can also write session state to local files and export query evidence to the filesystem for diagnostic purposes.
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted log data and chat interaction payloads from external cloud sources, which could contain malicious instructions.
- Ingestion points:
scripts/chat.py(captures standard output from CLI events) andscripts/model_qa.py(receives data through the Alibaba Cloud SDK). - Boundary markers: The implementation uses structured JSON for processing API results and defines specific message/event decoding logic in
scripts/_chat/protocol.py. - Capability inventory: Includes executing cloud CLI commands and performing network requests through the
alibabacloud-sls20201230SDK. - Sanitization: Implements recursive depth limits and UTF-8 verification for JSON inputs in
scripts/_chat/inputs.py, and serializes command arguments using standard JSON encoding to prevent malicious data from influencing command structure.
Audit Metadata