
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 分