code-guard-ai
CodeGuard AI — AI 合规与代码智能系统
用于在生产环境中审计、验证和治理 AI 生成代码的 AI 系统。
🚨 问题
AI 编写的代码比以往任何时候都多。
但是:
生成的代码引入了隐藏的安全风险
合规性(GDPR、AI 法案)往往被忽视
团队缺乏可见性和控制力
错误的传播速度比传统的审查流程更快
Related MCP server: Iron Cannon
💡 解决方案:三通道保护
CodeGuard AI 使用统一架构分析并验证代码,适用于各种场景:
💻 IDE 扩展:在 VS Code 和 Cursor 中直接进行实时扫描和自动修复。
🤖 MCP 服务器:为您的 AI 代理(Claude、Cursor)提供遵循标准所需的上下文。
🌐 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_KEYSCODEGUARD_LICENSE_KEYOPENAI_API_KEY(可选)
🛠 技术栈
核心:TypeScript / Node.js
智能:多提供商 LLM(GPT-4o、Claude、MiniMax 2.7)
协议:模型上下文协议 (MCP)
平台:Vercel / Supabase
👥 适用对象
使用 AI 生成代码的工程团队
在 GDPR / AI 法案下运营的公司
集成基于 LLM 开发工作流的平台
🔥 定位
不是 linter。不是扫描器。 这是一个治理 AI 生成代码的系统。
This server cannot be deployed
Maintenance
Related MCP Connectors
The compliance specialist your AI calls: ISO 27001, SOC 2, GDPR, NIS 2, DORA and more.
Threat modeling, code/cloud/pipeline scanning, shadow-AI discovery, compliance checks and fixes.
Run deterministic SaaS contract redlining, GDPR Art. 28 DPA & EU AI Act compliance audits.
Run deterministic SaaS contract redlining, GDPR Art. 28 DPA & EU AI Act compliance audits.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceLocal-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.74 PyPI1Apache 2.0
- AlicenseNot gradedqualityDmaintenanceAn 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.AGPL 3.0
- AlicenseNot gradedqualityDmaintenanceIntegrates 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.696 npm3MIT
- AlicenseNot gradedqualityCmaintenanceEnables 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