Skip to content
Back to skills

Security Patterns

ASecurity

Security checks for XSS, injection, auth, sessions, CSRF, CSP, secrets, and CVEs. Load before writing or reviewing code that handles auth, secrets, or user input, however small.

  • 2 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added October 5, 2026
ai-agentsgitsecurity

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned December 3, 2026

npx -y skills add ku5ic/claude-kit --skill security-patterns --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Security Patterns?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Security Patterns
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ku5ic-security-patterns/badge)](https://www.skillsdirectory.com/skills/ku5ic-security-patterns)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: security-patterns
description: Security checks for XSS, injection, auth, sessions, CSRF, CSP, secrets, and CVEs. Load before writing or reviewing code that handles auth, secrets, or user input, however small.
---

# Security patterns

Default assumption: the OWASP Top 10 2025 and OWASP ASVS 5.0, per the OWASP project pages, and CSP Level 3, per the W3C Working Draft.

Every entry holds in any language and framework; code in one also follows that stack's pattern skill. A row or entry that names a browser, tool, or standard version applies at or above it.

## Reference files

Loading this skill isn't enough. Before your next edit, read the file of every row that matches it. The rules live in those files, and this one only points at them.

| Before                                                                                                                                                        | Read                                                     |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------- |
| Upgrading npm, gitleaks, trufflehog, or OSV-Scanner, or moving to a newer standard                                                                            | [reference/upgrades.md](reference/upgrades.md)           |
| Writing or reviewing code that handles auth, sessions, secrets, or input                                                                                      | [reference/anti-patterns.md](reference/anti-patterns.md) |
| Rating a security finding, setting a CSP, cookies, CORS, or security headers, choosing a session or token design, or handling a dependency or a leaked secret | [reference/practices.md](reference/practices.md)         |
| Running or configuring gitleaks, trufflehog, OSV-Scanner, Semgrep, CodeQL, or a dependency audit                                                              | [reference/tooling.md](reference/tooling.md)             |

Files in this skill

  • SKILL.md3.3 KB
  • reference/anti-patterns.md3.3 KB
  • reference/backend-django.md1.9 KB
  • reference/backend-node.md1.8 KB
  • reference/dependencies.md2.4 KB
  • reference/frontend.md4.7 KB
  • reference/secrets.md2.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.