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.
mdr add smk-labs/claude-plugins/secure-coding@git:20260910.35de111Pins 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
mdr add smk-labs/claude-plugins/secure-coding@sha256:f998bd3929aa46e4The 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.
[](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.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260910.35de111 latest | 2026-09-10 | 35de111 | 6,663 B | A | view · diff |
| git:20260809.4511906 | 2026-08-09 | 4511906 | 7,270 B | A | view |
Audit of the latest version
- 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
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
Every file in smk-labs/claude-plugins