GenAI安全映射 是 AI Skill Hub 本期精选MCP工具之一。综合评分 7.5 分,整体质量较高。我们推荐使用将其纳入你的 AI 工具库,帮助提升工作效率。
GenAI安全映射 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
GenAI安全映射 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/emmanuelgjr/GenAI-Security-Crosswalk
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"genai----": {
"command": "npx",
"args": ["-y", "genai-security-crosswalk"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 GenAI安全映射 执行以下任务... Claude: [自动调用 GenAI安全映射 MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"genai____": {
"command": "npx",
"args": ["-y", "genai-security-crosswalk"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
<p align="center"> <a href="https://emmanuelgjr.github.io/GenAI-Security-Crosswalk/"> <img src="docs/banner.svg" alt="OWASP GenAI Security Crosswalk" width="100%"> </a> </p>
<p align="center"> <a href="https://creativecommons.org/licenses/by-sa/4.0/"><img src="https://img.shields.io/badge/License-CC%20BY--SA%204.0-lightgrey.svg" alt="License"></a> <a href="https://genai.owasp.org"><img src="https://img.shields.io/badge/OWASP-GenAI%20Data%20Security-blue" alt="OWASP"></a> <a href="CHANGELOG.md"><img src="https://img.shields.io/badge/version-3.1.0-green" alt="Version"></a> <a href="README.md"><img src="https://img.shields.io/badge/frameworks-25-orange" alt="Frameworks"></a> <a href="README.md"><img src="https://img.shields.io/badge/controls-1,514-blueviolet" alt="Controls"></a> <a href="README.md"><img src="https://img.shields.io/badge/mapping%20files-70-brightgreen" alt="Mapping Files"></a> <a href="https://www.npmjs.com/package/genai-security-crosswalk"><img src="https://img.shields.io/npm/v/genai-security-crosswalk?color=red&label=npm" alt="npm"></a> </p>
<p align="center"> <strong>The most comprehensive mapping of AI security risks to compliance frameworks.</strong><br> 25 frameworks · 1,514 controls · 41 entries · 3,351 mappings · 125 incidents · ML classifier pipeline </p>
<p align="center"> <a href="https://emmanuelgjr.github.io/GenAI-Security-Crosswalk/"><b>Live Web App</b></a> · <a href="https://emmanuelgjr.github.io/GenAI-Security-Crosswalk/#/score"><b>Score Coverage</b></a> · <a href="https://emmanuelgjr.github.io/GenAI-Security-Crosswalk/#/gaps"><b>Gap Analysis</b></a> · <a href="https://emmanuelgjr.github.io/GenAI-Security-Crosswalk/#/explorer"><b>Explore Entries</b></a> · <a href="https://emmanuelgjr.github.io/GenAI-Security-Crosswalk/#/incidents"><b>Incidents</b></a> </p>
Created and led by Emmanuel Guilherme Junior — OWASP GenAI Data Security Initiative Lead.
---
The classifier/ directory contains a research-grade retrieval pipeline for automated framework-to-OWASP mapping:
cd classifier/
pip install -r requirements.txt
python -m classifier.index_builder # build FAISS index (1,514 controls, ~7s)
python -m classifier.classify --source LLM01 --top-k 10 # bi-encoder retrieval
python -m classifier.classify --source LLM01 --top-k 10 --rerank # + cross-encoder reranker
python -m classifier.eval_harness --rerank # full eval with bootstrap CIs
python -m classifier.contamination_probe # generalization probe
python -m classifier.finetune # domain fine-tune BGE on calibration data
python -m classifier.finetune --eval-only # evaluate baseline without training
Results (P@1 = 0.585): The classifier correctly identifies the top control for 58.5% of queries across 25 frameworks. See PREREGISTRATION.md for hypotheses and EVAL_REPORT.md for full results with bootstrap confidence intervals.
---
node scripts/compliance-report.js --framework "EU AI Act" --format oscal
npm install genai-security-crosswalk
import { getEntry, getFramework, searchEntries, incidents } from 'genai-security-crosswalk';
const llm01 = getEntry('LLM01'); // typed Entry object
const euai = getFramework('EU AI Act'); // { framework, entries, controls }
const hits = searchEntries('injection'); // Entry[]
const incs = incidents; // 50 Incident[] with MAESTRO layers
Full TypeScript types included for all data structures.
---
全面开源MCP工具,映射OWASP GenAI风险
该工具使用 NOASSERTION 协议,商用场景请仔细阅读协议条款,必要时咨询法律意见。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
📄 NOASSERTION — 请查阅原始协议条款了解具体使用限制。
经综合评估,GenAI安全映射 在MCP工具赛道中表现稳健,质量良好。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | GenAI-Security-Crosswalk |
| 原始描述 | 开源MCP工具:The most comprehensive open-source mapping of OWASP GenAI risks to industry fram。⭐6 · JavaScript |
| Topics | ai-securitycompliancejavascript |
| GitHub | https://github.com/emmanuelgjr/GenAI-Security-Crosswalk |
| License | NOASSERTION |
| 语言 | JavaScript |
收录时间:2026-05-30 · 更新时间:2026-06-02 · License:NOASSERTION · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端