This walks through the OWASP Top 10 with side-by-side code comparisons showing vulnerable patterns and their fixes. You get examples for everything from broken access control and IDOR prevention to SQL injection, cryptographic failures, and rate limiting. The parameterized query examples alone are worth having on hand when you're doing security reviews or onboarding someone who hasn't seen an injection attack. It covers TypeScript/Node.js with real libraries like bcrypt, helmet, and zod, so you can actually copy patterns into your codebase. Honestly most useful as a reference when you know something is wrong but need to remember the correct way to handle session cookies or encrypt sensitive data.

skills.sh installs
3.1K
GitHub stars
296
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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);
});

Sponsors

Details

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

More from hoodini/ai-agents-skills

All 37
1actionbook avatardomain-cloud-nativeactionbook/rust-skillsUse when building cloud-native apps. Keywords: kubernetes, k8s, docker, container, grpc, tonic, microservice, service mesh, observability, tracing, metrics, hea3Kskills.sh installs
2hau823823 avatargen-paylink-govilohau823823/gen-paylink-goviloUpload files to Govilo and generate unlock links via Bot API. Use when: (1) Creating a Govilo unlock link from a ZIP, folder, or individual files, (2) Automatin3Kskills.sh installs
3mksglu avatarcontext-modemksglu/context-modeUse context-mode tools (ctx_execute, ctx_execute_file) instead of Bash/cat when processing large outputs. Triggers: "analyze logs", "summarize output", "process3Kskills.sh installs
4nexu-io avatargsap-corenexu-io/open-designOfficial GSAP skill for the core API — gsap.to(), from(), fromTo(), easing, duration, stagger, defaults, gsap.matchMedia() (responsive, prefers-reduced-motion).3Kskills.sh installs
5sanity-io avatarportable-text-serializationsanity-io/agent-toolkitRender and serialize Portable Text to React, Svelte, Vue, Astro, HTML, Markdown, and plain text. Use when implementing Portable Text rendering in any frontend f3Kskills.sh installs
6markdown-viewer avatariotmarkdown-viewer/skillsCreate IoT architecture diagrams using PlantUML syntax with device and sensor stencil icons. Best for smart home, industrial IoT (IIoT), fleet management, edge 3Kskills.sh installs