cleaning-up-stale-feature-flags

Pass

Audited by Gen Agent Trust Hub on Sep 13, 2026

Risk Level: SAFE
Full Analysis
  • [SAFE]: The skill implements a robust safety model by requiring human-in-the-loop confirmation before performing any state-changing operations like disabling or deleting feature flags.
  • [SAFE]: The workflow prioritizes production stability by instructing the user to deploy code changes (removing flag checks) before the AI agent proceeds to disable the corresponding flags in PostHog.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes external data (feature flag names, descriptions, and definitions) retrieved via the PostHog API. While this presents a theoretical surface for indirect prompt injection if a flag metadata contains malicious instructions, the skill mitigates this by directing the agent to summarize findings for human review and generate static code cleanup instructions rather than auto-executing commands based on the ingested data.
  • [COMMAND_EXECUTION]: All platform-specific actions are performed through defined PostHog tools (e.g., posthog:update-feature-flag). These tools are restricted to the PostHog environment and do not allow for arbitrary system command execution.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 13, 2026, 10:37 AM