Skip to content

Notice and consent duties under the DPDP Rules apply from 13 May 2027. Read the timeline

PolicyGrain

Verifiable architecture, not marketing promises.

Every security and privacy commitment below maps to database roles, cryptographic hashes, network boundaries, or code you can inspect.

Core safeguards

India primary residency (AWS Mumbai)

Primary PostgreSQL databases, automated backups, and API compute run in AWS ap-south-1 (Mumbai). Static hosted pages and banner configurations are cached on Cloudflare's edge network; human sign-in runs through WorkOS in the United States.

Append-only consent evidence

The consent receipt service connects with a restricted PostgreSQL role that holds only INSERT and SELECT privileges on evidence rows. Each receipt chains onto the previous per-site SHA-256 hash, and daily Merkle roots are signed with Ed25519 and written to evidence.evidence_roots.

Zero dark patterns in the banner

Accept and Reject share equal first-layer prominence and contrast. Optional purposes are never pre-ticked, the page is never scroll-locked, visitors can refuse and still read without cookie walls, and IP addresses are hashed with HMAC-SHA256 so raw visitor IPs are never stored.

Isolated browser sandboxes

CheckMyDPDP scans and install verification run in isolated headless Chromium contexts with strict SSRF protection blocking private, loopback, and link-local networks. Public scan results expire and are deleted after 7 days.

Sub-processor register

Infrastructure and service sub-processors used by PolicyGrain
Sub-processorRoleRegionData processed
Amazon Web Services (AWS)Primary PostgreSQL database, encrypted backups, API & worker computeMumbai, India (ap-south-1)Account records, business profiles, generated notices, hashed receipts
CloudflareEdge delivery for hosted documents and published banner configurationsGlobal edge (including India PoPs)Public static HTML notices, public banner JSON configs, edge access logs
WorkOSHuman sign-in (AuthKit OAuth and Magic Auth email codes)United StatesAccount owner email address and authentication events

Credential hygiene and least privilege

  • Every API key (pgk_), session token (pgs_), refresh token (pgr_), and expiring link token (pgt_) uses a distinct prefix so secret scanners detect accidental commits immediately.
  • Secrets are displayed once at creation and stored strictly as SHA-256 digests.
  • API keys minted by coding agents before an account owner signs in are automatically suspended upon claim until the owner explicitly reviews and keeps or revokes them on /keys.

Responsible disclosure and security contact

If you discover a security vulnerability, a bypass in the consent banner, or an erroneous statutory citation in a generated document, report it directly to hello@policygrain.com. To report abuse on a hosted document page under pages.policygrain.com, write to abuse@policygrain.com.

See also Security and account deletion, Sub-processors, and Data register.