sota-code-security SKILL.md skillA

sota-code-security from martinholovsky/sota-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add martinholovsky/sota-skills/sota-code-security@git:20261012.ae1b29b

Pins git:20261012.ae1b29b in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
martinholovsky/sota-skills
Path
skills/sota-code-security/SKILL.md
Versions recorded
20
Latest version
git:20261012.ae1b29b, committed Oct 12, 2026
First version recorded
Aug 16, 2026
Size
28,325 bytes
Repository stars
23
License
CC-BY-4.0

Secure coding and security auditing rules. Use whenever BUILDING or modifying code that crosses a trust boundary — endpoints, handlers, auth/login/signup, sessions, JWT/OAuth, file uploads, payments, multi-tenant features, crypto/secrets handling, parsers, CLI/exec wrappers, LLM agents or tool-calling — AND whenever AUDITING code for security (security review, vulnerability hunt, hardening, OWASP, CWE, secrets leak, "is this code safe") — AND whenever a control is already PRESENT and the…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# SOTA Code Security

## Purpose

One skill, two modes. The `rules/` files define the 2026 secure-coding baseline
(OWASP Top 10 2025/API 2023/LLM + Agentic Top 10, CWE-mapped). In **BUILD** mode
you write
code that conforms to the rules by default. In **AUDIT** mode you hunt for
violations of the same rules and report them as severity-rated findings. The
rules are the single source of truth for both — anything a rules file forbids
is a finding; anything it mandates is the implementation default.

Threat-model framing for both modes: every input is hostile until validated at
a trust boundary; every output channel (response, error, log, model context) is
adversary-readable; every privileged operation needs an explicit, code-enforced
(never prompt-, comment-, or convention-enforced) authorization decision.

## BUILD mode — secure-by-default while writing code

1. **Identify trust boundaries first.** Before writing a handler/parser/job,
   name what crosses in (user input, third-party content, model output, file
   bytes) and what authority the code wields. Pick the relevant rules files
   from the index below and follow them as you write — not as a review pass.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add martinholovsky/sota-skills/sota-code-security@sha256:640926492b147715

The line at the top of this page pins the label git:20261012.ae1b29b, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_ca45hc5i7xik5m5t.svg)](https://markdownregistry.com/a/art_ca45hc5i7xik5m5t)

5 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 20 versions of this file, between Aug 16, 2026 and Oct 12, 2026, about one every 3 days.

versioncommittedcommitsizeaudit
git:20261012.ae1b29b latest2026-10-12 ae1b29b 28,325 BA view · diff
git:20261002.9c00cc82026-10-02 9c00cc8 27,097 BA view · diff
git:20260926.1b7230a2026-09-26 1b7230a 26,489 BA view · diff
git:20260926.e89beb12026-09-26 e89beb1 26,308 BA view · diff
git:20260925.60a53382026-09-25 60a5338 26,324 BA view · diff
git:20260925.0910d332026-09-25 0910d33 23,424 BA view · diff
git:20260925.981c1532026-09-25 981c153 23,074 BA view · diff
git:20260924.4007d432026-09-24 4007d43 22,503 BA view · diff
git:20260912.eb93a022026-09-12 eb93a02 22,290 BA view · diff
git:20260911.2045e872026-09-11 2045e87 21,577 BA view · diff
git:20260909.c4174782026-09-09 c417478 21,118 BA view · diff
git:20260909.582d6f92026-09-09 582d6f9 20,802 BA view · diff
git:20260908.ef6135a2026-09-08 ef6135a 20,795 BA view · diff
git:20260907.41639b62026-09-07 41639b6 20,631 BA view · diff
git:20260906.98168d02026-09-06 98168d0 20,470 BA view · diff
git:20260903.36172e42026-09-03 36172e4 20,095 BA view · diff
git:20260903.02cb41e2026-09-03 02cb41e 19,933 BA view · diff
git:20260820.7720f5a2026-08-20 7720f5a 19,562 BA view · diff
git:20260819.c3bf10d2026-08-19 c3bf10d 17,909 BA view · diff
git:20260816.827df592026-08-16 827df59 17,819 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (28325 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

martinholovsky/sota-skills · 23 stars · license CC-BY-4.0 · pushed 2026-10-21 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_ca45hc5i7xik5m5t
GET https://markdownregistry.com/api/v1/resolve?ref=martinholovsky/sota-skills/sota-code-security
GET https://markdownregistry.com/api/v1/blob/640926492b147715681d1aed03eb1dbb8923b6191a8ec1e7e82995c916641c1c

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from martinholovsky/sota-skills

AGENTS.md AGENTS.md file
martinholovsky/sota-skills · AGENTS.md
git:20261016.735fde2 · audit A · 23 stars
CLAUDE.md CLAUDE.md file
martinholovsky/sota-skills · CLAUDE.md
git:20260703.aaa9f67 · audit B · 23 stars
sota-api-design SKILL.md skill
martinholovsky/sota-skills · skills/sota-api-design/SKILL.md · State-of-the-art API design and audit guidance (2026) covering REST/HTTP, GraphQL, gRPC, WebSockets/SSE/realtime…
git:20261012.ae1b29b · audit A · 23 stars
sota-architecture SKILL.md skill
martinholovsky/sota-skills · skills/sota-architecture/SKILL.md · State-of-the-art software and system architecture rules (2026) for both building and auditing. Use when designing…
git:20261012.ae1b29b · audit A · 23 stars
sota-async-concurrency SKILL.md skill
martinholovsky/sota-skills · skills/sota-async-concurrency/SKILL.md · State-of-the-art rules for writing and auditing asynchronous and concurrent code across runtimes (Python asyncio…
git:20261012.ae1b29b · audit A · 23 stars
sota-c-cpp SKILL.md skill
martinholovsky/sota-skills · skills/sota-c-cpp/SKILL.md · State-of-the-art C and C++ engineering rules that Claude applies when writing or auditing C/C++. Covers modern idioms…
git:20261012.ae1b29b · audit A · 23 stars
sota-cli-ux SKILL.md skill
martinholovsky/sota-skills · skills/sota-cli-ux/SKILL.md · State-of-the-art CLI and developer-tool UX guidance (2026) covering command and flag design, output and interaction…
git:20261012.ae1b29b · audit A · 23 stars
sota-cloud-infrastructure SKILL.md skill
martinholovsky/sota-skills · skills/sota-cloud-infrastructure/SKILL.md · State-of-the-art cloud infrastructure architecture (2026). Applies when designing, building, or auditing cloud…
git:20261012.ae1b29b · audit A · 23 stars
sota-confidential-computing SKILL.md skill
martinholovsky/sota-skills · skills/sota-confidential-computing/SKILL.md · State-of-the-art confidential computing and cryptographic PETs (2026) for BUILDING and AUDITING systems that protect…
git:20261012.ae1b29b · audit A · 23 stars
sota-copywriting SKILL.md skill
martinholovsky/sota-skills · skills/sota-copywriting/SKILL.md · State-of-the-art marketing copywriting and content guidance (2026) covering positioning and value propositions…
git:20261012.ae1b29b · audit A · 23 stars
sota-data-engineering SKILL.md skill
martinholovsky/sota-skills · skills/sota-data-engineering/SKILL.md · State-of-the-art data engineering rules (2026) for building and auditing data pipelines and analytics infrastructure…
git:20261012.ae1b29b · audit A · 23 stars
sota-databases SKILL.md skill
martinholovsky/sota-skills · skills/sota-databases/SKILL.md · State-of-the-art database engineering rules (2026) for designing, building, and auditing data layers. Covers engine…
git:20261012.ae1b29b · audit A · 23 stars

Every file in martinholovsky/sota-skills

Browse by kind, by grade A, or by owner.