alibabacloud-agent-identity-agentrun-e2e

Pass

Audited by Gen Agent Trust Hub on Nov 11, 2026

Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONPERSISTENCEDYNAMIC_EXECUTION
Full Analysis
  • [EXTERNAL_DOWNLOADS]: The skill clones the official vendor repository 'aliyun/agent-identity-dev-kit' from GitHub to obtain sample code and templates.
  • [COMMAND_EXECUTION]: Orchestrates the deployment through a series of shell scripts that invoke the Alibaba Cloud CLI (aliyun) and Python SDKs to manage RAM policies, OSS buckets, and AgentIdentity configurations.
  • [PERSISTENCE]: Modifies the local Alibaba Cloud CLI configuration by setting 'auto-plugin-install' to true. This persistent change is documented in the skill instructions, and remediation steps to revert the setting are provided.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted user input, such as IdP Discovery URLs and resource names, creating a potential surface for indirect injection.
  • Ingestion points: User-supplied Discovery URLs, resource names, and model names collected in Phase 2.
  • Boundary markers: Absent.
  • Capability inventory: Shell execution of scripts, file writing for state management (save_kv), and cloud API operations (RAM, AgentIdentity, OSS).
  • Sanitization: Implements basic string escaping for environment variables in 'scripts/lib/common.sh'.
  • [DYNAMIC_EXECUTION]: Multiple scripts (e.g., '01_prepare_identities.sh', '06_cedar_setup.sh') dynamically generate and execute Python code using heredocs to perform complex API interactions and policy generation.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 11, 2026, 10:51 AM