Privacy Policy
Effective Date: November 27, 2026 · Data Minimization by Design · Privacy Contact: security@nhiascode.dev
1. Metadata-Only Storage & Zero Plaintext Email PII
NHI-as-Code stores strictly metadata-only machine identity records, salted HMAC-SHA256 resource fingerprints, compliance assessments, and hash-chained audit logs. Raw customer secrets and repository source code files are never stored. Owner emails referenced in inventory digests or offboarding playbooks are immediately stripped and stored solely as salted HMAC-SHA256 hashes (ownerEmailHash) in D1, R2, and audit logs.
2. Privacy-Preserving Rate Limiting & Essential Cookies
Client IP addresses used for abuse prevention are salted and hashed with SHA-256 prior to storage in D1 rate-limit counters (1-hour retention window, pruned automatically every 6 hours). Public pages set zero tracking or advertising cookies. The operator admin console sets a single strictly necessary HttpOnly; Secure; SameSite=Strict session cookie (__Host-nhi_admin) solely for operator authentication.
3. Subprocessors
We use the following infrastructure subprocessors to operate the service: Cloudflare, Inc. (Workers edge compute, D1 database, R2 object storage), Polar Software, Inc. (Merchant of Record billing and subscription webhooks), GitHub, Inc. (GitHub App installation API and opt-in remediation PRs), and Resend, Inc. (optional operational alert emails).
4. Data Retention
Rate-limit counters expire after 1 hour (pruned every 6 hours); webhook delivery deduplication records expire after 7 days; GitHub App setup states expire after 15 minutes; admin sessions expire after 2 hours; canary health records are pruned after 90 days. Inventory snapshots, signed evidence bundles, and append-only audit logs are retained for the active lifetime of the customer organization or until deletion is requested.
5. Public Trust Portals (Opt-In Only)
Organization trust portals (/trust/:org) and SVG badges (/badge/:org.svg) are disabled by default and served only when explicitly opted in by the organization.
6. Your Privacy Rights (GDPR / CCPA)
Depending on your jurisdiction, you may request access to, export of, correction of, or deletion of organizational account metadata by emailing security@nhiascode.dev. We do not sell or share personal information for cross-context behavioral advertising.