alibabacloud-cksync-plan
Pass
Audited by Gen Agent Trust Hub on Oct 25, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data from source clusters (database names, table names, engines, and SQL query results) and interpolates this information into a migration plan template.
- Ingestion points: SKILL.md Step 3 (User-provided SQL results or direct HTTP query output).
- Boundary markers: The skill does not explicitly instruct the agent to use delimiters or warnings to ignore instructions embedded within the ingested metadata.
- Capability inventory: The agent generates complex SQL migration scripts (INSERT FROM REMOTE, BACKUP/RESTORE) and a structured migration plan based on the metadata.
- Sanitization: There are no specific instructions for the agent to sanitize or escape database/table identifiers before generating the final migration plan or SQL commands.
- [DYNAMIC_EXECUTION]: The skill generates operational SQL scripts and shell commands (curl) at runtime by interpolating user-provided cluster information into predefined templates in assets/migration-plan-template.md and references/sql.md. This is a low-risk standard practice for planning skills.
- [COMMAND_EXECUTION]: The skill provides templates for sensitive operations, including database backup, restoration, and remote data insertion. While it includes robust security warnings (e.g., in references/sql.md section 5) advising users to use environment variables instead of plaintext passwords, the agent is responsible for generating these command strings based on user input.
Audit Metadata