Skip to content

Penetration Testing for SOC 2 Compliance

Prepare for SOC 2 Type II penetration testing: AICPA Trust Services Criteria (CC4.1, CC7.1), scoping rules, fix timelines, and retest evidence.

By BugSnaps Security Research · 2 min read · Updated

Add BugSnaps as a preferred source on Google(opens in a new tab)

Want more of our security guides? Select BugSnaps and confirm your choice on Google.

Preparing for a SOC 2 Type I or Type II examination is a major milestone for B2B SaaS and technology companies. Under the AICPA Trust Services Criteria—including CC4.1, CC7.1, and CC7.4—organizations must demonstrate how they identify technical vulnerabilities, evaluate security controls, and remediate discovered weaknesses across their in-scope system boundaries.

What SOC 2 auditors typically request as evidence

Auditor requirements vary by CPA firm and your organization's specific system description, so always confirm expectations with your assessor before booking. In most SOC 2 engagements, auditors inspect four pieces of penetration testing documentation:

  • Written scope and rules of engagement: a clear list of the in-scope production or representative staging domains, APIs, roles, and testing dates.
  • Documented testing methodology: an explanation of how checks were performed, referencing recognized industry standards such as OWASP WSTG, OWASP API Top 10, or NIST SP 800-115.
  • Technical findings and executive summary: severity ratings (such as CVSS v3.1), reproduction evidence, and coverage boundaries.
  • Remediation and retest verification: ticket records and a retest report showing that high- and critical-severity findings were fixed and verified before the end of the observation period.

Avoiding common SOC 2 pentest scheduling pitfalls

The most common mistake teams make is scheduling their penetration test in the final two weeks of a SOC 2 Type II observation window. If testing uncovers an access-control or session flaw that requires an architectural fix, developers need time to deploy the patch and testers need time to re-verify it.

Schedule your penetration test at least 45 to 60 days before your SOC 2 audit window closes so your engineering team has enough runway to fix findings and complete a documented retest.

How to prepare your application for a SOC 2 pentest

  1. Clear baseline issues early: run an automated MyPentest scan on your verified domain to fix missing security headers, cookie flags, CORS misconfigurations, and exposed files before your formal engagement begins.
  2. Scope manual testing where required: if your auditor requires an independent manual penetration test, scope an expert-led BugSnaps engagement covering multi-tenant access control and business logic.
  3. Track fixes to closure: link every finding to an engineering ticket, deploy the fix, and attach the retest confirmation to your compliance evidence repository.

Run a vulnerability scan on your website.

Verify your domain and use MyPentest to check for supported web and API weaknesses. Review findings and coverage; a clean scan does not rule out every CVE.