alibabacloud-actiontrail-diagnosis
Pass
Audited by Gen Agent Trust Hub on Aug 26, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/_cli.pyusessubprocess.runto execute thealiyunCLI for performing OpenAPI queries. It also usessubprocessto optionally install therequestspackage. - [EXTERNAL_DOWNLOADS]: The skill includes functionality to dynamically install the
requestsPython package from the official registry if theACTIONTRAIL_AUTO_INSTALLenvironment variable is enabled. - [DATA_EXFILTRATION]: The skill reads account configuration and credentials from the default vendor path
~/.aliyun/config.jsonto authenticate its requests. It implements a dedicated masking system to redact AccessKey IDs and account UIDs in all displayed outputs. - [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection as it processes and summarizes external audit log data.
- Ingestion points: Audit event data is ingested from the ActionTrail
LookupEventsAPI inscripts/lookup_events.py. - Boundary markers: The output is structured into markdown tables and summaries, but no explicit prompt-level delimiters are used to isolate untrusted content.
- Capability inventory: The skill can execute shell commands via
subprocessand access local configuration files. - Sanitization: The skill automatically redacts sensitive identifiers (AccessKey IDs, UIDs) using the
mask_textandmask_objfunctions inscripts/_cli.pybefore presenting results.
Audit Metadata