investigate-metric
Pass
Audited by Gen Agent Trust Hub on Sep 16, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill instructs the agent to execute
git login the local repository to identify code changes during the metric anomaly window, as specified inSKILL.mdstep 2.3. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data from PostHog query results (such as event names, property keys, and property values) to generate diagnostic reports and investigations.
- Ingestion points: Data enters the agent context through tools such as
posthog:query-trends,posthog:execute-sql, andposthog:insight-getas described inSKILL.mdand various playbook files in thereferences/directory. - Boundary markers: The skill defines a specific markdown template for findings in
SKILL.mdto structure the agent's output. - Capability inventory: The agent can execute HogQL queries (
posthog:execute-sql), create new insights and annotations (posthog:insight-create,posthog:annotation-create), and run local shell commands (git log,python3 scripts/...). - Sanitization: The included helper scripts (
scripts/compare_to_prior_periods.pyandscripts/breakdown_attribution.py) parse incoming data usingjson.loads, but natural language content within the results is not sanitized for instructions before being processed by the LLM.
Audit Metadata