alibabacloud-mcp-core-script-generate
Pass
Audited by Gen Agent Trust Hub on Jul 9, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The skill instructs the agent to execute shell commands, specifically
curlfor downloading API metadata andpython3for running a local validation script (check_sandbox.py) and processing JSON data. - [EXTERNAL_DOWNLOADS]: Fetches API definitions and cloud product metadata from official Alibaba Cloud domains (
api.aliyun.comandnext.api.aliyun.com). These sources are owned by the skill author (aliyun) and are used for legitimate functional discovery. - [SAFE]: The skill incorporates a robust safety mechanism via
scripts/check_sandbox.py, which validates generated code against a strict whitelist of modules and forbids dangerous operations such as reflection, OS access, and credential extraction. This prevents the generation of malicious code that could harm the user's environment. - [PROMPT_INJECTION]: The skill processes user-provided natural language requests to generate executable code.
- Ingestion points: User-provided cloud operation requests in
SKILL.mdworkflow. - Boundary markers: The skill uses a predefined 'Sandbox Contract' and validation script to delineate safe behavior.
- Capability inventory: The agent can perform subprocess execution (
curl,python3) and file system writes to/tmpfor validation purposes. - Sanitization: The
check_sandbox.pyscript performs regex-based auditing of all generated code to block forbidden imports (os,subprocess,requests) and high-risk functions (eval,exec) before the output is shown to the user.
Audit Metadata