Skip to content
generating-security-audit-reports logo

Generating Security Audit Reports

generating-security-audit-reports

Generate comprehensive security audit reports for applications and systems.

SKILL.md

Full skill instructions

Generating Security Audit Reports

Overview

Aggregate vulnerability scan results, configuration analyses, and compliance assessments into a structured, auditor-ready security report. Map every finding to a CVSS severity, applicable compliance control (PCI-DSS, HIPAA, SOC 2, GDPR), and a prioritized remediation timeline.

Prerequisites

  • Vulnerability scanner outputs (Nmap, Nessus, OpenVAS, OWASP ZAP) available in ${CLAUDE_SKILL_DIR}/​security/
  • Application and infrastructure configuration files accessible
  • SAST/​DAST tool results (e.g., Semgrep, Snyk, Trivy, Bandit)
  • Applicable compliance framework documentation identified (PCI-DSS v4.0, HIPAA Security Rule, SOC 2 TSC, GDPR)
  • Write permissions for report output directory ${CLAUDE_SKILL_DIR}/​reports/

Instructions

  1. Inventory all available security data sources by scanning ${CLAUDE_SKILL_DIR}/​security/ for scanner outputs, log files, and configuration exports.
  2. Parse vulnerability findings and normalize severity using CVSS 3.1 base scores: Critical (9.0-10.0), High (7.0-8.9), Medium (4.0-6.9), Low (0.1-3.9).
  3. Cross-reference each finding against applicable compliance controls. Map to specific PCI-DSS requirements (e.g., Req 6.5 for injection flaws), HIPAA safeguards, or SOC 2 Common Criteria.
  4. Deduplicate findings across scanners and merge related vulnerabilities into consolidated entries with all affected assets listed.
  5. Classify access control weaknesses, encryption gaps, and authentication deficiencies into separate report sections.
  6. Generate an executive summary including total findings by severity, overall risk score, and top-5 critical remediation priorities.
  7. Build a detailed findings table: finding ID, CWE number, affected component, CVSS score, compliance mapping, remediation steps, and evidence links.
  8. Produce a compliance status matrix showing pass/​fail/​partial for each applicable standard requirement.
  9. Create remediation recommendations with effort estimates (hours), priority ranking, and suggested timelines.
  10. Format the final report as Markdown to ${CLAUDE_SKILL_DIR}/​reports/​security-audit-YYYYMMDD.md. Optionally produce JSON for Jira/​ServiceNow import.

See ${CLAUDE_SKILL_DIR}/​references/​implementation.md for the detailed four-phase implementation workflow.

Output

  • Audit Report: ${CLAUDE_SKILL_DIR}/​reports/​security-audit-YYYYMMDD.md containing executive summary, detailed findings, compliance matrix, and remediation plan
  • Findings JSON: Machine-readable findings for ticketing system import
  • Compliance Matrix: Per-requirement pass/​fail/​partial status for each applicable framework
  • Remediation Backlog: Prioritized list with effort estimates and owner assignments

Error Handling

ErrorCauseSolution
No security scan results foundScanner outputs missing from ${CLAUDE_SKILL_DIR}/​security/Specify alternate data source paths or run preliminary scans with nmap -sV or trivy fs .
Cannot assess compliance -- requirements unavailableCompliance framework checklist not providedFall back to OWASP Top 10 and CWE Top 25 as baseline; note limitation in report
Permission denied reading config filesInsufficient filesystem accessRequest elevated permissions or provide exported configuration snapshots
Scan results exceed processing capacityThousands of findings from multiple scannersProcess in batches by severity (Critical/​High first), then merge
Conflicting severity ratings across scannersDifferent tools score the same vulnerability differentlyUse CVSS 3.1 base score as canonical severity; note discrepancies in appendix

Examples

  • "Generate a SOC 2 security audit report for the API using scan results in ${CLAUDE_SKILL_DIR}/​security/."
  • "Create a PCI-DSS compliance-focused security assessment with a prioritized remediation plan for all Critical and High findings."
  • "Produce a HIPAA security audit from the Nessus and Trivy outputs, mapping each finding to the relevant HIPAA safeguard."

Resources

More Security skills

supabase logo
Security

supabase

Handles the full Supabase workflow from schema changes to deployment, with built-in security guardrails that catch common traps like RLS...

2.7K 308.9K
View

Comprehensive guides and best practices for Neon Serverless Postgres, covering setup, connection methods, authentication, and platform APIs.

98 216.2K
View

Guide for setting up and using Firebase Authentication. Use this skill when the user's app requires user sign-in, user management, or secure data access using auth rules.

462 163.8K
View

A skill to evaluate how secure Firestore security rules are. Use this when Firestore security rules are updated to ensure that the generated rules are extremely secure and robust.

462 127.7K
View

Official skill for integrating Firebase AI Logic (Gemini API) into web applications. Covers setup, multimodal inference, structured output, and security.

462 125.1K
View

Complete Better Auth server and client setup with database adapters, session management, plugins, and security configuration.

222 118.2K
View

Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g. "deploy to vercel", "set up vercel", "add environment variables to vercel".

31.9K 116.1K
View
cloudflare logo
Security

cloudflare

Complete Cloudflare platform integration with decision trees for compute, storage, AI, networking, security, and infrastructure-as-code.

3K 110.7K
View

Run Azure compliance and security audits with azqr plus Key Vault expiration checks. Covers best-practice assessment, resource review, policy/compliance validation, and security posture checks. WHEN: compliance scan, security audit, BEFORE running azqr (compliance cli tool), Azure best practices, Key Vault expiration check, expired certificates, expiring secrets, orphaned resources, compliance assessment.

253 103K
View
gws-gmail logo
Security

gws-gmail

Send, read, and manage Gmail messages, drafts, labels, and account settings.

31.2K 78.9K
View

Comprehensive website auditing across 230+ rules in 21 categories including SEO, performance, security, and accessibility.

94 72.3K
View
gws-shared logo
Security

gws-shared

Shared authentication, CLI syntax, and output formatting patterns for gws Google Workspace commands.

31.2K 63.4K
View

Security AI tools

StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
GeoSpy logo
Security

GeoSpy

GeoSpy: Pricing, Features, FAQs, and Alternatives for AI Teams

Free
View

Detect AI-generated voices to protect against audio fraud.

Paid
View

Ensure Your Content's Originality with AI Plagiarism Checker

Freemium
View
Img Upscaler logo
Security

Img Upscaler

Upscale images by 400% without quality loss

Freemium
View
AICheatCheck logo
Security

AICheatCheck

Accurately Detect AI-Generated Content with TheChecker.AI

Free
View
D
Security

Detect GPT

Chrome extension that detects and flags AI-generated content

Free
View