secure-coding SKILL.md skillA

secure-coding from smk-labs/claude-plugins is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add smk-labs/claude-plugins/secure-coding@git:20260910.35de111

Pins git:20260910.35de111 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
smk-labs/claude-plugins
Path
portal-skills/skills/secure-coding/SKILL.md
Versions recorded
2
Latest version
git:20260910.35de111, committed Sep 10, 2026
First version recorded
Aug 9, 2026
Size
6,663 bytes
Repository stars
11
License
MIT

Baseline secure-coding standards for code being written or reviewed: auth, secrets, input validation, injection, PII, CORS, headers, logging, infra. Use proactively on auth, endpoints, queries, uploads, secrets and Dockerfile or k8s config, and on "is this safe".

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

# Secure Coding Baseline

These are baseline security requirements for any team. Apply them whenever writing, modifying, or reviewing security-sensitive code.

The point of each rule is in the *why*: when you hit an edge case the checklist doesn't cover, reason from the principle, not the literal rule.

## How to apply

- **Writing new code in a security-relevant area**: follow these rules by default. Don't ask the user for permission to be secure.
- **Editing existing code**: if you notice a violation in code you're touching (even unrelated to the current task), flag it once with the rule it breaks and propose the fix. Do not lecture, do not list every minor issue. Surface what matters.
- **Explicit "security review" requests**: walk the relevant sections systematically and report issues grouped by category.
- **Uncertain whether something counts**: name the rule and the situation and let the user decide.

Phrase findings like a peer pointing something out, not a compliance bot:

> "Heads up: this concatenates `req.body.email` into the SQL string, which is the injection pattern we don't allow. Want me to switch to a parameterized query?"

One line, name the rule, propose the fix.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add smk-labs/claude-plugins/secure-coding@sha256:f998bd3929aa46e4

The line at the top of this page pins the label git:20260910.35de111, 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_ffu2qbhgymztzayv.svg)](https://markdownregistry.com/a/art_ffu2qbhgymztzayv)

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

Versions

The registry has recorded 2 versions of this file, between Aug 9, 2026 and Sep 10, 2026, about one every 32 days.

versioncommittedcommitsizeaudit
git:20260910.35de111 latest2026-09-10 35de111 6,663 BA view · diff
git:20260809.45119062026-08-09 4511906 7,270 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 (6663 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

smk-labs/claude-plugins · 11 stars · license MIT · pushed 2026-09-27 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_ffu2qbhgymztzayv
GET https://markdownregistry.com/api/v1/resolve?ref=smk-labs/claude-plugins/secure-coding
GET https://markdownregistry.com/api/v1/blob/f998bd3929aa46e4a1ef9611e810dfceef78c4891cd664ebc96126c3f220e8ee

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 smk-labs/claude-plugins

CLAUDE.md CLAUDE.md file
smk-labs/claude-plugins · CLAUDE.md
git:20260824.df9ed68 · audit A · 11 stars
codex-delegate SKILL.md skill
smk-labs/claude-plugins · cursor-delegate/skills/codex-delegate/SKILL.md · Delegate a self-contained coding or research task to a ChatGPT account through the Codex CLI, so it runs on that…
git:20260927.a13e558 · audit A · 11 stars
copy-writing-fa SKILL.md skill
smk-labs/claude-plugins · cursor-delegate/skills/copy-writing-fa/SKILL.md · Write or edit Persian web copy (blog, product, landing, SEO, microcopy) with Cursor workers, on Cursor's quota…
git:20260910.35de111 · audit F · 11 stars
cursor-delegate SKILL.md skill
smk-labs/claude-plugins · cursor-delegate/skills/cursor-delegate/SKILL.md · Hand one self-contained coding or research task to the Cursor CLI so it runs on Cursor's quota, with Claude…
git:20260910.35de111 · audit B · 11 stars
cursor-orchestrate SKILL.md skill
smk-labs/claude-plugins · cursor-delegate/skills/cursor-orchestrate/SKILL.md · Run a fleet of Cursor CLI workers on a large multi-part job while Claude does architecture, decomposition and review…
git:20260910.35de111 · audit B · 11 stars
go SKILL.md skill
smk-labs/claude-plugins · daily-tools/skills/go/SKILL.md · وضعیت سه‌سطری و ادامهٔ خودکار کار ناتمام, بدون شروع دوباره. Triggers: «ادامه», «ادامه بده», «وضعیت چیه», "go", "/go"…
git:20260910.35de111 · audit F · 11 stars
gouya SKILL.md skill
smk-labs/claude-plugins · daily-tools/skills/gouya/SKILL.md · سبک نوشتن فارسی: ساده, کوتاه, مرتب, آدم‌وار; نه ترجمه‌زده, نه اداری. روی هر جواب فارسی اعمال شود. Persian only; does…
git:20260925.7508aef · audit F · 11 stars
mini-research SKILL.md skill
smk-labs/claude-plugins · daily-tools/skills/mini-research/SKILL.md · تحقیق سبک چندایجنتی روی یک موضوع, با انتخاب مدل و تعداد ایجنت. عمداً deep research نیست. Triggers: «تحقیق سبک», «یه…
git:20260910.35de111 · audit F · 11 stars
mkprompt-classic SKILL.md skill
smk-labs/claude-plugins · daily-tools/skills/mkprompt-classic/SKILL.md · پرامپت‌ساز تشریحی با نقش, کانتکست, گاردریل و فرمت گزارش, برای قید سفت. Triggers: «پرامپت کامل», «پرامپت تشریحی», «با…
git:20260910.35de111 · audit F · 11 stars
mkprompt-goal SKILL.md skill
smk-labs/claude-plugins · daily-tools/skills/mkprompt-goal/SKILL.md · پرامپت‌ساز هدف‌محور و پیش‌فرض: هدف یک سطح بالاتر, راه تأیید کار, شرط توقف عینی. Triggers: «پرامپت بساز», «پرامپت بده»…
git:20260910.35de111 · audit F · 11 stars
mkprompt-redesign SKILL.md skill
smk-labs/claude-plugins · daily-tools/skills/mkprompt-redesign/SKILL.md · پرامپت‌ساز بازطراحی چندراندی که نمی‌گذارد راندها به رنگ و فاصله تنزل کند. Triggers: «پرامپت بازطراحی», «این طراحی رو…
git:20260910.35de111 · audit F · 11 stars
publish SKILL.md skill
smk-labs/claude-plugins · daily-tools/skills/publish/SKILL.md · گزارش را با readable بساز, بعد از تأیید روی پورتال منتشر کن, و ایمیل کوتاه با لینک بده. Triggers: «منتشر کن», «بذار روی…
git:20260910.35de111 · audit F · 11 stars

Every file in smk-labs/claude-plugins

Other files named secure-coding

secure-coding SKILL.md skill
techygarg/lattice · source/atoms/secure-coding/SKILL.md · Apply security-conscious thinking when generating or modifying code. Enforces trust boundary awareness, input…
git:20260903.83fa756 · audit A · 206 stars
secure-coding SKILL.md skill
techygarg/lattice · skills/secure-coding/SKILL.md · Apply security-conscious thinking when generating or modifying code. Enforces trust boundary awareness, input…
git:20260903.6d09876 · audit A · 206 stars
secure-coding SKILL.md skill
aethrox/doctrine · skills/secure-coding/SKILL.md · Secure-coding discipline mapped to the OWASP Top 10, checked at the point of writing code, not after. Covers input…
git:20260809.2a45dbb · audit A · 19 stars
secure-coding SKILL.md skill
martinolivero/saas-builder · skills/secure-coding/SKILL.md · This skill should be used while WRITING any backend, API, auth, or data-handling code for a web app or SaaS — to…
git:20261007.f2beefe · audit A · 4 stars
secure-coding SKILL.md skill
sergeyizmailov/knowledge-delta-skills · skills/security/secure-coding/SKILL.md · Use when writing JavaScript, Node.js, HTML, CSS code for websites, landing pages, admin panels, APIs. Reduces common…
git:20260929.c1f17bd · audit A · 3 stars
secure-coding SKILL.md skill
slilbudget/knowledge-delta-skills · skills/security/secure-coding/SKILL.md · Use when writing JavaScript, Node.js, HTML, CSS code for websites, landing pages, admin panels, APIs. Reduces common…
git:20260929.c1f17bd · audit A · 3 stars

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