
Elliot
io.github.EmanueleCell4由 GitHub 账号 EmanueleCell4 发布v0.6.0更新于 Oct 25, 2026
Independent verifier for AI agents: checks agent claims and doc promises against the code.
概览
独立核验 AI 智能体的说法与 README 承诺是否与代码相符,并为每条结论附上可核查的证据报告。
- 可以做什么
- 执行仓库审计:固定提交、扫描文档中的高风险承诺、记录带结论的声明,并输出 HTML、Markdown 与 JSON 报告。
- 核验“已完成”说法:为工作区生成指纹、比对改动、在沙箱中运行测试命令,并确认网址、GitHub PR 或检查状态、npm 版本。
- 复核结论:把每条发现交给未参与审计的复核子智能体,由其确认、降级或撤回后才写入报告。
- 查看回执:汇总最近的检查记录,并校验 Ed25519 签名与回执摘要。
- 适用场景
- 适合在编码智能体宣称任务完成时,用可引用的证据核对它的说法以及 README 中的承诺。也适合希望在拉取请求上自动检查,或在本地留存智能体实际验证过什么的团队。
- 运行要求
- 以 npm 包形式通过 npx 在本地以 stdio 运行,或作为 Claude Code 插件安装。需要 Node 20 或更高版本、git,以及 Claude Code、Cursor 或 Codex 等受支持的智能体。可选环境变量包括用于私有仓库和更高速率限制的 GITHUB_TOKEN,以及 ELLIOT_DIR、ELLIOT_SIGNING_KEY、ELLIOT_REVIEW_TOKEN。可选的 GitHub Action 需要 Anthropic API 密钥。
安装
在 SourceWeft 中
- 打开 控制台中的 Elliot,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Independent verification for code written by AI agents.
Elliot checks what your agent claims, and what your README promises, against the code. Every finding comes with proof.
[MIT license] [elliot-mcp on Glama: A] [Listed on mcpservers.org] [Node 20+] [MCP server] [Works with Claude Code, Cursor and Codex]
Quick start · What it found · How it works · Commands · Configuration · FAQ
Quick start
In the repository you want to check:
Restart your agent, then type:
A minute or three later the report is in elliot-report/<date>-<commit>/ at the root of the repo: report.html, report.md and claims.json. There is nothing to open, no dashboard and no account.
Requirements: Node 20 or newer, git, and Claude Code, Cursor or Codex.
As a Claude Code plugin
Inside Claude Code:
The first command registers Elliot's plugin marketplace; the second installs Elliot. After installation, run /elliot:audit in your project. This is an opt-in local tool and does not automatically post reports or install itself in other repositories.
That adds the Elliot tools, a /elliot:audit command, and a skill that makes Claude verify its own "done" claims before reporting them.
On every pull request (GitHub Action)
Elliot reads the pull request description, checks each claim against the code ("fixes X", "adds tests for Y", "no behaviour change"), and comments with the proof. If an agent wrote the PR, this is where its "done" gets checked.
The comment looks like this:
It runs Claude Code with your API key. One check usually takes 1–2 minutes. Nothing is sent anywhere except Anthropic's API and GitHub.
mode: strict (shown above, available from v0.7.0) fails the check for findings, missing evidence, skipped audits and inconclusive results, so a merge can be blocked on it: add the job as a required status check in your branch protection rules. Drop mode to get the non-blocking report instead. A ready-to-copy workflow is in examples/workflows/elliot-strict.yml. Do not enable enforcement on forked PRs without reviewing credential exposure and runner isolation.
README badge
When every claim Elliot checks holds up, the report includes a badge you can paste into your README:
Why
Coding agents say "Done ✅" when the work isn't done. They delete failing tests, skip checks, describe security that doesn't exist, and write READMEs that promise what the code never does. CI stays green because tests check the code the agent wrote, not the promises the product makes.
I found this out the hard way. My own legal-tech app had a security page promising role-based access enforced in the database. The data layer bypassed it by design, and every permission check was a function that ignored its input. The agent had told me it was done.
The usual fix is to ask a second AI to review the first one. That gives you another opinion from the same kind of system that made the mistake. In the first automatic audit I ran, the agent doing the checking cited line numbers that don't exist in 4 of 17 submissions.
Elliot works the other way around: the agent proposes, Elliot verifies. Every quote must really be in the file, at that line, at that commit: the audit fingerprints the tree when it starts (tracked changes and untracked files included) and refuses evidence once anything changes, and symlinks that lead outside the repository are not evidence. Every "this doesn't exist" is searched by Elliot itself. A fresh reviewer then tries to prove each finding wrong before it reaches the report.
What it found
Elliot 0.3 ran unattended inside Claude Code on 9 popular open-source tools from the AI coding-agent ecosystem (October 2026). A separate reviewer that had not seen the audits then checked every finding against the code.
"Wrong" means a factual error: the code does not show what the finding says.
Some of what it caught:
- A tool whose README says "No Telemetry: no data collection or tracking" ships analytics that are on by default, with consent pre-set to "yes". (public issue)
- An app where logging in turns telemetry back on after the user switched it off, then identifies the user by email. (public issue)
- A security page that calls a script sandbox "read-only" while the code can give scripts file writes and MCP tools. Confirmed by the project's triage bot, with a docs fix sent upstream. (issue, PR)
- Docs saying an API key is stored encrypted while the code writes it as plain JSON.
- A popular agent tool that sends users' full AI prompts and responses to a third-party error tracker by default, under an option named "anonymousTelemetry". Reported privately to the maintainers; details will be published after a fix.
What it still misses: on the same 9 repos it found 6 of the 10 serious issues I had found by hand beforehand (a small, hand-picked set, so read it as a rough coverage figure, not a recall estimate). The most common miss is a missing authorization check (for example, a download endpoint that doesn't check who is asking). Elliot doesn't look for those yet; see the roadmap.
Benchmark: Claude with Elliot vs Claude alone
Eight widely used SDKs, 18 broken promises planted by flipping a value behind a documented default, two runs per condition, same model and instructions. A blind judge checked every finding that was not a planted bug.
Elliot raises about a third as many false alarms and finds slightly more planted bugs; Claude alone casts a wider net. When the two blind judges (Claude and Codex) disagreed, reading the code showed Codex had misstated the code 9 times: a second model is not a check unless something re-reads the source. Method, limits and all raw outputs: benchmark/planted-promises.
Benchmark: can anyone re-check what the agent says it verified?
56 real bug fixes (28 tasks, Opus and Haiku). Every fix was correct and no agent claimed "done" falsely. But in 19 of 56 runs (34%) the check the agent said it ran could not be re-run by anyone else: a deleted scratch script, a check described in prose, a path on the agent's own machine. The work was right; the evidence was gone. benchmark/done-claims
How it works
- Risk sweep (Elliot). Before the agent reads anything, Elliot scans the docs for risky promises (telemetry, privacy, encryption, access control, sandboxes, "never", "by default") and the code for signals that often contradict them: analytics SDKs, permission bypasses such as
--dangerously-skip-permissions, privileged database clients, secrets written to disk. The audit cannot finish until every one is addressed or skipped with a reason. - Read and propose (your agent). Your agent traces each claim into the code and proposes a verdict, quoting the docs and the code.
- Verify the proof (Elliot). Each quote is matched against the file at the pinned commit, within two lines of where the agent said it is. Each "absent" claim is searched by Elliot with
git grep. Citations that don't check out are rejected, and the agent has to fix them. - Materiality test. A FALSE or PARTIAL verdict must say what a user who trusts the docs would get wrong. Omissions, naming details and tiny delays become notes, not findings. Changelogs, roadmaps and internal developer docs are rejected as sources, because they are not promises to users.
- Independent review. A fresh subagent that never saw the audit tries to prove every finding wrong, and confirms, downgrades or retracts it. Elliot will not write the report until every finding has been reviewed.
- Report. HTML, Markdown and JSON in
elliot-report/, plus a tamper-evident receipt for every check in.elliot/receipts.jsonl.
If you wrote code in the same session, the protocol tells the agent to run the audit in a fresh subagent, so the auditor is not the author.
Example report
The full report is in examples/lex-ai-report.html. It was produced by an earlier version, before the independent review step existed.
Commands
Set-up: init
init is idempotent: running it twice changes nothing, and it never overwrites a command file you edited. It writes:
Audit a repo: /elliot-audit
Run it in your agent from the repository root. In Claude Code and Codex, anything you type after the command is passed to the agent as extra instructions, for example /elliot-audit focus on the security page.
Check a "done" claim
The same server also checks individual claims while the agent works. It ships instructions telling the agent to use them before it says "done".
These checks answer VERIFIED, NOT_VERIFIED or INCONCLUSIVE. Inconclusive means Elliot could not confirm, for example because of a GitHub rate limit. It never guesses.
All MCP tools
Verdicts in an audit
Manual installation
Use this if you'd rather not run init.
Claude Code
Codex (~/.codex/config.toml)
Cursor (.cursor/mcp.json) and any other MCP client
Then add the command yourself, or ask your agent to "run an Elliot claim audit of this repository". For agents that support skills, also add skills/elliot/SKILL.md.
Configuration
All settings are optional environment variables.
Network access and data
Elliot has no telemetry and no server of its own. What it touches:
- Audit (
/elliot-audit,/elliot:audit): reads files in the repository and runsgitlocally. It makes no network calls. verify_url: sends one GET request to the URL the agent passes in. Loopback, private-network and link-local addresses (including cloud metadata) are refused on every redirect hop unless you setELLIOT_ALLOW_PRIVATE_URLS=1; one 15-second deadline covers the whole request and the body stops at 2 MiB.verify_github: callsapi.github.com(orELLIOT_GITHUB_API). If a GitHub token is set (theGITHUB_TOKENenv var, or the plugin's optionalgithub_tokensetting), it is sent only to that API.verify_npm: callsregistry.npmjs.org(orELLIOT_NPM_REGISTRY).- GitHub Action: runs Claude Code in your CI with your
ANTHROPIC_API_KEY, reads the PR description and code, and posts one comment through the GitHub API. - On disk: receipts in
.elliot/(orELLIOT_DIR) and reports inelliot-report/, both inside your repository.
The Claude Code plugin runs the server bundled in this repository (node src/index.js). Claude Code installs its two npm dependencies from package-lock.json when you install the plugin.
Output
Add .elliot/ to .gitignore. Commit elliot-report/ if you want the report to live with the code.
A receipt looks like this:
The digest detects changes to a receipt. For third-party verification, configure a private key outside the repository:
Saved receipts then include the Ed25519 public key, its SHA-256 fingerprint, signer label and signature. A verifier checks the digest and signature with verify_attestation; valid is true only when a separately trusted public key is supplied and matches. Without that key, the verifier reports cryptographic validity while marking signer identity untrusted. The embedded key proves which key made the signature, not that the key belongs to a particular person or organization. Publish or distribute the trusted public key through a channel your verifiers already trust. Protect and back up the private key outside the repo. Receipts created without ELLIOT_SIGNING_KEY remain unsigned for compatibility.
Isolated review
For enforced reviewer separation, run Elliot twice with the same ELLIOT_DIR and a private ELLIOT_REVIEW_TOKEN (generate one with openssl rand -hex 32). The auditor process uses ELLIOT_ROLE=auditor; the independent reviewer process uses ELLIOT_ROLE=reviewer. The auditor server omits elliot_record_review; the reviewer server exposes only that tool. elliot_review_packet gives the reviewer the finding, checked quotes, impact and an audit-scoped capability, without repository access or the auditor's explanation. Elliot encrypts the capability in audit state, checks its hash and the reviewer server credential on submission, and rejects cross-audit reuse and duplicate decisions. Keep the shared ELLIOT_REVIEW_TOKEN in the two host configurations; only the single-audit capability travels in the review packet.
The host must give the reviewer only the packet and the reviewer MCP connection. The default unconfigured mode retains the original combined tool surface for existing MCP clients. Separate processes and tool permissions enforce the boundary; deployments where the auditor can read reviewer host configuration or impersonate its MCP connection do not provide a separate trust domain.
Functional outcome checks
Call verify_outcome with an executable and argument array, for example command: "npm", args: ["test"]. Elliot copies the working tree to a temporary directory, then runs the command in the OS sandbox (sandbox-exec on macOS or bwrap on Linux), with network access blocked and writes limited to the temporary copy. A zero exit code is VERIFIED; a failing check is NOT_VERIFIED. If the OS sandbox is unavailable, the result is INCONCLUSIVE and the command is not run. Dependencies already present in node_modules are copied into the temporary tree. No shell expansion is performed; pass flags as separate arguments.
FAQ
Isn't this just an LLM judging an LLM?
No. The agent proposes verdicts, but every piece of evidence is checked deterministically: quotes against files at a pinned commit, absences with Elliot's own git grep. A second agent that never saw the audit reviews every finding, and a retraction has to be backed by a code quote that Elliot also checks.
Does it send my code anywhere?
Elliot itself makes no network calls during an audit. It reads files and runs git locally. Your agent reads the code as it normally does, with the model you already use. The verify_url, verify_github and verify_npm checks call those services only when the agent uses them.
Does it change my code?
No. It writes only .elliot/ and elliot-report/, and init writes the config files listed above.
What does it cost? Nothing. Elliot is MIT-licensed and the audit runs on the agent and model you already pay for. An audit of a medium-sized repo took 1 to 3 minutes in our tests.
Can it audit private repos?
Yes. It runs where your code is. Only verify_github needs GITHUB_TOKEN for private repos.
Can I trust a PASS?
Treat a clean report as "nothing found among the claims checked", not as a certificate. The claim audit is a static reading of the code; it does not run your app (use verify_outcome for that). Authorization checks are covered only where sibling handlers check the caller and one does not; ownership checks are not covered yet.
I found a false positive.
Please open an issue with the report's claims.json entry. False positives are the number Elliot is built to keep at zero.
Roadmap
- File, URL, GitHub and npm checks with local receipts
-
/elliot-audit: claim audit with checked citations, report inelliot-report/ - Risk sweep, undisclosed behaviours, materiality test and independent review
- Authorization gaps: handlers that skip the auth check their sibling handlers perform
- Ownership checks: handlers that check the caller is logged in but not that they own the record
- Run functional outcome checks in an OS sandbox
- Hooks that run Elliot automatically when the agent stops (Claude Code, Codex)
- A GitHub Action that checks the claims in each pull request description
- Ed25519 signed receipts with offline verification
Development
The server is plain Node (ES modules) with two dependencies: the MCP SDK and zod. The main pieces:
Issues, false positives and stories of agents telling you they were done are very welcome.
License
MIT © 2026 Emanuele Cella
来源:README.md,提交 cfdab1d
工具
0版本历史
1- v0.6.0最新Oct 25, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分