Skip to content

POSTHOG_LLMA_PRIVACY_MODE=true doesn't apply to error #120

Description

@MattGrundy

On any tool error, up to 500 chars of that tool's output/stderr/content is transmitted to PostHog even with privacy mode on — that can include file contents, command output, secrets in error text, etc.

It's built from the failing tool's error/content and doesn't appear to have the privacy mode guards:
str(result.get("error", result.get("content","")))[:500]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions