alibabacloud-das-agent
Pass
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes natural language responses and tool results from the Alibaba Cloud DAS API. This creates a surface for indirect prompt injection if the database diagnostic data (such as SQL statements or performance metrics) were to contain malicious instructions.
- Ingestion points: User input is accepted via the
--questionargument, and external data is received through the Server-Sent Events (SSE) stream from the DAS API inscripts/call_das_agent.py. - Boundary markers: The script implements clear boundary markers (e.g., '=== DAS AGENT RESPONSE ===') when running in
--pipemode to help the calling agent distinguish between diagnostic content and control noise. - Capability inventory: The skill is limited to performing network requests to the official
das.cn-shanghai.aliyuncs.comendpoint. - Sanitization: The skill performs length and type validation on user-supplied questions and session IDs in the
_validate_messageand_validate_session_idmethods. - [EXTERNAL_DOWNLOADS]: The skill depends on the official
alibabacloud_credentialsPython library and connects to the official Alibaba Cloud endpointdas.cn-shanghai.aliyuncs.com. These resources originate from the skill's authoring organization and are necessary for the intended functionality. - [CREDENTIALS_UNSAFE]: The skill correctly implements the Alibaba Cloud default credential chain via the official SDK. It avoids hardcoding secrets and instead resolves them from standard environment variables or local configuration files as per vendor best practices.
Audit Metadata