Security skill

Security checklist

Minimum viable security before shipping any web application. This is the baseline that prevents obvious disasters.

When to use

What's included

Authentication checks

Password hashing, session expiration, rate limiting, and credential handling.

Input validation

SQL injection prevention, XSS escaping, file upload safety, and redirect validation.

Secrets management

Environment variables, .gitignore patterns, and key rotation strategies.

Database security

Network isolation, minimum permissions, RLS policies, and encrypted connections.

Network and transport

HTTPS enforcement, TLS configuration, HSTS, secure cookies, and CORS.

Compliance basics

GDPR, CCPA, PCI DSS, and HIPAA quick reference for common requirements.

Pre-ship audit categories

Category Key items
Authentication Password hashing, session expiration, rate limiting, no credentials in logs
Input validation Parameterized queries, XSS escaping, file upload checks, URL validation
Secrets No secrets in code, environment variables, separate dev/prod secrets
Database Not public, dedicated user, minimum permissions, RLS enabled
Network HTTPS only, TLS 1.2+, HSTS, secure cookies, specific CORS origins
Logging Auth events logged, no sensitive data, retention policy, alerts

Quick fixes for common issues

Critical

Stored passwords in plain text

Add password hashing immediately, force password reset for all users, invalidate sessions, check for database exposure.

Critical

API key in git history

Rotate the key immediately, revoke old key, use BFG Repo-Cleaner to remove from history, force push.

Important

Database publicly accessible

Change credentials, configure firewall rules, enable SSL/TLS, review access logs.

Review

Unknown logging content

Search for console.log/logger/print, review what's logged, implement structured logging with allowlists.

Resources

Installation

# Clone the repository

git clone https://github.com/jamditis/claude-skills-journalism.git

# Copy the skill to your Claude config

cp -r claude-skills-journalism/security-checklist ~/.claude/skills/

Or download just this skill from the GitHub repository.

Related skills

Don't ship without checking

The baseline security audit that prevents obvious disasters.

View on GitHub