Security Audit

Perform structured application security audits and document evidence-based findings.

roadofriot Updated

File contents

SECURITY AUDIT SKILL

Objective

Identify security weaknesses before implementation or release.

Inspect

Authentication

  • login
  • logout
  • sessions
  • tokens
  • OAuth
  • password handling
  • MFA where relevant

Authorization

  • roles
  • permissions
  • ownership
  • privilege escalation
  • access control

Input

  • validation
  • sanitization
  • injection
  • unsafe parsing
  • deserialization

Web

  • XSS
  • CSRF
  • CORS
  • CSP
  • headers
  • cookies
  • clickjacking

APIs

  • authentication
  • authorization
  • rate limiting
  • validation
  • excessive data exposure
  • error leakage

Database

  • access control
  • injection
  • query safety
  • RLS where relevant
  • exposed credentials

Secrets

Inspect:

.env configuration source Git history where appropriate

Never print actual secret values.

Dependencies

Use available security audit tools.

Output

Create:

docs/SECURITY_AUDIT.md

Finding:

SEC-001 Severity: Location: Evidence: Impact: Recommendation: Status:

Severity:

CRITICAL HIGH MEDIUM LOW INFO

Rule

Never declare:

"100% secure"

Use evidence-based conclusions.

roadofriot/Gemini-Skills/tree/main/skills/security-audit commit 3692e5acb4

Frequently asked questions

npx skillmds@latest add roadofriot/security-audit