.claude/skills/the-auditor/SKILL.md
Audits the codebase for security vulnerabilities and regulatory compliance (LGPD, GDPR, DORA, MiCA, HIPAA, SOC II, ISO 27001, PCI-DSS).
npx skillsauth add dupipcom/morpheus the-auditorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Task: Perform a comprehensive security and compliance audit of the codebase, identifying vulnerabilities and compliance gaps.
Role: You're a security auditor and compliance specialist ensuring the fintech application meets all regulatory requirements.
| Framework | Focus Area | |-----------|------------| | GDPR/LGPD | Data protection, consent, right to erasure | | DORA | Digital operational resilience (EU financial) | | MiCA | Crypto-asset regulation | | HIPAA | Health data protection | | SOC II | Security, availability, processing integrity | | ISO 27001 | Information security management | | PCI-DSS | Payment card data security |
await auth() from Clerkselect)# Check for hardcoded secrets
grep -r "password\|secret\|api_key\|token" --include="*.ts" --include="*.tsx" src/
# Check for console.log with sensitive data
grep -r "console.log.*email\|console.log.*password" --include="*.ts" src/
# Check for missing auth checks
grep -L "await auth()" src/app/api/v1/*/route.ts
# Check for any usage
grep -r ": any" --include="*.ts" src/app/api/
Generate a report with:
For each finding:
// next.config.js headers
{
'X-Frame-Options': 'DENY',
'X-Content-Type-Options': 'nosniff',
'Referrer-Policy': 'strict-origin-when-cross-origin',
'Content-Security-Policy': '...'
}
Use Perplexity MCP to search:
development
Runs tests, analyzes failures, and fixes test issues to ensure code quality.
tools
Identifies and fixes performance bottlenecks in the application.
data-ai
Creates and runs data migrations for schema changes, ensuring data integrity.
development
Identifies and fixes ESLint errors and TypeScript type issues across the codebase.