
Gadriel AI Security Harness
io.github.Gadriel-ai由 GitHub 帳號 Gadriel-ai 發布v1.7.1更新於 Oct 29, 2026
AI Security Harness: SAST, secrets, deps, containers, config & OWASP LLM. Scans locally.
概覽
本機安全掃描 MCP 伺服器,讓助理對程式碼儲存庫執行 SAST、密鑰、相依套件、容器與設定掃描並檢視結果。
- 可以做什麼
- 對檔案或記憶體中的緩衝區執行安全掃描並回傳發現項目
- 依路徑查詢發現項目,並對指定項目套用修正
- 涵蓋靜態分析、硬編碼密鑰、相依套件(SCA/SBOM)、容器、設定以及 OWASP LLM 風險
- 可搭配儲存庫內的指示、提示詞與審查代理,形成掃描、修正與狀態查詢流程
- 適用情境
- 適合希望助理不必離開對話就能檢查剛產生的程式碼或既有儲存庫的安全問題,並逐項檢視與修正所回報問題的情境。
- 執行需求
- 透過 npx 以 stdio 在本機執行 gadriel npm 套件,需要 Node.js(或全域安裝)。僅限桌面端;未宣告需要帳號或 API 金鑰。首次執行會聯絡 app.gadriel.ai 進行匿名裝置註冊,除非將 GADRIEL_NO_ANONYMOUS_AUTH 設為 1。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Gadriel AI Security Harness,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Gadriel — AI Security Harness for GitHub Copilot
Security scanning for the code Copilot writes: SAST, secrets, dependencies (SCA/SBOM), containers and configuration, including AI-specific risks like prompt injection and the OWASP LLM Top 10 — 3,000+ rules, scanned on your machine. Gadriel plugs into Copilot as an MCP server plus repository instructions, prompts, and reviewer agents.
Product Overview · Documentation · MCP Tools Reference · SAST Benchmarks
Part of the Gadriel AI Security Harness, alongside VS Code, Claude Code, Codex, and Cursor.
Get it
Easiest — the VS Code extension. Install
Gadriel AI Security Harness
from the Marketplace. It registers the gadriel MCP server for Copilot
automatically and adds a Gadriel: Scan Repository command — no config to
edit.
Or add the MCP server yourself. The server is published to the
GitHub MCP Registry as
io.github.Gadriel-ai/gadriel, so it shows up in VS Code's MCP: Browse
Servers and Copilot Chat's @mcp search — add it in a click. To wire it
per-repo instead, drop this .vscode/mcp.json into your project (needs Node for
npx, or npm install -g gadriel):
Add the Copilot guidance (optional). Copy the .github/ directory into your
repo so Copilot knows how to use Gadriel:
Use
In Copilot Chat (agent mode), just ask: "Run a Gadriel security scan on this
repo and summarize the findings," or invoke a prompt like /gadriel-scan. The
gadriel MCP tools — validate_file, findings_for_path, fix_finding,
validate_buffer, and more — are available to Copilot directly.
Good to know
- No automatic edit guardrail here. Copilot/VS Code has no edit-time hook (Cursor and Codex do), so scanning runs on request via the MCP tools and prompts rather than blocking each edit.
- Enterprise: Copilot Business/Enterprise can allowlist the
gadrielMCP server through managed MCP policy. - Privacy: code is scanned locally and never uploaded. First run registers
an anonymous device credential with
app.gadriel.ai(a random device id — no hostname, username, or keys); setGADRIEL_NO_ANONYMOUS_AUTH=1to skip. See the privacy policy.
Maintainers
The registry listing is (re)published by .github/workflows/publish-mcp.yml
(GitHub OIDC — an org namespace can only be published from CI in a Gadriel-ai
repo). After a new gadriel npm release, bump server.json and the
.vscode/mcp.json pin, then re-run that workflow.
License
This repository is Apache-2.0. The gadriel scanner it runs is
proprietary, under the Gadriel terms.
來源:README.md,提交 fcdb0f6
工具
0版本歷史
4- v1.7.1最新Oct 29, 2026
- v1.7.0Oct 8, 2026
- v1.5.0Oct 1, 2026
- v1.4.1Sep 17, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分