posthog-debug

Fail

Audited by Gen Agent Trust Hub on Mar 23, 2026

Risk Level: HIGHCREDENTIALS_UNSAFECOMMAND_EXECUTION
Full Analysis
  • [CREDENTIALS_UNSAFE]: The file scripts/select_project.sh contains several hardcoded PostHog credentials, including a Personal API key (phx_14nlonWkAMgasSwJiS7FGNgALNTWpd8Ift94plrlxS49SkTw) and two Project API keys (phc_T5iz8TFSgGpoHF26FXGpZfIasssMhmmKIUfjvK17FXk and phc_nfd1PeE5qsvbIhipZI2Qp2e5e9VXWKjnas2Lwq9EhuU). These keys are intended to be used as fallbacks if environment-level credentials are missing, exposing existing PostHog project data.
  • [COMMAND_EXECUTION]: SKILL.md directs the agent to execute a local shell script (scripts/select_project.sh) to resolve project context. This script uses a bash heredoc to execute a Python script that reads and parses local .env files. While intended for environment discovery, this represents a chain of command execution that processes local sensitive files.
Recommendations
  • AI detected serious security threats
Audit Metadata
Risk Level
HIGH
Analyzed
Mar 23, 2026, 04:15 PM