与开源 Agent 项目建立深度合作,构建 Agent 安全生态网络
AIShield = Agent 安全连接器
├── 上游:Agent 框架(CrewAI, LangChain, AutoGen) → 需要 AIShield 保护他们的 Agent
├── 中游:MCP Server(10,000+) → 需要 AIShield 扫描验证
└── 下游:Agent 市场/目录(mcp-marketplace, Smithery) → 需要 AIShield 提供信任评分
为什么这个逻辑成立:
目标: 让任何 MCP 客户端都能直接调用 AIShield
已实现:
POST /api/v1/mcp — StreamableHTTP MCP 端点推广:
目标项目: AI-Agent-Hub/mcp-marketplace Stars: 新兴项目,索引 5000+ MCP Server 合作方式:
GET /api/v1/badge/{server_name} 返回 SVG badgePR 方案:
在 mcp-marketplace 的 MCP Server 详情页添加:
[](https://aishield.tools/tool/profile?name={server_name})
目标项目: msoedov/agentic_security Stars: 1,899 合作方式:
目标: CrewAI (38.8k stars) 合作方式: 开发 crewai-tools-aishield 包
# crewai_tools_aishield.py
from crewai.tools import BaseTool
from aishield import scan_tool
class AIShieldSecurityTool(BaseTool):
name: str = "aishield_security_scan"
description: str = "Scan an MCP tool for security risks before execution"
def _run(self, tool_name: str, tool_description: str) -> str:
result = scan_tool(tool_name, tool_description)
return f"Security Score: {result['score']}/100, Risk: {result['risk_level']}"
价值: CrewAI Agent 在执行任何工具前可以先调用安全检查
目标: OpenAI Agents SDK (15.2k stars, 原生 MCP 支持) 合作方式: AIShield 已是 MCP Server,任何使用 OpenAI Agents SDK 的项目都可以直接集成
# 在 OpenAI Agents SDK 配置中添加
mcp_servers = {
"aishield": {
"url": "https://aishield.tools/api/v1/mcp",
"type": "streamable-http"
}
}
目标: LangChain (117k stars) 合作方式: 开发 langchain-aishield 包
from langchain_aishield import AIShieldCallback
# 在 Agent 执行链中注入安全检查
callbacks=[AIShieldCallback(api_key="...")]
目标: SuperAGI(生产级 AutoGPT) 合作方式: 利用其原生 Plugin 系统开发安全扫描插件
security_verification 字段security_badge 字段| 项目 | Stars | MCP | 安全缺口 | 插件机制 | 接受PR概率 | 优先级 |
|---|---|---|---|---|---|---|
| mcp-marketplace | 新 | 是 | 完全缺失 | API | 高 | P0 |
| agentic_security | 1.9k | 是 | 互补 | MCP | 高 | P0 |
| CrewAI | 38.8k | 是 | 无 | Tools Registry | 高 | P1 |
| OpenAI Agents SDK | 15.2k | 原生 | 无 | Tool | 中 | P1 |
| LangChain | 117k | 是 | 仅 Guardrails | Callback | 中 | P1 |
| SuperAGI | 高 | 部分 | 无 | Plugin | 极高 | P1 |
| Smolagents | 23.2k | 是 | 无 | Toolkit | 中高 | P2 |
| n8n | 65k+ | 否 | 无 | 节点 | 中 | P2 |
| Dify | 60k+ | 部分 | 无 | 插件市场 | 中 | P2 |
每个合作项目都会产生反馈循环:
合作方用户使用 AIShield 扫描
↓
发现新的安全风险 / 误报 / 漏报
↓
在 GitHub Issue 报告(或合作方 Issue 交叉引用)
↓
AIShield 团队修复 / 新增规则
↓
新版本自动部署(CI/CD)
↓
合作方用户受益 → 更多使用 → 更多反馈
[WIP] Add AIShield security scanning integration
Hi {maintainer_name},
I'm building AIShield, an open-source AI Agent security scanner aligned with OWASP MCP Top 10 (238 rules, MIT license, zero dependencies).
I noticed {project_name} doesn't have built-in security scanning for {specific_gap}. I'd like to propose an integration that:
1. {具体的集成方案}
2. {对用户的价值}
3. {对项目的价值}
The integration is lightweight (pure stdlib, no new dependencies) and provides:
- {feature 1}
- {feature 2}
Would you be open to this? Happy to adjust the approach based on your preferences.
Links:
- Repo: https://github.com/lm203688/aishield
- Demo: https://aishield.tools
- MCP endpoint: https://aishield.tools/api/v1/mcp