AD

arthurpanhku/dvalincode

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

121 stars 14 forks 质量 76 趋势 20MIT

arthurpanhku/dvalincode 是从 https://github.com/arthurpanhku/dvalincode. 导入的 MCP 服务器候选

概览

arthurpanhku/dvalincode 是从 https://github.com/arthurpanhku/dvalincode. 导入的 MCP 服务器候选

概述(AI 翻译)

英语 ·中文 ·🌐 dvalincode.dev

开放安全工程,适用于由人类和人工智能代理编写的代码。 每一次修复都有其独特的证据。

当代理修复安全发现时,必须有人决定是否修复该问题 成功了。几乎所有工具都会询问写它的模型——就是那个模型 模型无法回答与自身利益相悖的问题。

德瓦林决定,把证据交给你。 它重新扫描,运行你的 项目自身测试自己,读取它启动进程的退出代码。 是谁写了修复的——我们的代理人,Claude Code,Codex,Copilot,一个人—— 记录下来,从未被查阅。结果是验证修复记录:一个小的 JSON文件,任何人都可以离线重新检查,在没有网络且没有网络的笔记本上 德瓦林州。

那份记录故意写得很狭义:这些发现已经消失,且 这些检查被观察到通过了。 这并不是说你的代码是安全的, 德瓦林不会让它被当作一本——每条记录都包含扫描的内容 实际上是有保障的,而且维修没有任何检查能确认是否通过。 开放档案→

修复是一种变化,而变化既可以增加也可以移除。所以唱片也一样

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

English · 中文 · dvalincode.dev

Scanners find. Agents fix. Dvalin decides whether the fix is real.

The open-source, vendor-neutral referee for security fixes.Every verdict is reached on your machine, and stays there.

Your coding agent says it fixed the vulnerability. Dvalin checks. It re-scans with the scanners your CI gate already runs, runs your project’s own tests itself, and reads the exit codes. No model has a say in the verdict, least of all the one that wrote the fix. You get a Verified Fix Record: a small JSON file anyone can re-check offline.

npx dvalincode security scan .    # 30 seconds: no install, no account, no API key

The loop it ends

A scanner blocks your pull request. You hand the finding to a coding agent. Its patch goes back to CI, and the scanner blocks it again: the finding is still there, the patch added a new one, or the agent silenced the scanner instead of fixing the code. Someone relays scanner output and rebases by hand, round after round.

Dvalin takes the referee’s seat in that loop. It tells the fixer exactly what is still wrong, judges every round with the yardstick CI uses, and stops only when the fix holds up.

Where Dvalin sits

Finds issues Writes the fix Decides the fix is real
Scanners: Semgrep, Snyk, CodeQL, Trivy, OSV-Scanner ✓
Coding agents: Claude Code, Codex, Cursor, Copilot, or a person ✓
Security agents from model vendors: Codex Security, Claude Security ✓ ✓ inside their product
Dvalin runs your scanners hands the work to your agent ✓ in the open, on your machine

Dvalin is not another scanner and not another coding agent. It is the referee between them, and its verdict is the same whichever agent wrote the fix. Built-in rules make the first scan work with nothing installed, and a built-in agent that ships with Dvalin’s security skills can act as the fixer; both are optional.

Security agents from model vendors find, fix and validate inside one product, built on that vendor’s models and API. Dvalin can import their findings and judge their fixes like anyone else’s. Its own verdict differs in three ways:

在 GitHub 查看完整 README

安装

npx dvalincode security scan . # 30 seconds: no install, no account, no API key
新手?先看 mcpskill.org 教程 →