codeguard SKILL.md skillA

This file is byte-identical to the first copy the registry indexed. Same content hash, so the same checks give both the same grade.

codeguard from santosomar/ai-agents-for-cybersecurity is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add santosomar/ai-agents-for-cybersecurity/codeguard@git:20261012.dc85c34

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

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
santosomar/ai-agents-for-cybersecurity
Path
.agents/skills/codeguard/SKILL.md
Versions recorded
1
Latest version
git:20261012.dc85c34, committed Oct 12, 2026
Size
8,687 bytes
Repository stars
251
License
BSD-3-Clause

A CodeGuard security skill that helps AI coding agents write secure code and prevent common vulnerabilities. Use this skill when writing, reviewing, or modifying code to ensure secure-by-default practices are followed.

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

# CodeGuard Skill
This skill provides comprehensive security guidance to help AI coding agents generate secure code and prevent common vulnerabilities. It is based on **Project CodeGuard**, an open-source, model-agnostic security framework that embeds secure-by-default practices into AI coding workflows.

## When to Use This Skill
This skill should be activated when:
- Writing new code in any language
- Reviewing or modifying existing code
- Implementing security-sensitive features (authentication, cryptography, data handling, etc.)
- Working with user input, databases, APIs, or external services
- Configuring cloud infrastructure, CI/CD pipelines, or containers
- Handling sensitive data, credentials, or cryptographic operations

## How to Use This Skill
When writing or reviewing code:
1. Always-Apply Rules: Some rules MUST be checked on every code operation:
- `codeguard-1-hardcoded-credentials.md` - Never hardcode secrets, passwords, API keys, or tokens
- `codeguard-1-crypto-algorithms.md` - Use only modern, secure cryptographic algorithms
- `codeguard-1-digital-certificates.md` - Validate and manage digital certificates securely
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add santosomar/ai-agents-for-cybersecurity/codeguard@sha256:53ebc69b750c86f1

The line at the top of this page pins the label git:20261012.dc85c34, 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_g4xpm47ya4ecmdfr.svg)](https://markdownregistry.com/a/art_g4xpm47ya4ecmdfr)

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

Versions

The registry has recorded 1 version of this file, committed on Oct 12, 2026.

versioncommittedcommitsizeaudit
git:20261012.dc85c34 latest2026-10-12 dc85c34 8,687 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 (8687 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

santosomar/ai-agents-for-cybersecurity · 251 stars · license BSD-3-Clause · pushed 2026-10-19 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_g4xpm47ya4ecmdfr
GET https://markdownregistry.com/api/v1/resolve?ref=santosomar/ai-agents-for-cybersecurity/codeguard
GET https://markdownregistry.com/api/v1/blob/53ebc69b750c86f10aeea9d29263fa30c42e005dfc239c716ae5d674543cec99

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 santosomar/ai-agents-for-cybersecurity

codeguard SKILL.md skill
santosomar/ai-agents-for-cybersecurity · .claude/skills/codeguard/SKILL.md · A CodeGuard security skill that helps AI coding agents write secure code and prevent common vulnerabilities. Use this…
git:20261012.dc85c34 · audit A · 251 stars
codeguard-0-additional-cryptography Cursor rule
santosomar/ai-agents-for-cybersecurity · .cursor/rules/codeguard-0-additional-cryptography.mdc · Additional Cryptography guidance
v1.5.0 · audit A · 251 stars
codeguard-0-api-web-services Cursor rule
santosomar/ai-agents-for-cybersecurity · .cursor/rules/codeguard-0-api-web-services.mdc · API & Web services security (REST/GraphQL/SOAP), schema validation, authn/z, SSRF
v1.5.0 · audit A · 251 stars
codeguard-0-authentication-mfa Cursor rule
santosomar/ai-agents-for-cybersecurity · .cursor/rules/codeguard-0-authentication-mfa.mdc · Authentication and MFA best practices (passwords, MFA, OAuth/OIDC, SAML, recovery, tokens)
v1.5.0 · audit A · 251 stars
codeguard-0-authorization-access-control Cursor rule
santosomar/ai-agents-for-cybersecurity · .cursor/rules/codeguard-0-authorization-access-control.mdc · Authorization and access control (RBAC/ABAC/ReBAC, IDOR, mass assignment, transaction auth)
v1.5.0 · audit A · 251 stars
codeguard-0-client-side-web-security Cursor rule
santosomar/ai-agents-for-cybersecurity · .cursor/rules/codeguard-0-client-side-web-security.mdc · Client-side web security (XSS/DOM XSS, CSP, CSRF, clickjacking, XS-Leaks, third-party JS)
v1.5.0 · audit B · 251 stars
codeguard-0-cloud-orchestration-kubernetes Cursor rule
santosomar/ai-agents-for-cybersecurity · .cursor/rules/codeguard-0-cloud-orchestration-kubernetes.mdc · Kubernetes hardening (RBAC, admission policies, network policies, secrets, supply chain)
v1.5.0 · audit A · 251 stars
codeguard-0-data-storage Cursor rule
santosomar/ai-agents-for-cybersecurity · .cursor/rules/codeguard-0-data-storage.mdc · Data & storage security (DB isolation, TLS, least privilege, RLS/CLS, backups, auditing)
v1.5.0 · audit A · 251 stars
codeguard-0-devops-ci-cd-containers Cursor rule
santosomar/ai-agents-for-cybersecurity · .cursor/rules/codeguard-0-devops-ci-cd-containers.mdc · DevOps, CI/CD, and containers (pipeline hardening, artifacts, Docker/K8s images, virtual patching, toolchain)
v1.5.0 · audit A · 251 stars
codeguard-0-file-handling-and-uploads Cursor rule
santosomar/ai-agents-for-cybersecurity · .cursor/rules/codeguard-0-file-handling-and-uploads.mdc · Secure file handling & uploads (validation, storage isolation, scanning, safe delivery)
v1.5.0 · audit A · 251 stars
codeguard-0-framework-and-languages Cursor rule
santosomar/ai-agents-for-cybersecurity · .cursor/rules/codeguard-0-framework-and-languages.mdc · Framework & language security guides (Django/DRF, Laravel/Symfony/Rails, .NET, Java/JAAS, Node.js, PHP config)
v1.5.0 · audit A · 251 stars
codeguard-0-iac-security Cursor rule
santosomar/ai-agents-for-cybersecurity · .cursor/rules/codeguard-0-iac-security.mdc · Infrastructure as Code Security
v1.5.0 · audit A · 251 stars

Every file in santosomar/ai-agents-for-cybersecurity

Other files named codeguard

codeguard SKILL.md skill
santosomar/ai-agents-for-cybersecurity · .claude/skills/codeguard/SKILL.md · A CodeGuard security skill that helps AI coding agents write secure code and prevent common vulnerabilities. Use this…
git:20261012.dc85c34 · audit A · 251 stars

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