security-audit-for-saas
Made by JeffAudit SaaS billing security: payment bypass, webhook integrity, auth gaps, RLS, secrets. Use when "security audit", "billing security", or pre-launch review.
From Jeffrey's Skills.md: professionally crafted skills for any AI agent, installed and kept in sync by the jsm CLI. Subscription only, $20/month.
Works With
Quality and Utility come from canonical skill metadata. Community ratings appear separately as stars when subscriber reviews exist.
Subscribe to download
Public previews are available, but downloads, CLI sync, and premium content require an active subscription.
Sign In to Subscribe- Full skill content with deterministic versioning
- CLI sync + local search index
- Access to Jeffrey’s premium library
Save to your account
Saved skills live in your cloud list. Run jsm sync on each machine to pull them locally.
What's New with this Skill
2Updates, enhancements, and release notes for this skill.
Updated: security-audit-for-saas, scanners that miss less and security code that works
leak-scan missed tracked env files in subdirectories such as apps/web/.env, and the oversized-webhook test never sent its body because 1.5MB exceeded the argument limit. The CSP nonce was invisible to headers(), the WebAuthn code used the pre-v11 SimpleWebAuthn API with a counter check that rejects synced passkeys, and the timing-safe helpers branched before comparing. All fixed.
- leak-scan finds tracked env files in subdirectories, in the tree and in history
- The oversized-webhook test now actually sends its 1.5MB body
- CSP nonce set on the request so Next.js can use it
- WebAuthn code on the current SimpleWebAuthn API; synced passkeys no longer rejected after first login
- Timing-safe helpers no longer branch before the constant-time compare
Scripts were run against a scratch fixture repo only; semgrep and gitleaks usage was checked against their official docs, and the WebAuthn code against @simplewebauthn/server 14.
- Scripts.
leak-scan.shandaudit-quick.shnow find env files at any depth in the tree and in history.api-auth-mapper.shalso coversapp/apiandroute.js. The webhook signature test streams its large body on stdin. Every script answers--helpinstead of treating it as a path.
Security Audit for SaaS
A 130+ vulnerability playbook for SaaS security audits across 15 domains: billing bypass, webhook forgery, RLS gaps, stale entitlements, auth edge cases, secret leakage. Built from vulnerabilities found and fixed in production SaaS apps, including jeffreys-skills.md, plus 15 public breach case studies. 86 files, 8 dispatchable subagents, 6 runnable audit scripts, and compliance mapping for SOC 2, GDPR, PCI, HIPAA, and ISO 27001.
- 15 SaaS-specific domains beyond OWASP: payment and billing, auth, entitlements, secrets, database access control, web, infrastructure, rate limiting, multi-tenant isolation, third-party integrations, data security, incident response, audit logging, LLM security, and API security
- 8 dispatchable subagents for parallel work: billing-archaeologist traces payment flows, rls-auditor checks Supabase coverage, entitlement-checker finds missing gates, red-team-agent hunts creatively, incident-responder triages active events, and three more
- 15 breach case studies (Uber, Okta, LastPass, Codecov, SolarWinds, Snowflake, Microsoft Storm-0558, and more), each covering what actually went wrong
- 6 runnable audit scripts: rls-coverage.sql, webhook-signature-test.sh, find-fail-open.sh, api-auth-mapper.sh, leak-scan.sh, and a 60-second audit-quick.sh for pre-launch reviews
- Compliance deep-dive for SOC 2, GDPR, PCI DSS, HIPAA, and ISO 27001, with a finding-to-framework crosswalk that tags each finding with the controls it affects
- Attack surfaces many checklists skip: WebAuthn/Passkeys, GraphQL depth/complexity, WebSocket CSWSH, SCIM provisioning, AI/ML beyond prompt injection, and post-quantum crypto migration prep
- Security economics chapter with ALE/ROSI math, fat-tail breach cost analysis, cyber insurance buying guidance, and how to build a security budget the CFO will accept
- 25 admin escalation paths and a red-team playbook with a 7-phase SaaS kill chain for running your own internal adversarial exercises
The skill targets where production SaaS actually breaks, beyond OWASP generics: payment bypasses, webhook handlers that trust unsigned requests, RLS policies that protect rows but leak aggregate counts, entitlement caches that keep access active after cancellation, admin impersonation with no audit trail. It turns 130+ real vulnerabilities found and fixed across live SaaS applications into a 7-phase audit workflow (prepare, kernel check, domain sweep, operator chains, creativity pass, validation, report), 15 domain-specific checklists, 9 threat-modeling frameworks, a business-logic flaw catalo