New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Practical OWASP Top 10 guidance with vulnerable-versus-fixed code for access control, crypto, injection, and misconfiguration.

skills.sh installs
3.1K
GitHub stars
302
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers the OWASP Top 10 (2021) as a reference table, plus worked prevention patterns for A01 through A05
  • Includes paired bad and good TypeScript examples for IDOR checks, bcrypt hashing, AES-256-GCM encryption, and parameterized SQL
  • Enforces input validation with Zod schemas, rate limiting on auth routes, and hidden stack traces in production
  • Designed for Node and Express web backends during feature implementation or security review

Install

$ npx -y skills add hoodini/ai-agents-skills --skill owasp-security -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

OWASP Top 10 Security

Prevent common security vulnerabilities in web applications.

OWASP Top 10 (2021)

#VulnerabilityPrevention
A01Broken Access ControlProper authorization checks
A02Cryptographic FailuresStrong encryption, secure storage
A03InjectionInput validation, parameterized queries
A04Insecure DesignThreat modeling, secure patterns
A05Security MisconfigurationHardened configs, no defaults
A06Vulnerable ComponentsDependency scanning, updates
A07Auth FailuresMFA, secure session management
A08Data Integrity FailuresInput validation, signed updates
A09Logging FailuresComprehensive audit logs
A10SSRFURL validation, allowlists

A01: Broken Access Control

Prevention Patterns

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

Details

Repository
github.com/hoodini/ai-agents-skills
Categories
Security, Backend & APIs

More from hoodini/ai-agents-skills

All 35

Similar to Owasp Security

More Security