Skip to content
Back to search

project-codeguard

MarketplaceWorks with Claude CodeGitHub

Project CodeGuard is an open-source, model-agnostic security framework that embeds secure-by-default practices into AI coding agent workflows. It provides comprehensive security rules that guide AI assistants to generate more secure code automatically.

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today

Check it deeper on your machine

It has changed since its scan on 11 Nov 2026.

As a Claude Code plugin, install it and then ask Claude Code:

/plugin marketplace add keithmackay/mackayi/plugin install scanskillsafety@mackayiDo a deep scan of https://github.com/cosai-oasis/project-codeguard with scanskillsafety

Or from a terminal, clone it and run it:

git clone https://github.com/keithmackay/scanskillsafety-skill ~/.claude/skills/scanskillsafetynode ~/.claude/skills/scanskillsafety/cli.cjs --deep 'https://github.com/cosai-oasis/project-codeguard'

It checks the exact commit: every file, its packages against OSV (api.osv.dev), how it compares with this page's scan (findsafeskills.com receives the repository's address), and, if you agree, Claude reading every file with your own Claude subscription. It never runs the code.

Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/cosai-oasis--project-codeguard/badge.svg)](/listings/cosai-oasis--project-codeguard)

HTML

<a href="/listings/cosai-oasis--project-codeguard"><img src="/api/listings/cosai-oasis--project-codeguard/badge.svg" alt="findsafeskills safety rating" /></a>

Install

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

.claude-plugin/marketplace.json · Manifest · 25 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. {
  2. "name": "project-codeguard",
  3. "metadata": {
  4. "description": "Official Project CodeGuard plugins for secure AI-assisted coding"
  5. },
  6. "owner": {
  7. "name": "Project CodeGuard",
  8. "url": "https://project-codeguard.org",
  9. "email": "contact@project-codeguard.org"
  10. },
  11. "plugins": [
  12. {
  13. "name": "codeguard-security",
  14. "source": "./",
  15. "description": "Comprehensive security rules for AI coding agents",
  16. "version": "1.5.0",
  17. "repository": "https://github.com/cosai-oasis/project-codeguard.git",
  18. "tags": [
  19. "security",
  20. "code-review",
  21. "vulnerability-prevention"
  22. ]
  23. }
  24. ]
  25. }
README.md · README · 71 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. # Project CodeGuard: Security Skills and Rules for AI Coding Agents
  2. ![Securing](https://img.shields.io/badge/Securing%20AI%20Generated%20Code-green)
  3. ![Open Source](https://img.shields.io/badge/Now-Open%20Source-brightgreen)
  4. [![License: CC BY 4.0](https://img.shields.io/badge/License-CC%20BY%204.0-lightgrey.svg)](https://creativecommons.org/licenses/by/4.0/)
  5. This repository is for the work of the **Coalition for Secure AI (CoSAI)**. CoSAI is an [OASIS Open Project](https://www.oasis-open.org/open-projects/) and an open ecosystem of AI and security experts from industry-leading organizations. We are dedicated to sharing best practices for secure AI deployment and collaborating on AI security research and tool development.
  6. For more information on CoSAI, please visit the [CoSAI website](https://www.coalitionforsecureai.org) and the [Open Project repository](https://github.com/cosai-oasis/oasis-open-project), which contains our governance information and project charter.
  7. ## What is Project CodeGuard?
  8. [Project CodeGuard](https://project-codeguard.org/) is an AI model-agnostic security coding agent skills framework and ruleset that embeds secure-by-default practices into AI coding workflows (generation and review). It ships core security skills and rules, translators for popular coding agents, and validators to test skills and rule compliance.
  9. ## Why Project CodeGuard?
  10. AI coding agents are transforming software engineering, but this speed can introduce security vulnerabilities. Is your AI coding agent implementation introducing security vulnerabilities?
  11. - Skipping input validation
  12. - Hardcoding secrets and credentials
  13. - Using weak cryptographic algorithms
  14. - Relying on unsafe functions
  15. - Missing authentication/authorization checks
  16. - Missing any other security best practice
  17. Project CodeGuard solves this by embedding security best practices directly into AI coding agent workflows.
  18. **During and After Code Generation.**
  19. Project CodeGuard is designed to integrate seamlessly across the entire AI coding lifecycle.
  20. - **Before code generation**, skills and rules can be used for the design of a product and for spec-driven development. You can use the skills and rules in the “planning phase” of an AI coding agent to steer models toward secure patterns from the start.
  21. - **During code generation**, skills and rules can help AI agents to prevent security issues as code is being written.
  22. - **After code generation**, AI agents like Cursor, GitHub Copilot, Codex, Windsurf, Devin, and Claude Code can use the rules for code review.
  23. ## Security Coverage
  24. Project CodeGuard skills and rules cover essential security domains:
  25. - **Cryptography**: Safe algorithms (including post-quantum cryptography), secure key management, certificate validation
  26. - **Input Validation**: SQL injection prevention, XSS protection, command injection defense
  27. - **Authentication**: MFA best practices, OAuth/OIDC, secure session management
  28. - **Authorization**: RBAC/ABAC, access control, IDOR prevention
  29. - **Supply Chain**: Dependency security, SBOM generation, vulnerability management
  30. - **Cloud Security**: IaC hardening, container security, Kubernetes best practices
  31. - **Platform Security**: Mobile apps, web services, API security
  32. - **Data Protection**: Privacy, encryption at rest/transit, secure storage
  33. ## Quick Start
  34. Get started in minutes:
  35. 1. **Download the skills and rules** from our [releases page](https://github.com/cosai-oasis/project-codeguard/releases)
  36. 2. **Copy to your project** - Place AI agent and IDE specific skills and rules in your repository
  37. 3. **Start coding** - AI assistants will automatically follow security best practices
  38. - Additional details in the [Get Started →](https://project-codeguard.org/getting-started/)
  39. ## CodeGuard MCP Server
  40. This repository also includes an [MCP](https://modelcontextprotocol.io/) server that exposes all CodeGuard security rules as tools over streamable HTTP. Organizations can deploy it on their infrastructure and connect every developer's AI coding assistant to a single, centrally managed instance. See the [CodeGuard MCP Server README](src/codeguard-mcp/README.md) for setup instructions.
  41. ## How It Works
  42. 1. **Security skills and rules** are written in unified markdown format (`sources/` directory)
  43. 2. **Conversion tools** translate skills and rules into formats for popular coding agents
  44. 3. **Release automation** packages skills and rules into downloadable ZIP files
  45. 4. **AI assistants** reference these skills and rules when generating or reviewing code
  46. 5. **Secure code** is produced automatically without developer intervention

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.