alert-triage
Pass
Audited by Gen Agent Trust Hub on Nov 5, 2026
Risk Level: SAFECOMMAND_EXECUTIONPRIVILEGE_ESCALATIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill makes extensive use of the
Bashtool to perform infrastructure diagnostics. It executeskubectlcommands (describe,logs,top,get events) to inspect the state of the cluster andgrepto search the internal knowledge base for past incident reports. - [PRIVILEGE_ESCALATION]: The instructions direct the agent to switch Kubernetes contexts using
kubectl config use-context <prod-context>to verify production regressions. This operation allows the agent to move between staging and production environments to perform its primary diagnostic functions. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process potentially untrusted data from external sources, creating a surface for indirect prompt injection.
- Ingestion points: The agent parses Grafana/Loki alert payloads and queries live Loki logs, both of which can contain content influenced by external actors.
- Boundary markers: The instructions specifically mandate that external descriptions and runbook claims must be treated as "unverified hypotheses" (
待驗證假設) that require live evidence to be promoted to facts. - Capability inventory: The skill has access to the
Agenttool for opening PRs,Bashfor cluster interaction, andWritefor reporting conclusions to the local knowledge base. - Sanitization: The agent normalizes all inputs into a structured envelope and utilizes mandatory human-in-the-loop (HITL) gates (G1 through G4) before opening PRs or closing alerts, providing a significant defense against automated obedience to injected instructions.
- [DYNAMIC_EXECUTION]: The skill dynamically assembles shell commands by interpolating variables derived from the alert payload (such as
alertname,service, andnamespace) intogrepsearch patterns andkubectlresource paths. This pattern is central to the skill's diagnostic capabilities.
Audit Metadata