security-best-practices SKILL.md skillA
security-best-practices from svngoku/coding-agents-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add svngoku/coding-agents-skills/security-best-practices@git:20260813.4b33420Pins git:20260813.4b33420 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- svngoku/coding-agents-skills
- Path
skills/security-best-practices/SKILL.md- Versions recorded
- 1
- Latest version
- git:20260813.4b33420, committed Aug 13, 2026
- Size
- 19,016 bytes
- Repository stars
- 12
- License
- MIT
Practical security review and hardening guidance for application code in Python, JavaScript/TypeScript, and Go. Use this skill whenever the user asks for a security review or audit, wants to harden authentication (password hashing, sessions, JWT, OAuth2/OIDC, MFA), fix OWASP Top 10 issues (injection, XSS, IDOR, CSRF, SSRF, deserialization), threat-model with STRIDE, clean up secrets and .env handling, or set up dependency scanning (pip-audit, npm audit, osv-scanner, gitleaks, SBOM). Also…
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
# Security Best Practices Review and harden application code against the vulnerabilities that actually get exploited: injection, broken authentication, IDOR, XSS, insecure secrets, weak dependencies. This skill is **actionable engineering guidance, not a compliance checklist** — each vulnerability class maps to a concrete code-level fix, with cheat-sheets for Python, JavaScript/TypeScript, and Go plus a worked secure-login example. ## Quick Reference | Topic | Reference | |-------|-----------| | STRIDE worksheet, trust boundaries, least privilege, DFDs | [threat-modeling.md](references/threat-modeling.md) | | JWT verification, OAuth2 flows, OIDC, token storage | [jwt-oauth.md](references/jwt-oauth.md) | ## Core Workflow 1. **Scope the review.** List entry points (HTTP routes, message consumers, CLIs, file processors), sensitive data (PII, credentials, payment data), and trust boundaries. Note the languages/frameworks so the right cheat-sheet applies. 2. **Threat-model in 5 minutes.** Run the STRIDE table below per entry point; mark high-risk flows (auth, uploads, deserialization, outbound HTTP). Full worksheet: [threat-modeling.md](references/threat-modeling.md). …
Read the whole file at its exact version.
How to install
mdr add svngoku/coding-agents-skills/security-best-practices@sha256:bbf68e721958badbThe line at the top of this page pins the label git:20260813.4b33420, 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_kygupfjccrmlcpad)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Aug 13, 2026.
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 (19016 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
svngoku/coding-agents-skills · 12 stars · license MIT · pushed 2026-10-19 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_kygupfjccrmlcpad GET https://markdownregistry.com/api/v1/resolve?ref=svngoku/coding-agents-skills/security-best-practices GET https://markdownregistry.com/api/v1/blob/bbf68e721958badbc4f5bcdb1b73d5e0700cf4473337c8b52e60b39ec8959940
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 svngoku/coding-agents-skills
Every file in svngoku/coding-agents-skills