# rules

> Project CodeGuard is an AI model-agnostic security framework and ruleset that embeds secure-by-default practices into AI coding workflows (generation and review). It ships core security rules, transla

- **URL**: https://www.freshcrate.ai/projects/rules
- **Author**: project-codeguard
- **Category**: Security
- **Latest version**: `v1.2.0` (2026-01-27)
- **License**: NOASSERTION
- **Source**: https://github.com/project-codeguard/rules
- **Homepage**: https://project-codeguard.org
- **Language**: Python
- **GitHub**: 405 stars, 54 forks
- **Registry**: github
- **Tags**: `ai`, `ai-agents`, `ai-security`, `coding-agents`, `cybersecurity`, `python`

## Description

Project CodeGuard is an AI model-agnostic security framework and ruleset that embeds secure-by-default practices into AI coding workflows (generation and review). It ships core security rules, translators for popular coding agents, and validators to test rule compliance.

## Recent releases

| Version | Date | Urgency | Changes |
| --- | --- | --- | --- |
| `v1.2.0` | 2026-01-27 | Low | ## What's Changed * Update README to use 'skills and rules' terminology consistently by @santosomar in https://github.com/project-codeguard/rules/pull/94 * Fix docs formatting for mkdocs rendering by @thomas-bartlett in https://github.com/project-codeguard/rules/pull/95 * Add MCP (Model Context Protocol) security rule based on CoSAI MCP Security Paper: https://www.coalitionforsecureai.org/ve3-whitepaper-ensuring-the-security-governance-and-safety-of-ai-models/ by @santosomar in https://github |
| `1.1.0` | 2026-01-22 | Low | ## What's Changed * Updated codeguard-1-crypto-algorithms.md rule to include guidance on post quantum cryptography * Updated ClaudeCodeSkills to a more generic class AgentSkills after Agent Skills are adopted as a standard. * Fixed codeguard-1-digital-certificates.md so that the agent does not assume certificate parsing capabilities. * Updated codeguard-0-input-validation-injection.md to include guidance on SOQL . * Added documentation for generating custom rule files.  ## New Contributor |
| `v1.0.1` | 2025-10-29 | Low | ## What's Changed * Fixed copilot rules frontmatter  * Changed `codeguard-1-safe-c-functions` from always-apply to `codeguard-0-safe-c-functions` context-specific rule (C/C++ only) |
| `v1.0.0` | 2025-10-16 | Low | Release v1.0.0 |

## Citation

- HTML: https://www.freshcrate.ai/projects/rules
- Markdown: https://www.freshcrate.ai/projects/rules.md
- Dependencies JSON: https://www.freshcrate.ai/api/projects/rules/deps

_Generated by freshcrate.ai. Indexes github releases for AI-agent ecosystem packages._
