BugProof
io.github.sidinsearch由 GitHub 账号 sidinsearch 发布v1.6.5更新于 Oct 24, 2026
Capture, replay, and debug failures with portable, executable bug artifacts
发布方自己的服务:Proof Holdings
概览
BugProof 把失败命令捕获为可移植的 .bug 制品并可重放,让助手复现、检查、对比和分享缺陷。
- 可以做什么
- 把失败命令捕获为 .bug 制品,或监视命令仅在失败时捕获
- 在沙箱中重放制品并给出自动判定,查看制品元数据,对比两次捕获
- 检查本机沙箱能力,列出或清理目录中的 .bug 制品
- 将制品分享为 GitHub Gist,并拉取他人分享的制品
- 通过资源 URI 读取制品原始内容,并提供捕获、重放分析、对比等内置提示词
- 适用场景
- 适合排查偶发失败的测试、仅在 CI 出现的失败或跨平台缺陷,让助手把确切命令、源码快照、环境和失败指纹打包,使他人能确定性地复现。
- 运行要求
- 以 npm 包(bugproof,通过 npx 或全局安装启动)在本地以 stdio 运行。需要 Node.js 18+ 和 Git;仅当被捕获命令用到时才需要相应语言工具链。分享或拉取制品需要具备 gist 权限的 GitHub 令牌(GITHUB_TOKEN 或 BUGPROOF_GITHUB_TOKEN)及网络访问。
安装
在 SourceWeft 中
- 打开 控制台中的 BugProof,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
BugProof
Executable bugs, not bug reports.
Capture a failing command into a portable .bug artifact that anyone can replay on their machine — same code, same env, same failure. Cryptographically signable. Cross-platform. Zero containers required.
https://github.com/user-attachments/assets/2315cfee-3ccf-40d7-830e-3a3d23731ab8
Why BugProof
"Works on my machine" is not a bug report.
Filing a backend or CLI bug today usually looks like this:
- A screenshot of a terminal
- A copy-pasted stack trace
- A list of probably relevant files
- A best-guess description of how the reporter ran the thing
Then the maintainer spends hours reconstructing the failure: matching versions, replicating the env, finding the right command, guessing at config. Most of that time is wasted.
BugProof captures the bug — not the description of it. One command produces a single .bug file containing the source snapshot, the exact command, the environment schema, the failure fingerprint, and replay metadata. Another developer runs bugproof replay bug.bug and reproduces the failure deterministically.
Think of it as Git for bugs: a portable, content-addressable, verifiable artifact that turns "can you reproduce?" into a one-liner.
Highlights
- One-command capture. Wrap any failing command with
bugproof capture --and ship the result. - Deterministic replay. Source, env, command, and fingerprint travel together. Verdict is automatic.
- No Docker. No daemon. Uses native OS primitives — Linux namespaces, Windows Job Objects, macOS Seatbelt.
- Cryptographic signatures. Ed25519 sign/verify built in. Tamper-evident artifacts via
bugproof keygen/--sign/verify. - Self-healing replay.
--self-healauto-installs missing npm/pip deps in the sandbox and retries. - Best-effort credential redaction. Env vars are scanned via pattern-matching + Shannon entropy. Known secret shapes (API keys, tokens, JWTs) are caught; low-entropy passwords and binary credentials may still leak.
- Multi-language. Detects Node.js, Python, Ruby, Go, Rust, Java, C/C++, .NET, Kotlin build context automatically.
- Cross-platform. Win ↔ Linux ↔ macOS replay, with command/env translation and architecture-mismatch guardrails.
Install
Requirements: Node.js 18+ and Git. Optional language toolchains (Python, Java, Go, Rust, …) are only needed if your captured command uses them.
Run a one-off health check after install:
GitHub Action — Capture CI Failures Automatically
Add a single step to any GitHub Actions workflow to auto-capture flaky/failing commands as .bug artifacts.
How it works: The action installs bugproof from npmjs.org (npm install -g bugproof) → wraps your command with bugproof capture → on failure, the .bug artifact is uploaded to the Actions run. Developers download and repro locally with bugproof replay.
Use cases:
- Flaky CI tests: Capture the exact failure for local debugging
- Cross-platform failures: A test passes on Linux CI but fails on macOS — capture the failure on both and diff
- Intermittent crashes:
bugproof capture -- node app.jsbundles the crash state, env, and source
All inputs:
The action lives at .github/actions/bugproof-action/action.yml in this repo. Reference it via uses: sidinsearch/BugProof/.github/actions/bugproof-action@main. BugProof is always installed from npmjs.org — no GitHub Packages token needed.
MCP Server — AI-Agent Integration
BugProof ships a built-in MCP (Model Context Protocol) server that exposes 10 tools plus Resources and Prompts for AI agents. Listed on the Official MCP Registry as io.github.sidinsearch/bugproof.
Setup
Claude Code
Add to ~/.claude/settings.json:
Cursor
Add to Cursor MCP config (Settings → Features → MCP):
Continue.dev
Add to ~/.continue/config.json:
With bugproof installed globally
If you already have bugproof globally (npm install -g bugproof), omit npx -y:
No separate MCP install needed. npx -y bugproof mcp auto-downloads from npmjs.org and starts the server over stdio.
Tools
Resources
AI agents can read .bug artifact contents directly via resource URIs:
bugproof://artifact/{path}— Read the raw .bug artifact (base64-encoded ZIP)
Prompts
Pre-built workflows for common AI agent tasks:
Example AI session
The MCP server communicates over stdio (JSON-RPC 2.0). It shells out to the local bugproof CLI with --json output and returns structured results with both human-readable summaries and raw data. If bugproof isn't installed, npx -y fetches it from npmjs.org — no global install required.
AI Agent Skill
BugProof ships a distributable AI Agent Skill that teaches AI coding agents (Claude Code, Cursor, OpenCode, OpenClaw, Gemini CLI, GitHub Copilot, and others) how to use BugProof effectively. The skill follows the open Agent Skills standard — build once, use across any compatible agent.
What the Skill Does
When loaded, the skill gives AI agents complete knowledge of:
- All 14 BugProof commands with flags and examples
- Capture, replay, diff, and inspection workflows
- Cross-platform replay patterns
- MCP server configuration
- Best practices for naming, security, and artifact management
- 8 real-world examples (Node.js, Python, Go, Java, CI/CD, cross-platform, flaky tests)
How AI Agents Use It
Agents auto-load the skill when users mention:
- "capture this bug"
- "replay the bug"
- "reproduce this failure"
- "share this bug"
- ".bug file"
- "works on my machine"
- "executable bug"
Or invoke directly: /bugproof
Install the Skill
Option 1: Clone This Repository
Option 2: Download the Skill Directly
Skill Structure
Supported AI Agents
The skill follows the open Agent Skills specification — any agent that supports the standard can use it.
60-Second Quick Start
Optional flow:
Commands
BugProof ships 14 commands. Every command supports --help and --json for machine-readable output.
bugproof capture [command...]
Run a command end-to-end and bundle the failure as <name>.bug.
Default behavior: Without -n, artifacts are named bug_<timestamp>.bug. With .bugproofrc nameTemplate configured, the template is used instead. Without -o, artifacts are saved in the current directory.
bugproof replay <artifact>
Re-execute the captured artifact and compare results.
Replay isolation: Replay always runs in an isolated temp directory. Files come from either: (1) git worktree/clone at the captured commit, (2) current directory's git repo (if original path is inaccessible), or (3) the artifact's bundled files/ snapshot. The current directory is never read for source files.
bugproof keygen / verify — Cryptographic Provenance
Sign artifacts with Ed25519 (RFC 8032). Built on Node's native crypto — no external deps.
The signature covers a canonical hash of the manifest, the failure fingerprint, and the SHA-256 of every file in the bundle. Tampering with source, output, exit code, or metadata invalidates the signature.
Note: identity/PKI is intentionally out of scope. Trust is established by comparing the embedded public-key fingerprint against one you know (gist pinning, team wiki, key server, etc.).
bugproof watch [command...]
Transparent wrapper. Runs the command normally; only captures if it fails. Drop-in replacement for any command you'd otherwise hand-run.
bugproof inspect <artifact> / diff <a> <b>
bugproof share <artifact>
Publish an artifact as a GitHub Gist. Respects HTTPS_PROXY / HTTP_PROXY for corporate networks.
Requires GITHUB_TOKEN (or BUGPROOF_GITHUB_TOKEN) with gist scope.
bugproof init / prune / doctor
Configuration (.bugproofrc)
Generated by bugproof init. All fields are optional.
Smart Source Strategy
BugProof keeps artifacts small even on heavy codebases:
Git is strongly encouraged but not required.
Compiled Language Support
BugProof auto-detects compiled languages and bundles build artifacts automatically:
How it works: When BugProof detects a compiled language project (via pom.xml, go.mod, Cargo.toml, etc.) and finds compiled artifacts in standard build directories, it automatically includes them. No flag needed.
Use --include-compiled to force inclusion even when auto-detection misses something, or for edge cases.
Sandbox & Isolation Model
BugProof runs replayed commands in a layered sandbox — Docker-like isolation built on native OS primitives.
Three sandbox levels are exposed via --sandbox:
workspace(default) — minimal isolation, fast. Good for trusted artifacts.isolated— namespace + temp isolation. Recommended for untrusted artifacts.full— all layers including network deny + resource limits.
Caveat: On Windows,
isolatedandfullare best-effort hardening, not VM-grade containment. For artifacts from fully untrusted sources, replay inside a dedicated VM.
Environment Snapshot
Capture-time runtime versions are recorded and diffed on replay:
Tracked: Node.js, Python, Ruby, Go, Rust, Java, npm, pip, OS platform, architecture.
Cross-Platform Replay
The translation layer normalizes commands (python3 ↔ python, gradlew ↔ gradlew.bat, make ↔ mingw32-make, shell paths). Architecture mismatches (x64 ↔ arm64) trigger explicit warnings with Rosetta/translation advice.
Security Model
Use --skip-secrets only when you've audited the environment yourself.
File Association
Windows
Registered under HKCU\Software\Classes\.bug → BugProof.Artifact with open command node <package>/dist/cli.js replay "%1".
Linux
Registers MIME application/x-bugproof, a bugproof.desktop handler, and a user-level icon entry in ~/.local/share/icons/hicolor/.
macOS
Best-effort via the bundled script. Re-run manually if Finder association doesn't take:
Architecture
Contributing
PRs welcome. See CONTRIBUTING.md for guidelines, dev setup, and the test matrix expectations. Every PR runs the full tri-platform CI; please add tests for new behavior.
License
This project is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0).
Made with ❤️ by sidinsearch · Copyright © 2026 sidinsearch · AGPL-3.0 License
来源:README.md,提交 10228ef
工具
0版本历史
1- v1.6.5最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
其他 Proof 集成
Proof Holdings
holdings.proof官方发布者
Proof Holdings MCP 服务器让助手发起并管理身份与控制权验证(手机、邮箱、域名、钱包),管理证明令牌与委托,并进行校验。

Proof of Work
由 GitHub 账号 kivtxs 发布
让助手阅读 Proof of Work 的规则、检查本机是否已有账户,并创建代理账户以发布、投票和支持带证据的主张。

QuietProof
由 GitHub 账号 frankjie3-create 发布
QuietProof 提供免费发现工具,用于浏览一组确定性、只读的审计服务,这些审计按次以 Base 上的 USDC 通过 x402 付费。
SCRIPTMASTERLABS — 402Proof
com.scriptmasterlabs
远程 MCP 端点,用于在 XRPL 上以 RLUSD 创建、验证和评分发票,并对结算进行自证。

ZKStamp Proof-100
由 GitHub 账号 ZKStamp 发布
远程 MCP 服务器,把 SHA-256 指纹以屏蔽交易写入 BitcoinZ 区块链,生成带日期的存在性证明时间戳。