metric-alert
Pass
Audited by Gen Agent Trust Hub on Oct 29, 2026
Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses
subprocess.runwithinscripts/metric_alert.pyto executeae-clicommands for ad-hoc SQL analysis. This is a primary function of the skill, designed to interface with the platform's CLI tool to fetch metric data. - Evidence: The script
scripts/metric_alert.pybuilds command arrays (e.g.,cmd = [ae_cli, "analysis", "adhoc", "run", ...]) and executes them usingsubprocess.run(cmd, capture_output=True, text=True, timeout=QUERY_TIMEOUT_SECONDS, check=False). - Mitigation: The script implements several safety checks, such as enforcing
LIMITclauses and requiring$part_datepartition predicates to prevent expensive full-table scans. Additionally, it uses the platform's ad-hoc analysis API, which is typically read-only, limiting the impact of the executed SQL. - [SAFE]: All external downloads and tool invocations refer to the platform's own infrastructure (the
ae-clitool) or the user's configured notification webhooks (WeCom, DingTalk, Feishu, Slack). The scriptscripts/metric_alert.pyis loaded from the skill's own assets viaae-cli agent +read-skill-script. - Evidence: SKILL.md and
references/agent-setup.mddefine standard procedures for reading internal script assets and using the verifiedae-clitool (version 6.1.5). No untrusted third-party repositories or external script sources were identified.
Audit Metadata