Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Secure Coding

ASecurity

Language-agnostic OWASP Top 10:2025 rules for writing and reviewing backend/API code, plus per-stack idiom files for NestJS, Laravel and Spring Boot. Use before writing or modifying any route handler, controller, guard/policy, query, auth flow, app config, or dependency — in any language. Also use when the user asks what security guidance applies, or asks to check code against OWASP.

2 stars
0 votes
0 copies
0 views
Added 9/19/2026
securitygoshellsqlrailsspringdockercode-reviewapibackendci/cd

Works with

cliapi

Security Analysis

A100/100

Scanned 9/19/2026

Install to Claude Code

$npx -y skills add joaovicdev/claude-appsec --skill secure-coding --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Secure Coding?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Secure Coding
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/joaovicdev-secure-coding-claude-appsec/badge)](https://www.skillsdirectory.com/skills/joaovicdev-secure-coding-claude-appsec)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: secure-coding
description: Language-agnostic OWASP Top 10:2025 rules for writing and reviewing backend/API code, plus per-stack idiom files for NestJS, Laravel and Spring Boot. Use before writing or modifying any route handler, controller, guard/policy, query, auth flow, app config, or dependency — in any language. Also use when the user asks what security guidance applies, or asks to check code against OWASP.
---

# Secure coding — OWASP Top 10:2025

These files are the **single source of truth** for security rules in every project
where this skill is installed. Consumers — a review skill, a CI check, a human —
read them and cite their ids; they never restate the material. If guidance here
conflicts with a memory or a habit, this wins.

The core (`owasp/`) is **language-agnostic on purpose** — it is installed in
NestJS, Laravel, Spring Boot and other backends. It uses neutral pseudocode and
neutral vocabulary (route handler, ORM, filter, DI container). Framework idiom
lives only in `stacks/`.

## How to use this

1. Detect the stack once per session: `nest-cli.json` → `stacks/nestjs.md` ·
   `artisan`/`composer.json` → `stacks/laravel.md` · `pom.xml`/`build.gradle` →
   `stacks/spring-boot.md`. **No match → use the core alone.** That is the design,
   not a degraded mode.
2. Read the manifest rows below that match what you are about to touch. Read
   those files. Do not read all ten.
3. If `SECURITY-NOTES.md` exists at the project root, read it — it carries that
   project's known-open findings and accepted risks. If it does not exist and the
   project has findings worth tracking, `templates/SECURITY-NOTES.md` beside this
   file is the blank to copy there.
4. If `appsec/profile.md` exists at the project root, read it. It says
   where *this* project puts the things these files ask about — the guard, the
   tenant predicate, the validation pipe, the config loader — so you flag what is
   actually missing instead of what is merely not in front of you, and so new code
   you write extends the pattern the project already has. A claim with no
   `Does not apply to:` line, or one under `## Stale`, applies to nothing. If there
   is no profile, `/appsec-profile` writes one: say so once and move on — never
   generate one as a side effect of writing code.

Every path in this file is relative to this skill's own directory, so the same
bytes work whether the skill was installed as a plugin, committed into a
project's `.claude/skills/`, or linked into the user's global skills directory.

## Manifest

| ID | File | Load when the change touches |
|---|---|---|
| A01:2025 | `owasp/A01-broken-access-control.md` | any handler taking an id/slug/key, guards, policies, roles, permissions, tenant scoping, object lookup by user-supplied identifier; **an outbound request whose URL/host/port comes from the caller (SSRF); CSRF settings on a cookie-session app** |
| A02:2025 | `owasp/A02-security-misconfiguration.md` | app bootstrap, CORS, security headers, TLS options, debug flags, API docs exposure, admin/actuator endpoints, default credentials |
| A03:2025 | `owasp/A03-software-supply-chain-failures.md` | `package*.json`, `composer.json`/`.lock`, `pom.xml`, `build.gradle`, `requirements.txt`, `go.mod`, Dockerfile, CI workflow, any new dependency or install script |
| A04:2025 | `owasp/A04-cryptographic-failures.md` | password storage, tokens, encryption, hashing, random values, TLS, key management, PII at rest or in transit |
| A05:2025 | `owasp/A05-injection.md` | any query, raw SQL, ORM escape hatch, shell/exec, file path from input, LDAP/XPath/NoSQL filters, deserialization of input; **template rendering and any unescaped output construct (XSS)** |
| A06:2025 | `owasp/A06-insecure-design.md` | a new feature's shape: workflows, state machines, limits, quotas, money, invitations, password reset, anything where the *design* carries the risk |
| A07:2025 | `owasp/A07-authentication-failures.md` | login, logout, registration, password reset, MFA, sessions, tokens, refresh, impersonation, API keys |
| A08:2025 | `owasp/A08-software-or-data-integrity-failures.md` | deserialization, auto-update, plugin loading, webhook receivers, signed payloads, CI/CD publish steps, cache/CDN keys |
| A09:2025 | `owasp/A09-security-logging-and-alerting-failures.md` | loggers, interceptors, audit trails, error reporting, anything that writes request data anywhere |
| A10:2025 | `owasp/A10-mishandling-of-exceptional-conditions.md` | exception filters, error handlers, `catch` blocks, fallback/default branches, timeouts, retries, partial failure |
| NEST | `stacks/nestjs.md` | any NestJS project |
| LAR | `stacks/laravel.md` | any Laravel project |
| SPR | `stacks/spring-boot.md` | any Spring Boot project |

## Contract for downstream skills

Three things are stable and may be relied on by `code-review` or any other
consumer:

- **IDs never get renumbered.** `A01:2025`…`A10:2025`, `NEST.*`, `LAR.*`, `SPR.*`.
  A future edition goes in `owasp/2029/` alongside; existing IDs stay valid so old
  findings remain resolvable.
- **`## Review questions`** in every file are the review contract. Each has a
  stable id (`A01.Q2`) and is answerable yes/no from a diff. Report findings as
  `A01.Q2 — <file>:<line> — <what is wrong>`.
- **`## Grep signals`** are a cheap pre-filter — run them before spending context
  on a full read.

Adding a review question to a file automatically extends every consumer. That is
the intent: extend the file, never fork the material.

The `api-secure-report` skill, shipped alongside this one, is the reference
consumer — it reads these files, iterates the review questions, and cites the
ids. Read it before writing another one.

## Honest limits

`stacks/nestjs.md` is grounded in four real codebases. `stacks/laravel.md` and
`stacks/spring-boot.md` are written from framework documentation and carry a
`Status: unverified` header — treat their specifics as a starting point and
tighten them the first time you work in such a project. `CONTRIBUTING.md` has the
recipe for adding a stack.

Attribution

joaovicdevjoaovicdev
View sourceMore from joaovicdev →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

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

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Springboot Security

Java Spring Boot 服务中关于身份验证/授权、验证、CSRF、密钥、标头、速率限制和依赖安全的 Spring Security 最佳实践。

2456590 votes

Security Review

Use this skill when adding authentication, handling user input, working with secrets, creating API endpoints, or implementing payment/sensitive features. Provides comprehensive security checklist and patterns.

2456590 votes

Summarize Status

Write a short, colloquial summary for a Paperclip summary slot: open with the 1–3 specific, concrete actions the reader needs to take right now to unblock the work, then a brief plain-language status, streaming progress as it works.

798220 votes

Paperclip Task Bridge

Create, comment on, update, and list Paperclip tasks from Hermes using scoped Paperclip API credentials.

798220 votes

V3 Security Overhaul

Complete security architecture overhaul for claude-flow v3. Addresses critical CVEs (CVE-1, CVE-2, CVE-3) and implements secure-by-default patterns. Use for security-first v3 implementation.

701370 votes
View all in security →