DogStark / DogStark/petChain-Frontend

[Frontend] Add browser privacy controls for analytics and session replay

Open
#948 4 comments 0 reactions 0 assignees View on GitHub
Stellar Wave
Dominant language
TypeScript
Stars
3
Forks
158
Avg merge
3d 6h
Merged PRs (30d)
36

Description

## Problem
Health, location, wallet, and emergency flows require stronger guarantees that analytics or session-replay tooling cannot capture sensitive fields.

## Scope
Add a data-classification-aware telemetry wrapper, consent gating, and automated DOM redaction checks.

## Acceptance criteria
- No analytics event is emitted before consent where consent is required.
- Inputs, text, URLs, wallet addresses, pet identifiers, health values, and maps are excluded or masked by default.
- Emergency and authentication pages opt out of session replay entirely.
- Consent withdrawal stops future collection and clears queued events.
- Tests assert payload redaction and opt-in/opt-out behavior.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the frontend telemetry, analytics, session-replay, consent, and existing test entry points. Verify that sensitive DOM and payload data are excluded or masked, collection follows consent, protected pages opt out, and withdrawal clears queued events; automated tests should assert these behaviors.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, observability, security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.