LabscoMCP early access ↗
PostHog avatar✓ Official

review-hog-perspective-contracts-security

Account or credentials required★ 88 on GitHub
part of posthog/ai-pluginby posthog

One of the specialist passes in PostHog's automatic code review, and the one that asks whether a change is safe — whether it could let an attacker in, leak private data, or break other software that relies on it.

WHEN TO USE

SCOPE

USE FOR

  • Flag ways a change could let someone slip harmful commands in through a form field or a query.
  • Catch a renamed or removed field that will break apps already calling your API.
  • Spot missing login or permission checks in newly added server code.
  • Point out input that reaches the system without being checked or cleaned first.
  • Check that the database tables and the code that reads them still agree after a change.
  • Flag AI features whose prompts could be hijacked by text a user slips in.

NOT FOR

  • Logic and correctness bugs — the Logic & Correctness pass of the same review handles those.
  • Slow code or missing error handling, which belongs to the Performance & Reliability pass.
  • Code style or formatting, which PostHog Review does not comment on at all.