/appsec:non-compliancefrom appsec
Analyzes source code for regulatory non-compliance with GDPR, CCPA, and HIPAA. Checks data retention, deletion, consent management, and data subject rights.
Ships in appsec. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Analyze source code for regulatory non-compliance where data processing activities violate GDPR, CCPA, or HIPAA. Non-compliance results from missing technical controls, incorrect legal bases, or unimplemented data subject rights. This category has no STRIDE equivalent and is unique to privacy threat modeling.
Read ../../shared/schemas/flags.md for full flag
documentation. This skill supports all cross-cutting flags.
| Flag | Non-Compliance-Specific Behavior |
|---|---|
--scope | Default changed. Focuses on files containing data retention, deletion logic, consent management, cross-border transfers, age verification, and processing records. |
--depth quick | Grep patterns only: scan for missing deletion endpoints, hardcoded retention, and cross-border transfers. |
--depth standard | Full code read, check data lifecycle implementation against regulatory requirements. |
--depth deep | Trace data flows across storage layers. Verify deletion cascades through databases, backups, caches, and logs. |
--depth expert | Deep + regulatory audit simulation: assess compliance posture against GDPR, CCPA, and HIPAA article by article. |
--severity | Filter output. Missing data subject rights are high; documentation gaps are medium. |
--fix | Generate retention enforcement, deletion cascades, and consent management implementations. |
LINDDUN N2 -- Non-compliance
Non-compliance occurs when data processing activities violate applicable privacy
regulations. Read ../../shared/frameworks/linddun.md
for the full framework reference including regulatory mappings.
Privacy Property Violated: Regulatory Compliance | STRIDE Mapping: No equivalent | OWASP: A04:2021 (Insecure Design)
--scope flag (default: changed).Read each scoped file and assess regulatory compliance:
At --depth deep or --depth expert, trace the complete data lifecycle and
verify compliance at every stage from collection through deletion.
Output findings per ../../shared/schemas/findings.md.
Each finding needs: NCMPL-NNN id, title, severity (based on regulatory penalty
risk and affected data subjects), location with snippet, description of unmet
regulatory requirement, impact (penalties and liability), fix (technical control
implementation), and CWE/LINDDUN/regulatory article references.
retention|ttl|time.to.live|cleanup|purge|expire|cron.*delete|scheduled.*removaldeleteUser|removeUser|eraseUser|destroyUser|delete.*account|purge.*userwithdraw.*consent|revoke.*consent|opt.out|unsubscribe|consent.*revoke|removeConsentregion.*us-east|endpoint.*amazonaws|storage.*googleapis|azure.*region|cloudflareage.*verify|date.of.birth|dateOfBirth|minAge|age.*gate|parental.*consent|COPPA|under.*13days.*=.*365|retention.*=.*30|ttl.*=.*90|expire.*=.*\d+|keep.*days|max.*age.*=restrict.*processing|pause.*processing|freeze.*account|suspend.*data|processing.*holdbreach.*notify|incident.*report|security.*alert|data.*breach|notify.*authority| Regulation | Provision | Relevance |
|---|---|---|
| GDPR Art. 5-6 | Processing principles, lawful bases | Lawfulness, purpose limitation, data minimization |
| GDPR Art. 8 | Child's consent | Parental consent required for minors |
| GDPR Art. 17-18, 20 | Erasure, restriction, portability | Data subject rights implementation |
| GDPR Art. 28, 30 | Processor requirements, ROPA | DPAs and records of processing activities |
| GDPR Art. 33-35 | Breach notification, DPIA | 72-hour notification, impact assessments |
| GDPR Art. 44-49 | Cross-border transfers | Adequacy decisions, SCCs, or BCRs required |
| CCPA 1798.105, .120 | Right to delete, opt-out | Consumer deletion and sale opt-out |
| HIPAA 164.404, .530 | Breach notification, admin | PHI safeguards and breach notification |
Use finding ID prefix NCMPL (e.g., NCMPL-001, NCMPL-002).
All findings follow the schema in
../../shared/schemas/findings.md with:
references.cwe: CWE-359 (Exposure of Private Information)references.owasp: A04:2021 (Insecure Design -- missing regulatory controls)metadata.tool: "non-compliance"metadata.framework: "linddun"metadata.category: "N2"Summary table after all findings:
| Non-Compliance Pattern | Critical | High | Medium | Low |
|-------------------------------|----------|------|--------|-----|
| Missing data retention | | | | |
| Incomplete deletion | | | | |
| Missing consent management | | | | |
| Cross-border transfers | | | | |
| Missing data subject rights | | | | |
| Missing age verification | | | | |
| Missing breach notification | | | | |
Followed by: top 3 priorities, compliance posture summary, and overall assessment.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
non-compliance, gdpr, ccpa, hipaa, privacy, threat-modeling, linddun
62 skills in this plugin
/access-controlThis skill should be used when the user asks to "check for access control issues", "analyze authorization", "find IDOR vulnerabilities", "audit CORS configuration", "check for privilege escalation", or mentions "access control", "authorization", "IDOR", "CORS", "JWT tampering", or "directory traversal" in a security context. Maps to OWASP Top 10 2021 A01: Broken Access Control.
/apiThis skill should be used when the user asks to "check API security", "audit REST API", "find BOLA vulnerabilities", "check for mass assignment", "analyze API rate limiting", "detect excessive data exposure", or mentions "API security", "BOLA", "IDOR", "mass assignment", "rate limiting", "broken function-level authorization", "excessive data exposure", or "OWASP API Top 10" in a security context.
/attack-surfaceThis skill should be used when the user asks to "map attack surface", "list entry points", "inventory API endpoints", "find all inputs", "enumerate routes", "discover exposed endpoints", or "map external interfaces". Also triggers when the user asks about exposed APIs, form handlers, file upload endpoints, WebSocket handlers, CLI argument parsers, or wants to understand where external data enters the system.
/authThis skill should be used when the user asks to "check for authentication issues", "analyze auth", "find credential vulnerabilities", "review login security", "check session management", or mentions "authentication", "passwords", "MFA", "sessions", or "brute force" in a security context. Maps to OWASP Top 10 2021 A07: Identification and Authentication Failures.
/business-logicThis skill should be used when the user asks to "check business logic security", "find logic flaws", "audit workflow security", "check for coupon abuse", "detect negative amount exploits", "analyze state machine security", or mentions "business logic", "workflow bypass", "negative amount", "coupon abuse", "self-referral", "state manipulation", or "time-based exploit" in a security context.
/configThis skill should be used when the user asks to "configure security", "appsec settings", "security preferences", or invokes /appsec:config. Manages security tool preferences and thresholds.
npx claudepluginhub florianbuetow/claude-code --plugin appsecOther plugins' skills for the same job