Skip to main content
Glama

CodeGuard AI — AI 合规与代码智能系统

https://code-guard.eu

用于在生产环境中审计、验证和治理 AI 生成代码的 AI 系统。


🚨 问题

AI 编写的代码比以往任何时候都多。

但是:

  • 生成的代码引入了隐藏的安全风险

  • 合规性(GDPR、AI 法案)往往被忽视

  • 团队缺乏可见性和控制力

  • 错误的传播速度比传统的审查流程更快


Related MCP server: Iron Cannon

💡 解决方案:三通道保护

CodeGuard AI 使用统一架构分析并验证代码,适用于各种场景:

  1. 💻 IDE 扩展:在 VS Code 和 Cursor 中直接进行实时扫描和自动修复。

  2. 🤖 MCP 服务器:为您的 AI 代理(Claude、Cursor)提供遵循标准所需的上下文。

  3. 🌐 REST API 和 CLI:在您的 CI/CD 流水线(Vercel、GitHub Actions)中实现合规自动化。


⚙️ 核心能力

  • 🔍 检测漏洞和不安全模式

  • 🛡 验证合规性(GDPR、AI 法案、安全标准)

  • 🧠 在部署前审计 AI 生成的代码

  • 📊 提供结构化、可操作的反馈

  • 🔄 使用基于差异(diff)的审计分析代码变更


🌐 REST API

CodeGuard 提供安全的 REST API,用于将合规扫描集成到您的应用程序和工作流中。

快速开始

# 1. Set environment variables
export CODEGUARD_API_KEYS="your-api-key-1,your-api-key-2"
export TRANSPORT_MODE=sse

# 2. Start the API server
npm run start:mcp

# 3. Test the API
curl -X POST http://localhost:3000/api/scan \
  -H "x-api-key: your-api-key-1" \
  -H "Content-Type: application/json" \
  -d '{"region": "BR", "frameworks": ["gdpr", "lgpd"]}'

🚀 部署到 Vercel

在几分钟内将您的 CodeGuard API 部署到生产环境:

npm run vercel:deploy

必需的环境变量:

  • CODEGUARD_API_KEYS

  • CODEGUARD_LICENSE_KEY

  • OPENAI_API_KEY(可选)


🛠 技术栈

  • 核心:TypeScript / Node.js

  • 智能:多提供商 LLM(GPT-4o、Claude、MiniMax 2.7)

  • 协议:模型上下文协议 (MCP)

  • 平台:Vercel / Supabase


👥 适用对象

  • 使用 AI 生成代码的工程团队

  • 在 GDPR / AI 法案下运营的公司

  • 集成基于 LLM 开发工作流的平台


🔥 定位

不是 linter。不是扫描器。 这是一个治理 AI 生成代码的系统。

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    B
    maintenance
    Local-first AI compliance scanner via Model Context Protocol, scanning codebases for violations of DPDPA 2023, RBI FREE-AI, SEBI AI/ML, and the EU AI Act.
    1
    Apache 2.0
  • F
    license
    Not graded
    quality
    D
    maintenance
    An MCP-powered compliance copilot for SaaS stacks, enabling structured audit workflows including stack detection, module wiremapping, implementation directives, code verification, and security/infrastructure/legal readiness gates.
    -
  • A
    license
    Not graded
    quality
    B
    maintenance
    Integrates authoritative security compliance frameworks (ISO 27001, NIST 800-53, OWASP ASVS, NIST SSDF) into AI-assisted development, offering control lookups, cross-framework mappings, build-time guardrails, and automated audit evidence generation.
    152 npm
    3
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables LLMs to perform automated compliance scanning of AWS infrastructure against PCI-DSS, CIS, and Well-Architected frameworks. It provides tools for scanning, remediation, and audit report generation.
    MIT