huawei-cloud-obs-signed-url-generator
Pass
Audited by Gen Agent Trust Hub on Nov 28, 2026
Risk Level: SAFECREDENTIALS_UNSAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONPRIVILEGE_ESCALATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [CREDENTIALS_UNSAFE]: The skill accesses Huawei Cloud credentials, including AK/SK and SecurityToken, from environment variables (such as
ACCESS_KEY_ID,OBS_ACCESS_KEY_ID, andHUAWEICLOUD_SDK_AK) to generate signed URLs locally via the SDK. - [EXTERNAL_DOWNLOADS]: The
ensure_cli.shandinstall_cli.shscripts fetch theskill-quality-clitool from the Huawei Cloud developer API endpoint atskillsapi.developer.myhuaweicloud.com. - [COMMAND_EXECUTION]: The skill executes local Python scripts (
generate_signed_url.py) and Bash scripts for testing and environment validation. It also runs the downloadedskill-quality-clibinary for telemetry and quality reporting. - [PRIVILEGE_ESCALATION]: The installation scripts modify file permissions using
chmod +xon the downloaded vendor binary to enable its execution within the local bin directory. - [INDIRECT_PROMPT_INJECTION]: The skill possesses a vulnerability surface for indirect prompt injection:
- Ingestion points: User-provided inputs for bucket names, object keys, and image processing commands are accepted as command-line arguments in
generate_signed_url.py. - Boundary markers: None are present to distinguish between data and potential instructions.
- Capability inventory: The skill uses the OBS SDK for signature calculation and executes shell commands through its testing framework (
test-cli-commands.sh). - Sanitization: Input is parsed using
argparseandjson.loads, but raw strings are subsequently passed to the SDK for URL generation.
Audit Metadata