cosai-oasis/project-codeguard

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.

What it solves

Project CodeGuard addresses the risk of AI coding agents introducing security vulnerabilities—such as hardcoded secrets, weak cryptography, or missing input validation—into software by embedding secure-by-default practices directly into the AI's generation and review workflows.

How it works

It provides a model-agnostic framework of security skills and rules written in a unified markdown format. These are translated into formats compatible with popular coding agents (like Cursor, GitHub Copilot, and Claude Code) and can be integrated into the planning, generation, and review phases of the coding lifecycle. Additionally, it includes an MCP server that allows organizations to centrally manage and stream these security rules to developers' AI assistants via HTTP.

Who it’s for

Software engineers and organizations using AI coding agents who want to ensure their generated code adheres to industry security standards without requiring manual intervention from the developer.

Highlights

  • Broad Security Coverage: Covers domains including cryptography, input validation, authentication, authorization, supply chain, cloud, platform, and data protection.
  • Model Agnostic: Works across various AI coding assistants and IDEs.
  • Centrally Managed: Offers an MCP server for organization-wide deployment of security rules.
  • Lifecycle Integration: Supports security steering during the design, generation, and review phases.

Related

  • Project
  • Project
  • Project
  • Project
  • Project