# CheckMyDPDP 3-pass scanner & Chrome Inspector

CheckMyDPDP inspects any public webpage across three clean browser passes—before choice, banner parity, and after Reject—returning 11 concrete observations with exact network hosts, cookie names, and statutory citations.

## The 3-pass browser inspection

1. Pass 1 (Cold load): loads the URL in a clean Chromium context with no cookies and records every third-party request, cookie, localStorage write, and Google Consent Mode state before any user choice.
2. Pass 2 (Banner & Reject): inspects the banner's first-layer controls, checks for pre-ticked boxes or browse-to-consent wording, clicks Reject, and records any trackers that still fire.
3. Pass 3 (Accept, Withdraw & Notices): clicks Accept to check for a visible withdrawal route, and inspects forms, privacy notice links, and grievance contact links.

## All 11 evidence-backed checks (no scores)

Every check resolves to seen, not_seen, or couldnt_check—never a percentage or letter grade. If a bot wall or iframe prevents inspection, the result explicitly reports couldnt_check and never marks the page clean.

The 11 scanner checks in modules/scanner/openapi.json

| Check ID | Group | Statutory anchor |
| --- | --- | --- |
| trackers_before_choice | Before any choice | DPDP Act s.6(1) |
| no_banner_with_trackers | Before any choice | DPDP Act s.5(1) |
| consent_mode_granted_before_choice | Before any choice | DPDP Act s.6(1) |
| reject_harder_than_accept | The banner | DPDP Act s.6(1) |
| consent_by_continuing | The banner | DPDP Act s.6(1) |
| preticked_choices | The banner | DPDP Act s.6(1) |
| trackers_after_reject | After a choice | DPDP Act s.6(1) |
| no_withdraw_route | After a choice | DPDP Act s.6(4) |
| no_privacy_notice_link | Notices and contacts | SPDI Rules r.4(1) |
| no_notice_at_form | Notices and contacts | SPDI Rules r.5(3) |
| no_grievance_contact | Notices and contacts | DPDP Rules r.9 |

## Run from CLI, API, or Chrome MV3 Inspector

#### CLI

```bash
npx checkmydpdp https://example.in --json
```

#### cURL

```bash
curl -X POST https://api.policygrain.com/v1/scans \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.in"}'
```

Need to inspect a logged-in staging page behind a VPN without sending URLs to any server? Use the 100% local CheckMyDPDP Chrome MV3 Inspector (see Plugins & SDKs > Chrome MV3 Inspector).
