posthog-cli
Pass
Audited by Gen Agent Trust Hub on Sep 9, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill operates by executing a collection of bash scripts and the official
@posthog/clitool to perform project management and analytics tasks. - [EXTERNAL_DOWNLOADS]: The skill fetches the official
@posthog/clifrom the NPM registry usingbunx. It also references the official installation script for thebunruntime frombun.shwithin its preflight check documentation. - [INDIRECT_PROMPT_INJECTION]: As the skill ingests and processes data from external PostHog API endpoints, it possesses a surface area for indirect prompt injection. This is mitigated by explicit instructions for the agent to inspect resource IDs and scrub PII from outputs before reporting to the user.
- [DATA_EXPOSURE]: The skill includes functionality to load
POSTHOG_prefixed credentials from local.envand.env.localfiles. This is a standard and safe practice for developer-oriented CLI tools to manage project-specific secrets without hardcoding them.
Audit Metadata