.agents/skills/security-review/references/client-telemetry-privacy.md
Browser analytics and session replay can export customer-controlled data to a third party even when the application never sends that value in an explicit analytics event. Replay recorders observe the rendered DOM, attributes, portals, network metadata, and optional console/custom events. Input masking alone does not protect values later rendered as text, and a compliance-sensitive deployment must not start recording merely because telemetry credentials exist.
web/src/pages/_app.tsx owns PostHog initialization, deployment gating,
native/custom input masking, the ph-no-capture block class, and network
body redaction.ph-no-capture whenever they display a value
whose provenance is customer-controlled. This protects all call sites and
the subtree's text, attributes, and nested media.posthog-instrumentation skill owns the implementation and browser-probe
workflow. Use it together with this review.title, aria-*, a
URL, network body, console entry, or custom event.maskAllInputs, CSS appearance, or
a page-specific selector.