travisjneuman avatar

Application Security

This covers the OWASP Top 10 with side-by-side code examples showing vulnerable patterns and their fixes, plus practical security tooling like Semgrep, OWASP ZAP, and dependency scanners. You get CSP headers, input validation with Zod, rate limiting configs, and a hardening checklist. Use it when reviewing code for vulnerabilities, setting up security middleware, or teaching your team defensive patterns. The examples are TypeScript-heavy but the concepts translate. Honestly, the checklist alone is worth keeping around before any production deploy.

skills.sh installs
177
GitHub stars
108
last updated
Aug 21, 2026

Install

$ npx -y skills add travisjneuman/.claude --skill application-security --agent claude-code

Installs into .claude/skills of the current project.

Files

Application Security Skill

Secure coding patterns, vulnerability prevention, and security tooling for web applications.


OWASP Top 10 (2021) with Code Examples

A01: Broken Access Control

// BAD - No authorization check
app.get('/api/users/:id', async (req, res) => {
  const user = await db.user.findUnique({ where: { id: req.params.id } });
  res.json(user);
});

// GOOD - Verify ownership or role
app.get('/api/users/:id', authenticate, async (req, res) => {
  if (req.user.id !== req.params.id && req.user.role !== 'ADMIN') {
    return res.status(403).json({ error: 'Forbidden' });
  }
  const user = await db.user.findUnique({ where: { id: req.params.id } });
  res.json(user);
});

A02: Cryptographic Failures

// BAD - Weak hashing
import crypto from 'crypto';
const hash = crypto.createHash('md5').update(password).digest('hex');

// GOOD - Use bcrypt with proper rounds
import bcrypt from 'bcrypt';
const hash = await bcrypt.hash(password, 12);
const isValid = await bcrypt.compare(password, hash);

A03: Injection

// BAD - SQL injection
const query = `SELECT * FROM users WHERE email = '${email}'`;

Sponsors

Details

Repository
github.com/travisjneuman/.claude
Category
Security
First seen
Jun 3, 2026

More from travisjneuman/.claude

All 33

Recommended

More Security
1s-hiraoku avatarsecurity-audits-hiraoku/synapse-a2aGeneral-purpose security auditing guide. Covers OWASP Top 10, dependency vulnerabilities, authentication, authorization, input validation, and secret management160skills.sh installs
2cloudai-x avatarsecurity-patternscloudai-x/claude-workflow-v2Implements authentication, authorization, encryption, secrets management, and security hardening patterns. Use when designing auth flows, managing secrets, conf132skills.sh installs
3codeaholicguy avatarsecurity-reviewcodeaholicguy/ai-devkitAI DevKit · Review code, skills, and prompts for security vulnerabilities — OWASP Top 10, prompt injection, business logic flaws, and insecure defaults. Use whe0skills.sh installs
4Cornjebus avatarsecurity-analyzerCornjebus/security-analyzerComprehensive security vulnerability analysis for codebases and infrastructure. Scans dependencies (npm, pip, gem, go, cargo), containers (Docker, Kubernetes), 0skills.sh installs
5daffy0208 avatarSecurity Engineerdaffy0208/ai-dev-standardsImplement security best practices across the application stack. Use when securing APIs, implementing authentication, preventing vulnerabilities, or conducting s0skills.sh installs
6github avatarmcp-implementation-security-reviewgithub/awesome-copilotReview the implementation source code of MCP (Model Context Protocol) servers, clients, and tool handlers against a security baseline — authentication, sessions0skills.sh installs