posthog-instrumentation

Fail

Audited by Snyk on Feb 15, 2026

Risk Level: HIGH
Full Analysis

HIGH W007: Insecure credential handling detected in skill instructions.

  • Insecure credential handling detected (high risk: 0.80). The prompt shows and encourages embedding a project API key directly in code (posthog = Posthog(api_key='<ph_project_api_key>')), which instructs the agent to place secret values verbatim into generated code/commands rather than using environment variables or secure auth flows, creating an exfiltration risk.
Audit Metadata
Risk Level
HIGH
Analyzed
Feb 15, 2026, 08:14 PM