instrument-llm-analytics
Pass
Audited by Gen Agent Trust Hub on Nov 8, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill automates the installation of the PostHog SDK and related integration packages for multiple languages and frameworks. Detected packages include vendor-owned libraries like
posthog,@posthog/ai,posthog-node, andPostHog.AI, as well as well-known AI libraries such asopenai,anthropic,langchain, andlitellm. These downloads are from official registries (npm, PyPI, NuGet, etc.) and are consistent with the skill's purpose. - [COMMAND_EXECUTION]: The skill executes shell commands to install dependencies via package managers (e.g.,
pip install,npm install,dotnet add package). It also references thenpx @posthog/wizard ai-observabilitycommand, which is a vendor-provided tool for automated instrumentation. Additionally, it utilizes the PostHog MCP server'sprojects-gettool to securely retrieve project API tokens. - [INDIRECT_PROMPT_INJECTION]: The skill possesses a surface for indirect prompt injection as it processes codebase files and instruments LLM calls.
- Ingestion points: Reads codebase dependency files and source code (SKILL.md STEP 1, STEP 4).
- Boundary markers: Instrumentation follows standard SDK patterns provided in reference files.
- Capability inventory: The skill has the ability to write to files (SKILL.md STEP 4, STEP 6), install dependencies (STEP 3), and initiate network operations through the installed analytics SDKs.
- Sanitization: The skill explicitly instructs the agent to use environment variables for keys and to make minimal, targeted code additions to maintain application stability.
- [SAFE]: All identified network endpoints (e.g.,
posthog.com,us.i.posthog.com,eu.i.posthog.com) and GitHub repositories belong to the verified authorposthogor established AI providers. The skill's behavior aligns perfectly with its stated mission of adding observability features.
Audit Metadata