Checks a self-reported CCPA/CPRA compliance profile and maps a personal information inventory, with a quoted finding and a fix for every gap. Use when assessing California privacy readiness, building a data inventory, reviewing opt-out/GPC and consumer-request handling, or preparing privacy policy disclosures.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Ccpa Cpra Privacy Expert?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/borghei-ccpa-cpra-privacy-expert)
---
name: ccpa-cpra-privacy-expert
description: >
Checks a self-reported CCPA/CPRA compliance profile and maps a personal
information inventory, with a quoted finding and a fix for every gap. Use
when assessing California privacy readiness, building a data inventory,
reviewing opt-out/GPC and consumer-request handling, or preparing privacy
policy disclosures.
license: MIT + Commons Clause
metadata:
version: 1.0.0
author: borghei
category: compliance
domain: privacy-compliance
updated: 2026-03-31
tags: [ccpa, cpra, california-privacy, data-mapping, opt-out]
---
# CCPA/CPRA Privacy Expert
Tools and guidance for California Consumer Privacy Act (CCPA) and California Privacy Rights Act (CPRA) compliance.
---
## Table of Contents
- [Tools](#tools)
- [CCPA Compliance Checker](#ccpa-compliance-checker)
- [CCPA Data Mapper](#ccpa-data-mapper)
- [Reference Guides](#reference-guides)
- [Workflows](#workflows)
- [Regulatory Overview](#regulatory-overview)
---
## Tools
Both tools take a JSON file (positional or `--input`; blank `--template` answers are null and count as not supplied), print text or `--format json` (legacy `--json` still works), and never invent data: anything you leave out is reported as "not supplied" and is not scored. `--template` prints a blank file to fill in.
### CCPA Compliance Checker
Checks a self-reported profile (100+ yes/no controls in 7 sections plus applicability figures). Each failed check quotes the profile key, names the statute or regulation, and gives the fix; the three highest-severity fixes are listed as next actions. The pass counts are an internal checklist tally, not a legal rating.
```bash
python3 scripts/ccpa_compliance_checker.py --template > company_profile.json
python3 scripts/ccpa_compliance_checker.py assets/flawed_profile.json
python3 scripts/ccpa_compliance_checker.py assets/flawed_profile.json --format json
python3 scripts/ccpa_compliance_checker.py company_profile.json --output report.txt
```
Real output (excerpt, `assets/flawed_profile.json`):
```
Read: 7 sections, 102 checks answered
[triggered] Revenue threshold: $48,000,000 vs $26,625,000 (§1798.140(d)(1)(A))
privacy_policy 18/20
opt_out_mechanisms 10/14
Failed checks (12), most severe first
[CRITICAL] GPC honored (input: opt_out_mechanisms.global_privacy_control_honored = False)
Rule: §1798.135(b)(1)
Fix: Must treat GPC signal as valid opt-out request. Put it in place, then set opt_out_mechanisms.global_privacy_control_honored to true in the profile and re-run.
FIX 12 issues
```
Applicability thresholds: revenue $26,625,000 (the statutory $25M as CPI-adjusted by the CPPA effective 2025-01-01), 100,000 consumers/households, 50% of revenue from selling/sharing PI. Any one makes the business subject. HIPAA/GLBA flags are reported as notes only (they exempt specific data, not the whole business); the employee and B2B exemptions expired on 2023-01-01. Statutory dollar amounts quoted elsewhere in this file are the unadjusted figures.
### CCPA Data Mapper
Reads a data inventory (one entry per system) and maps PI and sensitive PI categories, data flows (collection, sharing, selling, service providers, cross-border), recipients, and the disclosures the privacy policy needs. Findings: missing retention period, sources or purposes, unknown category names, SPI without encryption or access controls, cross-border transfer without destinations, selling/sharing without named third parties.
```bash
python3 scripts/ccpa_data_mapper.py --template > data_inventory.json
python3 scripts/ccpa_data_mapper.py assets/flawed_inventory.json
python3 scripts/ccpa_data_mapper.py assets/sample_inventory.json --flow-diagram
python3 scripts/ccpa_data_mapper.py data_inventory.json --format json --output mapping_report.json
```
Real output (excerpt, `assets/flawed_inventory.json`):
```
[Analytics Lake] cross_border_transfer is true but transfer_destinations is empty
Rule: inventory completeness
Fix: List each destination country in transfer_destinations.
FIX 10 issues
```
Per-system `consumer_count_estimate` values are summed per category in the JSON (`total_consumers`), so one person in two systems is counted twice; treat it as an upper bound.
### Exit codes
| Code | Meaning |
|------|---------|
| 0 | No findings (`PASS`) |
| 1 | Findings to act on (`FIX n issues`) |
| 2 | Unusable input: missing file, invalid JSON, empty `{}`, wrong types (one-line message) |
Samples: `assets/sample_*` exit 0, `assets/flawed_*` exit 1, `assets/malformed_*` exit 2 (`assets/contract.json` lists the runs).
**Personal Information Categories Tracked:**
| Category | CCPA Section | Examples |
|----------|-------------|---------|
| Identifiers | 1798.140(v)(1)(A) | Name, SSN, IP address, email |
| Customer Records | 1798.140(v)(1)(B) | Financial info, medical info |
| Protected Classifications | 1798.140(v)(1)(C) | Race, sex, age, disability |
| Commercial Information | 1798.140(v)(1)(D) | Purchase history, tendencies |
| Biometric Information | 1798.140(v)(1)(E) | Fingerprints, face geometry |
| Internet Activity | 1798.140(v)(1)(F) | Browsing, search, interaction |
| Geolocation Data | 1798.140(v)(1)(G) | Precise location |
| Sensory Data | 1798.140(v)(1)(H) | Audio, visual, thermal |
| Professional Info | 1798.140(v)(1)(I) | Employment, education |
| Education Info | 1798.140(v)(1)(J) | Non-public education records |
| Inferences | 1798.140(v)(1)(K) | Profiles, preferences |
---
## Reference Guides
### CCPA/CPRA Requirements Guide
`references/ccpa-cpra-requirements-guide.md`
Complete regulatory requirements covering:
- Full CCPA/CPRA text analysis with section references
- Consumer rights implementation guidance (Right to Know, Delete, Opt-Out, Correct, Portability, Limit SPI Use)
- Privacy policy content requirements and templates
- Service provider and contractor agreement requirements
- Comparison with Virginia VCDPA, Colorado CPA, Connecticut CTDPA, and GDPR
- Enforcement and penalty structure
### CCPA Implementation Playbook
`references/ccpa-implementation-playbook.md`
Step-by-step implementation guidance:
- 6-month implementation roadmap
- Data mapping methodology and templates
- Privacy policy drafting guide
- Opt-out mechanism implementation (website, GPC, universal opt-out)
- Consumer request workflow design with SLA tracking
- Employee and vendor training program outline
- Annual cybersecurity audit planning
- Ongoing compliance monitoring
---
## Clarify First
Before running the assessment, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.
- **Applicability:** whether the business meets a CCPA threshold ($25M revenue, 100K+ consumers/households, or 50%+ revenue from selling/sharing PI) (determines whether obligations apply at all).
- **Entity role:** business, service provider, contractor, or third party (determines which obligation set applies).
- **Assessment goal:** compliance readiness, data mapping, consumer-request handling, or privacy-policy review (selects the tool and workflow).
Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.
## Workflows
### Workflow 1: Initial CCPA/CPRA Compliance Assessment
```
Step 1: Determine applicability
→ Check $25M ($26.625M CPI-adjusted from 2025) revenue, 100K+ consumers, 50%+ PI revenue thresholds
→ Review exemptions (HIPAA, GLBA, employment data)
Step 2: Generate compliance profile template
→ python3 scripts/ccpa_compliance_checker.py --template > profile.json
→ Fill in organizational details
Step 3: Run compliance assessment
→ python3 scripts/ccpa_compliance_checker.py profile.json
Step 4: Review failed checks
→ Address critical gaps first (opt-out link, privacy policy)
→ Plan remediation by category
Step 5: Create data inventory
→ python3 scripts/ccpa_data_mapper.py --template > inventory.json
→ Document all PI categories collected
→ python3 scripts/ccpa_data_mapper.py inventory.json
Step 6: Develop implementation plan
→ See references/ccpa-implementation-playbook.md
```
### Workflow 2: Consumer Rights Request Handling
```
Step 1: Receive consumer request
→ Identify request type (Know, Delete, Opt-Out, Correct, Portability, Limit SPI)
Step 2: Acknowledge within 10 business days (confirm receipt)
→ Document request in tracking system
Step 3: Verify consumer identity
→ Match 2+ data points for standard requests
→ Match 3+ data points for sensitive data requests
→ No verification needed for opt-out requests
Step 4: Fulfill request within 45 calendar days
→ Extension: up to 45 additional days with notice
→ Search all systems using data inventory
→ python3 scripts/ccpa_data_mapper.py inventory.json
Step 5: Deliver response
→ Provide information in portable format if requested
→ Document completion and response
Step 6: Monitor compliance
→ Track response times and completion rates
→ Generate quarterly compliance reports
```
### Workflow 3: Privacy Policy Update Cycle
```
Step 1: Review current privacy policy against requirements
→ python3 scripts/ccpa_compliance_checker.py profile.json
→ Check the privacy_policy failed checks
Step 2: Update data inventory
→ python3 scripts/ccpa_data_mapper.py inventory.json
→ Verify all PI categories are disclosed
Step 3: Verify required disclosures
→ Categories of PI collected (past 12 months)
→ Sources of PI
→ Business/commercial purposes
→ Categories of third parties
→ Consumer rights description
→ "Do Not Sell or Share" link
→ "Limit the Use of My Sensitive PI" link
Step 4: Update and publish
→ Annual update at minimum
→ Update within 30 days of material changes
→ Maintain prior version archive
```
---
## Regulatory Overview
### CCPA/CPRA Timeline
| Date | Milestone |
|------|-----------|
| Jan 1, 2020 | CCPA effective |
| Jul 1, 2020 | AG enforcement begins |
| Nov 3, 2020 | CPRA passed (Proposition 24) |
| Jan 1, 2023 | CPRA amendments effective |
| Jul 1, 2023 | CPPA enforcement of CPRA begins |
| Jan 1, 2023 | Employee and B2B data exemptions expired |
### Scope and Applicability
A **business** is subject to CCPA/CPRA if it:
- Has annual gross revenue exceeding **$25 million**
- Buys, sells, or shares PI of **100,000+ consumers or households** annually
- Derives **50% or more** of annual revenue from selling or sharing consumers' PI
**Entity Types:**
| Entity | Definition | Obligations |
|--------|-----------|------------|
| Business | Determines purposes and means of processing | Full CCPA/CPRA compliance |
| Service Provider | Processes PI on behalf of a business (contractual) | Limited use, deletion obligations |
| Contractor | Processes PI via written contract (CPRA addition) | Certification, limited use, audit rights |
| Third Party | Receives PI not as service provider/contractor | Subject to opt-out rights |
**Exemptions:**
- **HIPAA-covered entities**: Health data governed by HIPAA exempt
- **GLBA**: Financial data subject to GLBA exempt
- **Employment data**: exemption expired Jan 1, 2023; employee/applicant PI is in scope
- **B2B data**: exemption expired Jan 1, 2023; business-contact PI is in scope
- **FCRA**: Data subject to Fair Credit Reporting Act
### Consumer Rights
| Right | CCPA Section | Description | Timeline |
|-------|-------------|-------------|----------|
| Right to Know | §1798.100, §1798.110 | Categories and specific pieces of PI collected | 45 days |
| Right to Delete | §1798.105 | Delete PI collected from the consumer | 45 days |
| Right to Opt-Out | §1798.120 | Opt out of sale or sharing of PI | Immediate |
| Right to Non-Discrimination | §1798.125 | No retaliation for exercising rights | Ongoing |
| Right to Correct | §1798.106 | Correct inaccurate PI (CPRA) | 45 days |
| Right to Limit SPI Use | §1798.121 | Limit use of sensitive PI (CPRA) | Immediate |
| Right to Data Portability | §1798.130 | Receive PI in portable format (CPRA) | 45 days |
### Sensitive Personal Information (CPRA)
SPI categories requiring enhanced protections under CPRA §1798.140(ae):
- Social Security number, driver's license, state ID, passport number
- Account log-in credentials (username + password/security question)
- Financial account number with access credentials
- Precise geolocation (within 1,850 feet / radius)
- Racial or ethnic origin
- Religious or philosophical beliefs
- Union membership
- Contents of mail, email, and text messages (unless business is intended recipient)
- Genetic data
- Biometric data for identification
- Health information
- Sex life or sexual orientation data
### Enforcement and Penalties
| Violation Type | Penalty | Enforcer |
|---------------|---------|----------|
| Unintentional violation | $2,500 per violation | CPPA / AG |
| Intentional violation | $7,500 per violation | CPPA / AG |
| Violations involving minors (under 16) | $7,500 per violation | CPPA / AG |
| Data breach (private action) | $100-$750 per consumer per incident | Consumer (court) |
**Enforcement Bodies:**
- **California Privacy Protection Agency (CPPA)**: Primary enforcer under CPRA (operational 2023)
- **California Attorney General**: Retains enforcement authority
- **Private right of action**: Limited to data breaches from failure to maintain reasonable security
### CCPA vs GDPR Comparison
| Aspect | CCPA/CPRA | GDPR |
|--------|----------|------|
| Scope | California consumers | EU/EEA data subjects |
| Legal basis | Opt-out model | Opt-in (consent or legal basis) |
| Data covered | Personal information | Personal data |
| Sensitive data | SPI with limit-use right | Special category with explicit consent |
| Breach notification | AG notification, private action | 72-hour DPA notification |
| DPO requirement | None | Required for certain processing |
| Penalties | $2,500-$7,500 per violation | Up to 4% global revenue or €20M |
| Private right of action | Data breaches only | Varies by member state |
| Cross-border transfers | No restrictions | Adequacy decisions, SCCs, BCRs |
| Children's data | Opt-in for under 16, parental for under 13 | Parental consent for under 16 (variable) |
### Infrastructure Privacy Controls
**Cookie Consent Management:**
- Implement cookie consent banner for non-essential cookies
- Honor Global Privacy Control (GPC) browser signals (legally required)
- Maintain cookie inventory with retention periods
- Categorize cookies: strictly necessary, functional, analytics, advertising
**Global Privacy Control (GPC):**
- Businesses must treat GPC signal as valid opt-out request (§1798.135)
- Technical implementation: detect `Sec-GPC: 1` header or `navigator.globalPrivacyControl`
- Apply opt-out to sale AND sharing of PI
- No re-authentication required for GPC
**Privacy by Design:**
- Data minimization: collect only PI necessary for disclosed purposes
- Purpose limitation: use PI only for purposes disclosed at collection
- Storage limitation: retain PI only as long as necessary
- Security by default: encrypt PI at rest and in transit
**Data Inventory and Mapping:**
- Maintain comprehensive PI inventory across all systems
- Map data flows: collection → processing → sharing → deletion
- Document retention schedules per PI category
- Track cross-border data transfers
**Automated Decision-Making:**
- Disclose use of automated decision-making technology
- Provide opt-out for profiling that produces legal or significant effects
- CPRA regulations may require access to logic of automated decisions
### Compliance Roadmap
**Month 1-2: Discovery and Assessment**
- Determine CCPA/CPRA applicability
- Conduct data inventory and mapping
- Gap analysis against requirements
- Assign compliance ownership
**Month 3-4: Implementation**
- Draft/update privacy policy
- Implement "Do Not Sell or Share" link
- Implement "Limit Use of SPI" link
- Deploy GPC signal detection
- Build consumer request intake and fulfillment workflows
- Draft service provider/contractor agreements
**Month 5-6: Operationalization**
- Train employees on privacy obligations
- Test consumer request workflows end-to-end
- Conduct initial risk assessment
- Plan annual cybersecurity audit
- Establish ongoing monitoring and metrics
- Document compliance program for regulatory defense
---
## Troubleshooting
| Problem | Possible Cause | Resolution |
|---------|---------------|------------|
| Privacy policy checks still fail after updates | Policy disclosures incomplete -- missing SPI categories, retention periods, or sale/sharing categories | Run `ccpa_compliance_checker.py profile.json` and review the failed checks per section; cross-reference privacy policy against the 17+ required disclosure elements |
| Data mapper flags cross-border transfers but organization operates only in US | Data inventory includes cloud services with non-US processing locations | Review data inventory entries for cloud provider data processing locations; document all sub-processor locations per service provider agreements |
| Consumer rights requests consistently exceed 45-day response deadline | Manual fulfillment process without tracking system or unclear ownership | Implement `ccpa_data_mapper.py` to map PI across all systems; deploy request tracking with automated deadline alerts; assign per-system data stewards |
| GPC signal detection not working | Application does not check `Sec-GPC: 1` header or `navigator.globalPrivacyControl` | Implement server-side header detection and client-side JavaScript check; test with browsers that support GPC (Firefox, Brave); log detection events |
| CPPA enforcement inquiry received | Potential compliance gap discovered during regulatory sweep or consumer complaint | Immediately run full compliance assessment; prioritize critical gaps (opt-out link, GPC, privacy policy); engage privacy counsel; document remediation timeline |
| Vendor contracts missing CCPA-required provisions | Service provider agreements predate CPRA amendments | Audit all vendor agreements against CCPA service provider/contractor requirements; update contracts to include certification, limited use, audit rights, and data deletion obligations |
| Risk assessment requirements unclear | New CPRA regulations (effective January 1, 2026) mandate risk assessments for six processing categories | Review processing activities against the six "significant risk" categories; document risk assessments per CPPA regulatory template; plan for April 2028 attestation deadline |
---
## Success Criteria
- **Checker exits 0 (no failed checks)** -- every critical and high control answered and passing, with section pass counts showing where gaps remain
- **All consumer rights requests fulfilled within 45 calendar days** -- with 10-business-day acknowledgment, tracked through a request management system with automated deadline alerts
- **Privacy policy updated at least annually** -- with documented reviews quarterly, disclosing all 11 PI categories collected, sources, purposes, third-party sharing, and all seven consumer rights
- **GPC signal honored automatically** -- detected via `Sec-GPC: 1` header and `navigator.globalPrivacyControl`, applied to both sale and sharing of PI, with no re-authentication required
- **Complete data inventory maintained** -- all PI categories mapped to collection sources, business purposes, sharing recipients, and retention schedules using `ccpa_data_mapper.py`
- **Service provider and contractor agreements include all CCPA-required provisions** -- including certification of limited use, deletion obligations, audit rights, and sub-contractor chain documentation
- **Risk assessments completed for all applicable processing activities** -- covering the six CPRA significant-risk categories, with attestation readiness by the April 2028 deadline
---
## Scope & Limitations
**In Scope:**
- CCPA/CPRA applicability determination (revenue, consumer count, PI revenue thresholds)
- Privacy policy compliance assessment against all required disclosures
- Consumer rights readiness validation (Know, Delete, Opt-Out, Correct, Portability, Limit SPI Use)
- Data inventory mapping across all 11 CCPA personal information categories
- Sensitive personal information identification per CPRA definitions
- Technical safeguard assessment (encryption, access controls, opt-out mechanisms)
- Service provider and contractor agreement requirements
**Out of Scope:**
- Legal advice or determination of exemption applicability (HIPAA, GLBA, FCRA, employment data) -- consult privacy counsel for exemption analysis
- Implementation of cookie consent management platforms or GPC signal handling code
- CCPA private right of action defense (data breach litigation) -- consult legal counsel
- Other state privacy laws (Virginia VCDPA, Colorado CPA, Connecticut CTDPA) beyond the comparison tables provided -- use jurisdiction-specific guidance
- Automated decision-making technology (ADMT) compliance under CPRA regulations effective January 2027 -- monitor CPPA rulemaking for final requirements
**Important Notes:**
- Opt-out preference signals (GPC) are an enforcement focus for California regulators; check the CPPA and Attorney General enforcement pages for current actions and penalty amounts before relying on any figure
- New CPRA regulations effective January 1, 2026 add risk assessment, cybersecurity audit, and updated compliance requirements -- plan implementation accordingly
---
## Integration Points
| Skill | Integration | When to Use |
|-------|-------------|-------------|
| `gdpr-dsgvo-expert` | Unified privacy program satisfying both GDPR and CCPA; cross-framework privacy mapping | When organization operates in both EU and California markets |
| `infrastructure-compliance-auditor` | Technical safeguard validation (encryption, access controls, logging) for CCPA reasonable security | When assessing infrastructure controls supporting CCPA compliance |
| `information-security-manager-iso27001` | Security controls supporting CCPA "reasonable security" requirement | When building security program that satisfies both ISO 27001 and CCPA |
| `soc2-compliance-expert` | SOC 2 controls mapped to CCPA technical safeguard requirements | When SOC 2 audit evidence supports CCPA security compliance |
---
## Tool Reference
| Flag | Applies to | Description |
|------|-----------|-------------|
| `<file>` or `--input <file>` | both | JSON profile (checker) or inventory (mapper); required unless `--template` |
| `--template` | both | Print a blank input file |
| `--format text\|json` (`--json`) | both | Output format, text by default |
| `--output <file>` | both | Write the report to a file (verdict line still printed) |
| `--flow-diagram` | mapper | Text data flow diagram instead of the report |