Skip to main content

This skill may not reflect the latest upstream change

Federal Register Rules update on 2026-11-25 may affect this skill Last checked Nov 25, 2026.

SecurityOfficialCertifiedAI reviewed Nov 26, 2026

soc2

We earn commissions when you shop through the links below.

SOC 2 Type II readiness assessment against all five Trust Service Criteria. Triggers: preparing for a SOC 2 audit, evaluating enterprise readiness, or building compliance controls into your application.

v2.0.14 installs

Install this skill

No account required. Pick your tool, or use the command that detects it for you.

Run in your terminal. It detects your AI tool.

npx @skills-hub-ai/cli install soc2
Or get the file:
Browse all CLI commands →
Manual setup by platform

Claude Code

~/.claude/skills/soc2/SKILL.md

Setup guide →

Signing

SignedSLSA L2
Signed by
skills-hub.ai distributor
Method
Distributor-signed by skills-hub.aiSigned with the skills-hub.ai Ed25519 distributor key over this exact slug, version and content. Check it with `npx @skills-hub-ai/cli verify`.
Key
skills-hub-ed25519-2026-11
Signed
0Save

Instructions

You are in AUTONOMOUS MODE. Do NOT ask questions. Evaluate, assess, and produce a readiness report.

TARGET:
$ARGUMENTS

If no arguments provided, evaluate the entire project in the current working directory against all five SOC 2 Trust Service Criteria.


PHASE 0: TECH STACK AND INFRASTRUCTURE DETECTION


Auto-detect the project's technology and infrastructure:

APPLICATION LAYER:

  • Backend framework and language
  • Frontend framework
  • Database technology
  • Authentication mechanism

INFRASTRUCTURE:

  • Cloud provider (AWS, GCP, Azure) — check for config files, SDK imports
  • Container orchestration (Docker, Kubernetes) — check for manifests
  • CI/CD pipeline (GitHub Actions, GitLab CI, Jenkins) — check workflow files
  • Infrastructure as Code (Terraform, CloudFormation, Pulumi) — check configs

INTEGRATIONS:

  • Monitoring/alerting services
  • Logging infrastructure
  • Secret management (Vault, AWS Secrets Manager, etc.)
  • Backup services

Record all detected components. SOC2 controls apply across the entire stack.


PHASE 1: SECURITY (CC / Common Criteria)


Evaluate security controls:

CC6.1 — LOGICAL ACCESS CONTROLS:

  • Authentication mechanism exists and enforces strong credentials
  • Role-based access control (RBAC) implemented
  • Principle of least privilege applied
  • Service accounts use minimal permissions
  • API authentication on all endpoints

CC6.2 — ACCESS PROVISIONING:

  • User registration flow with proper validation
  • Admin user management capabilities
  • Ability to disable/revoke access
  • Access review mechanisms

CC6.3 — ACCESS REMOVAL:

  • Account deactivation/deletion capability
  • Session invalidation on logout
  • Token revocation mechanisms
  • Cleanup of associated resources on user removal

CC6.6 — SYSTEM BOUNDARIES:

  • Network segmentation (Docker networks, VPC config)
  • Firewall rules / security groups defined
  • Internal services not exposed publicly
  • Rate limiting on public endpoints

CC6.7 — DATA TRANSMISSION:

  • TLS/HTTPS enforced for all external communication
  • Certificate validation enabled (no rejectUnauthorized: false)
  • Sensitive data not transmitted in URL parameters
  • WebSocket connections use WSS

CC6.8 — MALICIOUS SOFTWARE PREVENTION:

  • Input validation on all user-supplied data
  • File upload type and size restrictions
  • Dependency vulnerability scanning configured
  • No eval() or dynamic code execution with user input

CC7.1 — VULNERABILITY MANAGEMENT:

  • Dependency audit tool configured (npm audit, pip-audit, etc.)
  • CI pipeline includes security scanning
  • Process for addressing reported vulnerabilities

CC7.2 — INCIDENT DETECTION:

  • Security event logging (failed logins, access denied, etc.)
  • Anomaly detection or alerting configured
  • Error monitoring service integrated

CC7.3 — INCIDENT RESPONSE:

  • Incident response documentation exists
  • Contact information for security issues
  • Mechanism to disable compromised accounts/keys

For each control: PASS / PARTIAL / FAIL with evidence and gaps.


PHASE 2: AVAILABILITY (A1)


Evaluate availability controls:

A1.1 — CAPACITY MANAGEMENT:

  • Resource limits configured (memory, CPU, connections)
  • Auto-scaling configuration (if cloud-hosted)
  • Database connection pooling
  • Queue/worker capacity planning

A1.2 — RECOVERY:

  • Database backup configuration
  • Backup frequency and retention
  • Tested restore procedures (documentation)
  • Point-in-time recovery capability
  • Disaster recovery plan documented

A1.3 — RECOVERY TESTING:

  • Evidence of backup restoration tests
  • Failover testing documentation
  • Recovery time objectives (RTO) defined
  • Recovery point objectives (RPO) defined

MONITORING:

  • Health check endpoints implemented
  • Uptime monitoring configured
  • Performance monitoring (response times, error rates)
  • Alerting thresholds defined
  • Status page or incident communication channel

PHASE 3: PROCESSING INTEGRITY (PI)


Evaluate processing integrity controls:

PI1.1 — DATA VALIDATION:

  • Input validation on API endpoints (type checking, length limits, format)
  • Schema validation for data models
  • Request payload validation middleware
  • Output encoding/sanitization

PI1.2 — ERROR HANDLING:

  • Structured error handling (try/catch, error middleware)
  • Error responses do not expose internal details
  • Failed operations rolled back cleanly
  • Partial failure handling (batch operations)

PI1.3 — TRANSACTION LOGGING:

  • Critical operations logged with timestamps
  • Audit trail for data modifications
  • Transaction IDs for traceability
  • Immutable log storage (logs cannot be tampered with)

PI1.4 — DATA PROCESSING ACCURACY:

  • Idempotent operations (safe to retry)
  • Race condition protection (locks, transactions, optimistic concurrency)
  • Data transformation validation
  • Calculation verification (financial, statistical)

PHASE 4: CONFIDENTIALITY (C1)


Evaluate confidentiality controls:

C1.1 — DATA CLASSIFICATION:

  • Data sensitivity levels defined (public, internal, confidential, restricted)
  • PII fields identified and labeled
  • Classification applied to database schemas
  • Different handling based on classification level

C1.2 — ENCRYPTION AT REST:

  • Database encryption enabled
  • File storage encryption enabled
  • Field-level encryption for highly sensitive data
  • Encryption key management (rotation, access control)

C1.3 — ENCRYPTION IN TRANSIT:

  • TLS 1.2+ enforced
  • HSTS headers configured
  • Certificate management process
  • Internal service communication encrypted

C1.4 — ACCESS LOGGING:

  • Data access logged (who accessed what, when)
  • Admin actions logged
  • API access logging
  • Log retention policy

C1.5 — SECURE DISPOSAL:

  • Data deletion actually removes data (not just soft delete)
  • Secure wipe for sensitive data
  • Media disposal procedures (for physical infrastructure)
  • Backup expiry aligned with retention policy

PHASE 5: PRIVACY (P1)


Evaluate privacy controls:

P1.1 — NOTICE:

  • Privacy policy accessible and up to date
  • Data collection notice at point of collection
  • Cookie notice/consent mechanism

P2.1 — CONSENT:

  • Explicit consent obtained for data processing
  • Separate consent for separate purposes
  • Consent withdrawal mechanism
  • Consent records maintained

P3.1 — COLLECTION LIMITATION:

  • Data minimization practiced (collect only what is needed)
  • Purpose limitation (data used only for stated purpose)
  • Collection points documented

P4.1 — USE/RETENTION/DISPOSAL:

  • Retention periods defined per data category
  • Automated data expiry mechanisms
  • Purpose limitation on data use
  • Disposal procedures implemented

P5.1 — ACCESS:

  • Users can access their data
  • Data export in machine-readable format
  • Response time for data requests defined

P6.1 — DISCLOSURE:

  • Third-party data sharing documented
  • Data processing agreements in place
  • Cross-border transfer safeguards

P7.1 — QUALITY:

  • Users can correct their data
  • Data validation at entry
  • Duplicate detection mechanisms

P8.1 — MONITORING AND ENFORCEMENT:

  • Privacy incident response process
  • Privacy impact assessments for new features
  • Regular privacy reviews scheduled

SELF-HEALING VALIDATION (max 2 iterations)


After producing the security analysis, validate thoroughness:

  1. Verify every category in the audit was actually checked (not skipped).
  2. Verify every finding has a specific file:line location.
  3. Verify severity ratings are justified by impact assessment.
  4. Verify no false positives by re-reading flagged code in context.

IF VALIDATION FAILS:

  • Re-audit skipped categories or vague findings
  • Verify or remove false positives
  • Repeat up to 2 iterations

OUTPUT


SOC2 Readiness Report

Project: [name]
Stack: [detected technologies]
Assessment Date: [date]

Executive Summary

Trust Service CriteriaControls AssessedPASSPARTIALFAIL
Security (CC)NNNN
Availability (A1)NNNN
Processing IntegrityNNNN
Confidentiality (C1)NNNN
Privacy (P1)NNNN

Overall Readiness: [NOT READY / PARTIAL / READY]

Detailed Control Assessment

Security Controls

ControlStatusEvidenceGapRemediation
CC6.1 Logical Access[PASS/PARTIAL/FAIL][what exists][what's missing][how to fix]

[Repeat for each control across all criteria]

Critical Gaps (must fix before audit)

[Ordered list of FAIL items with remediation effort estimates]

Partial Controls (should improve)

[List of PARTIAL items with specific improvement steps]

Remediation Roadmap

PriorityControlEffortDescription
P0 — CriticalCC6.12 daysImplement RBAC
P1 — HighA1.21 dayConfigure automated backups
P2 — MediumPI1.33 daysAdd audit logging

Evidence Collection Checklist

  • Access control policies documented
  • Encryption configuration documented
  • Incident response plan written
  • Backup and recovery procedures tested
  • Change management process documented
  • Vendor management (third-party DPAs)
  • Employee security awareness training
  • Penetration test results (annual)

NEXT STEPS


After reviewing the readiness report:

  • "Fix critical gaps identified in the Security (CC) section first."
  • "Run /encryption to address Confidentiality (C1) encryption gaps."
  • "Run /gdpr for deeper Privacy (P1) compliance assessment."
  • "Run /pentest to generate evidence for CC7.1 vulnerability management."
  • "Run /secure for a technical security baseline before SOC2 prep."
  • "Engage a SOC2 auditor once all P0 gaps are remediated."

SELF-EVOLUTION TELEMETRY


After producing output, record execution metadata for the /evolve pipeline.

Check if a project memory directory exists:

  • Look for the project path in ~/.claude/projects/
  • If found, append to skill-telemetry.md in that memory directory

Entry format:

### /soc2 — {{YYYY-MM-DD}}
- Outcome: {{SUCCESS | PARTIAL | FAILED}}
- Self-healed: {{yes — what was healed | no}}
- Iterations used: {{N}} / {{N max}}
- Bottleneck: {{phase that struggled or "none"}}
- Suggestion: {{one-line improvement idea for /evolve, or "none"}}

Only log if the memory directory exists. Skip silently if not found.
Keep entries concise — /evolve will parse these for skill improvement signals.


DO NOT


  • Do NOT modify any code — this is an assessment skill, not an implementation skill.
  • Do NOT claim SOC2 certification or compliance — only assess readiness.
  • Do NOT provide legal or audit advice — focus on technical controls.
  • Do NOT skip any Trust Service Criteria — assess all five.
  • Do NOT mark a control as PASS without finding concrete evidence in the codebase.
  • Do NOT conflate "not applicable" with "PASS" — mark N/A separately with justification.
  • Do NOT assess organizational controls (HR policies, training) — focus on what is visible in code and config.
This skill doesn’t include stateful context yet, instructions only. Learn about stateful skills.

Security

Loading security scan...

Reviews (0)

Browse all →
design-animateAdd purposeful motion to interfaces using modern CSS — scroll-driven animations, view transitions, @starting-style, and GPU-accelerated transforms. Triggers: 'add animation', 'animate', 'add motion', 'transitions', 'scroll animation'.78 installsdesign-auditComprehensive autonomous design quality audit across accessibility (WCAG 2.2), performance, theming, responsive/adaptive design, and anti-pattern detection. Triggers: 'audit design', 'check accessibility', 'a11y audit', 'design review', 'UI quality check'.61 installssecureFull-stack security posture assessment with 0-100 risk scoring. Scans dependency vulnerabilities (npm audit, pip-audit, cargo audit, govulncheck), dangerous code patterns (SQL injection, eval, command injection, ReDoS, innerHTML, XSS vectors), authentication gaps (missing auth middleware.56 installsdiagramGenerate Mermaid architecture diagrams from your codebase. Produces C4 context and container diagrams, sequence diagrams for key flows, ER diagrams from database schemas, and module dependency graphs. Use when you need architecture diagrams, system diagrams, database ERD, sequence diagrams, dependency visualization, or C4 model diagrams.56 installsdesign-polishFinal autonomous quality pass before shipping. Fixes alignment, spacing, consistency, typography hierarchy, color harmony, motion timing, and every micro-detail that separates good from great..55 installsresponsiveAudit and fix responsive design issues across all breakpoints. Scans for fixed widths that cause mobile overflow, missing media query variants, non-responsive images, undersized touch targets below 48px, unreadable typography, and horizontal scroll violations..49 installs

More from Skills Hub

View source →
security-reviewSecurity audit and vulnerability assessment for any codebase. Scans for authentication bypasses, missing auth middleware, broken JWT validation (algorithm confusion, weak secrets, missing expiry), OAuth state and PKCE flaws, IDOR and horizontal privilege escalation.197 installsunit-testGenerate comprehensive unit tests with edge cases, error paths, and boundary values. Triggers: you need to add unit tests, increase code coverage, test edge cases, or verify error handling paths.164 installsweb-gameScaffolds a browser-based game with Phaser 3, PixiJS, or Three.js including game loop, asset pipeline, responsive canvas, input handling, audio, save/load, and deployment to itch.io or web. Triggers: on: "web game", "browser game", "html5 game", "phaser game", "pixi game".134 installshumanizerMulti-pass editor that removes AI-writing tells from drafted content — eliminates filler phrases, balances sentence length, restores opinion and voice, and strips em-dash overuse so posts sound human and opinionated rather than ChatGPT-generic..131 installsflutterBuilds Flutter applications from videos, screenshots, descriptions, or app clone requests. Triggers on: flutter app, build a mobile app, replicate this app in Flutter, build from video, build from screenshots, clone this app, build an app, make an app like, recreate this UI.127 installsdesign-to-codeTurn a design into production-quality frontend code: extract a design system with tokens and components, make layouts responsive across breakpoints, add dark mode with WCAG-compliant theming, then run a UX audit to validate everything..124 installs

More Security skills

Browse category →

Frequently asked questions about soc2

What does the soc2 skill do?

SOC 2 Type II readiness assessment against all five Trust Service Criteria. Triggers: preparing for a SOC 2 audit, evaluating enterprise readiness, or building compliance controls into your application. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.

How do I install the soc2 skill?

Run `npx @skills-hub-ai/cli install soc2` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/soc2/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.

Which AI tools does soc2 work with?

soc2 runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.

Is the soc2 skill free?

Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.

How do I use soc2 after installing it?

In Claude Code, type `/soc2` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.

Can I share the soc2 skill with my team?

Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.