DvalinCode

Independent security verification for fixes written by humans and AI agents: scan, repair, then prove it with an offline re-derivable Verified Fix Record.

Stars
★ 121
Last updated
today
FARS reviewed
Nov 23, 2026
License
MIT
Primary language
TypeScript

At a glance

How it runs
CLIMCP serverAgent plugin / skill
Works with
Universal · cross-platformCodex · Claude Code
Cost
Free, no paid service needed
Setup effort
Low · running in minutes
You'll need
Node.js/npm (npx)Shell / CLINetwork accessLocal filesystemMCP Server
Typical use
Teams running more than one agent or scanner who want a single verdict across all fixers.
Not a fit if
  • Teams that just want a coding agent: use Claude Code or Codex and connect Dvalin to it.
  • Users seeking the widest vulnerability discovery: a dedicated scanner or AI security agent fits better.
Website
dvalincode.dev ↗ set on GitHub
Maintenance
Commits in the last 30 dayslast commit 2026-11-23
Source review
71/100 · Some gaps

What does this agent do, and when should you use it?

DvalinCode (repo arthurpanhku/dvalincode, MIT-licensed) is an open-source, vendor-neutral referee that decides whether a security fix proposed by a coding agent is real. It re-runs the scanners your CI gate already uses (Semgrep, Snyk, CodeQL, Trivy, OSV-Scanner), executes your project's own tests itself, and reads exit codes — no model has a say in the verdict. The output is a small JSON Verified Fix Record that anyone can re-derive offline (dvalin verify-fix fix-record.json). It ships in the dvalincode package as a CLI, an MCP server, a GitHub Action, and a desktop app; scans, checks, the fix record and a hash-chained audit log all stay in your repository and ~/.dvalincode/, sending no code anywhere by default. Built-in rules make the first scan work with nothing installed, and a built-in agent can act as the fixer, but both are optional.

Dvalin sits in the fix loop as a referee: it runs your chosen scanners to produce findings (SARIF), hands what is still wrong to the fixer — a coding agent (Claude Code, Codex, Cursor, Copilot), the built-in agent, or a person — and each round re-scans and runs your project's checks (e.g. npm run test) with the same yardstick as CI, reading real exit codes. It stops goalpost-moving: newly added ignores (.snyk, noequals, nosemgrep, nosec) don't count when the change is judged; in CI the checks and scanners come from the base commit so a PR can't relax its own rules; moving a sink (eval → new Function), deleting the vulnerable file, deleting tests, or removing assertions all fail. For code findings, a test must fail on unfixed code and pass after the fix, unchanged. It produces a Verified Fix Record annotated with coverage (complete/partial/unknown); agents fetch it via the MCP call dvalin_verify_findings. Key commands: npx dvalincode security scan ., npx dvalincode agents connect, dvalincode dvalin . --until-clean --max-rounds 3 --executor codex, and in CI the arthurpanhku/[email protected] GitHub Action with fail-on: high, diff: true and optional reverify: true.

  1. Teams running more than one agent or scanner who want a single verdict across all fixers.
  2. Organizations that must show an auditor a repair worked, with evidence re-derivable offline.
  3. Engineers stuck in the scanner-blocks-PR loop where agent patches keep getting rejected in CI, wanting the loop to converge on a real fix.
  4. Security leads who need the verdict to be open, independent of any AI vendor, and to stay on their own machines.
  5. Users who want a security-gate skill for Claude Code or Codex so the agent must pass verification after security-sensitive edits.
  6. Repository maintainers gating only what a PR adds in CI (diff: true, fail-on: high).

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • npx dvalincode security scan . # 30 seconds: no install, no account, no API key
  • curl -fsSL https://raw.githubusercontent.com/arthurpanhku/dvalincode/main/scripts/install.sh | bash
  • npx dvalincode security scan
  • npx dvalincode agents connect # preview what each agent would get
Config files
fix-record.json
Install notes cover
Windows · macOS · Linux

How do you install or deploy this agent?

Try it with no install (Node.js/npm environment):

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

Full CLI install (macOS · Linux · Windows):

curl -fsSL https://raw.githubusercontent.com/arthurpanhku/dvalincode/main/scripts/install.sh | bash

Homebrew, Windows and manual downloads are in docs/cli.md. A desktop app (macOS · Windows) is also available. No account or API key is required; the verdict needs no cloud by default.

How do you use this agent?

Try it in the terminal:

npx dvalincode security scan .

Connect it as an MCP server to the agents on your machine (Claude Code, Codex, Cursor, VS Code, Gemini CLI, OpenCode):

npx dvalincode agents connect         # preview what each agent would get
npx dvalincode agents connect --yes   # apply it

After writing a repair, the agent calls dvalin_verify_findings and gets a Verified Fix Record. Claude Code and Codex can also load Dvalin's security-gate skill. Gate every pull request in CI:

- uses: arthurpanhku/[email protected]
  with:
    fail-on: high
    diff: true    # gate only what this pull request adds

Let Dvalin drive the fixer in the terminal until the gate would pass:

dvalincode dvalin . --until-clean --max-rounds 3 --executor codex

Re-derive a fix record offline:

dvalin verify-fix fix-record.json

Note: engines that upload source, such as Snyk Code, run only when you name them explicitly.

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

External MCP tool bridge

Inherits capabilities of connected MCP servers; audit third-party servers before enabling.

FARS trust-control audit

Verified present in source (3/3)
  • data-flow disclosure

What are this agent's strengths and limitations?

Pros
  • No model in the verdict: it decides only from exit codes of processes it started and a re-scan by your CI's scanners, so the verdict is identical whichever agent wrote the fix.
  • The Verified Fix Record re-derives offline with no workspace and no network — audit evidence that travels.
  • Vendor-neutral: any agent, scanner, model provider, or none; the verdict needs no account, API key or vendor cloud.
  • Concrete anti-evasion mechanics: added suppressions don't count, CI rules are locked to the base commit, sink-swapping and test deletion fail.
  • Multiple delivery forms: CLI, MCP server, GitHub Action (no API key) and a desktop app.
Limitations
  • It is not itself a vulnerability scanner or a coding agent — you must pair it with existing scanners and a fixer.
  • "Verified" is deliberately narrow: it proves findings disappeared and commands ran with specific exit codes, not that the code is safe.
  • Evasion checks match only known patterns; their limits are documented as honest gaps.
  • Windows code signing via SignPath Foundation is still pending approval and not confirmed.
  • Source-uploading engines (e.g. Snyk Code) don't run by default and must be named, which can limit coverage.

How does this agent compare with similar options?

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
DvalinCode This agent 71 · Some gaps CLIFree ★ 121 today TypeScript Codex · Claude Code
SEC-AF 52 · Major gaps CLIFree + model costs ★ 200 10d ago Go Codex · Claude Code
OpenQodex 67 · Some gaps CLIFree + model costs ★ 1.2k today TypeScript Codex · Claude Code
Cambium 60 · Some gaps CLIFree ★ 663 2mo ago Python Codex · Claude Code

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Some gaps
71/ 100 5-point scale 3.6 / 5
Trust 19/29
Reliability 9/14
Adaptability 15/18
Convention 13/18
Effectiveness 10/13
Verifiability 5/8
Why each dimension lost points
Trust19 / 29 · 3.3/5

least_privilege: the server binds 127.0.0.1 by default, mints a fresh random access token per launch, checks the token before the body parser on /api, validates Origin and token on WebSocket, and constrains workspace roots via resolveAllowedCwd — substantive evidence of least privilege; deducted because CORS is still enabled globally after the origin check and the token travels in the URL. user_confirmation: SKILL.md explicitly says model-using, file-editing commands like --fix --verify --draft-pr must be proposed rather than run unprompted, and scanner installs need explicit authorization; deducted because desktop auto-open and update checks lack in-code confirmation. data_flow_transparency: PRIVACY.md enumerates model, external scanner, Snyk, search, GitHub and update destinations and states local storage is not offline — thorough. sensitive_data_handling: privacy doc warns audit logs and workspace artifacts may contain sensitive data and must be protected, but no encryption or auto-purge is shown — deducted. dependency_security: CI pins all GitHub Actions by SHA with persist-credentials: false and declares CodeQL and Dependabot; deducted because package.json uses caret ranges and no lockfile evidence is in the packet. external_effects: scans are read-only by default, external engines are opt-in, publication stays explicit and never auto-merges; deducted because GUI update and WebView2 download side effects are documented only. rollback: a checkpoint rollback endpoint and executeRollback exist, but coverage is limited to checkpoints and the fix loop/publication lacks a general rollback story — thin. source_attribution: README credits contributors, cites OWASP NodeGoat and REFERENCES.md, and disclaims vendor affiliation; deducted because publisher identity is unverified.

Reliability9 / 14 · 3.2/5

self_consistency: README, SECURITY-RUNTIME and SKILL.md agree on MCP tool semantics (dvalin_scan read-only, dvalin_begin_verification the explicit state change, verify_findings runs project checks), and tests assert the same severity banding as the CLI; deducted because the README example pins v0.24.0 while package.json is 0.27.0. dependency_availability: the built-in scanner needs nothing installed, missing engines are reported not fatal, and Node >=20 is declared; deducted because external engine and network availability is only described in prose. failure_messages: src/index.ts distinguishes UsageError from runtime exit codes, and VS Code tests verify a missing CLI names the dvalin.command setting and non-JSON output yields a clear error; deducted for terse messages on a few paths such as server startup timeout.

Adaptability15 / 18 · 4.2/5

audience_and_scenarios: README states who it is and is not for and covers CLI, MCP, GitHub Action, GitLab, pre-commit and desktop scenarios — thorough. capability_boundaries: repeated honest statements that a passing scan is not proof of safety, the score is a triage heuristic, business-logic flaws are out of scope, and MCP verification is scan-only — clear boundaries. trigger_precision: the SKILL.md description names trigger conditions (input handling, auth, secrets, queries, commands, dependency changes), but two SKILL.md files share a name with different content, creating ambiguity — deducted. environment_fit: macOS/Linux/Windows and Node >=20 are declared, but the GUI depends on bun:ffi and webview-bun with limited cross-platform evidence — deducted.

Convention13 / 18 · 3.6/5

information_architecture: README is well structured and docs are split by CLI, GUI, spec, trust and strategy with complete links. install_notes: npx, a curl install script, Homebrew and desktop guidance are given, but curl | bash is offered without emphasized verification — deducted. naming_stability: dvalin and dvalincode coexist as commands and dvalincode security is a compatibility alias, so naming overlaps during migration — deducted. examples_and_faq: a real run, JSON output sample and GitHub Action snippet are present, but the FAQ is only referenced in docs/agent.md and not surfaced in the package — deducted. known_limitations: honest gaps in SECURITY-AGENT-STRATEGY, honest limits in SECURITY-RUNTIME and SKILL.md consistently disclose limits — thorough. license: a complete MIT LICENSE file matches the package.json declaration. versioning_changelog: docs/whats-new.md and a release badge are linked, but no CHANGELOG file ships in the package — deducted. maintenance_responsibility: SECURITY.md gives reporting channels and response targets, but publisher identity is unverified and the maintainer is a personal GitHub account — deducted.

Effectiveness10 / 13 · 3.8/5

output_usability: the Verified Fix Record is a small JSON re-derivable offline with verify-fix, and the sample output clearly shows executor, targets, coverage and check exit codes — high usability. marginal_value: it positions itself as referee between scanners and coding agents to answer whether a fix is real, but it depends on the user already having scanners and agents, so marginal value is limited for single-scanner teams — deducted. cost_benefit: npx gives a 30-second scan with no account or key at low cost, but the full verification loop needs configured checks and policy, so benefit scales with team size — deducted.

Verifiability5 / 8 · 3.1/5

claim_traceability: most README claims map to docs or code (token checks to src/server/index.ts, exit codes to src/index.ts), but the real-run GIF and score numbers cannot be re-checked in a static review — deducted. cross_source_corroboration: README, SECURITY-RUNTIME, SKILL.md and tests corroborate MCP tool semantics and severity banding, though version numbers and some claims diverge — deducted. fact_inference_separation: docs distinguish shipped from planned (e.g. untested changed lines: planned, Windows signing unconfirmed) honestly, but some roadmap items are marked shipped without corresponding code evidence in the packet — deducted.

Risks and how to mitigate them
  • Publisher identity is unverified; maintenance responsibility and update path point only to a personal GitHub account, so verify before enterprise adoption.
  • The README example pins v0.24.0 while package.json is 0.27.0, an inconsistent version reference that could mislead installation.
  • The curl | bash install path is offered without emphasized verification; prefer a package manager or check the script hash.
  • Two SKILL.md files share a name but differ in content, creating trigger ambiguity; confirm which one an agent loads.
  • package.json uses caret ranges and no lockfile is visible in the packet, so supply-chain risk should be re-checked at install time.
  • Desktop auto-open, update checks and WebView2 download are documented only, with no code-level confirmation shown.
Evidence confidence: Low Reviewed Nov 23, 2026 Reviewed revision 76583ce1e229
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/dvalincode.svg)](https://followagents.com/en/agents/dvalincode)
<a href="https://followagents.com/en/agents/dvalincode"><img src="https://followagents.com/badge/dvalincode.svg" alt="FARS review"></a>

FAQ

Is DvalinCode free?
Yes. DvalinCode is free to use and does not need a paid service.
Is DvalinCode open source?
Yes. The source code is on GitHub (arthurpanhku/dvalincode) under the MIT licence.
Is DvalinCode safe to use?
FollowAgents' FARS review (Nov 23, 2026) scored DvalinCode 19/29 on trust and safety. None of the eight safety controls the review checks for was missing outright.
Is DvalinCode still maintained?
Yes. The latest commit on GitHub is from 2026-11-23, within the last 30 days.
Who makes DvalinCode?
DvalinCode is published on GitHub by the account arthurpanhku. FollowAgents has not verified which person or company is behind that account.
What is DvalinCode's official website?
The project's GitHub repository lists https://dvalincode.dev as its website. That link is set by the repository owner; the source code itself is on GitHub (arthurpanhku/dvalincode).
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts