Capture a failing command into a portable .bug artifact anyone can replay on their machine — same code, same env, same failure.
// the problem
Filing a backend or CLI bug today is screenshots, copy-pasted stack traces, probably-relevant files, and a best-guess description of how the reporter ran the thing.
Then the maintainer spends hours reconstructing the failure — matching versions, replicating env, guessing at config. Most of that time is wasted.
// the fix
One command produces a single .bug file containing the source snapshot, exact command, env schema, failure fingerprint, and replay metadata.
Another developer runs bugproof replay bug.bug and reproduces the failure deterministically.
// features
Content-addressable, signable, replayable. Built on native OS primitives so you don't need Docker, a daemon, or root.
Wrap any failing command with `bugproof capture --` and ship the result as a single portable file.
Source, env schema, command, and failure fingerprint travel together. Verdict is automatic.
Native OS primitives — Linux namespaces, Windows Job Objects, macOS Seatbelt.
Ed25519 sign/verify built in. Tamper-evident artifacts via keygen, --sign, and verify.
--self-heal auto-installs missing npm/pip deps in the sandbox and retries until it can run.
Pattern-matching + Shannon entropy catch API keys, tokens, and JWTs before the artifact ships.
Auto-detects Node, Python, Ruby, Go, Rust, Java, C/C++, .NET, and Kotlin build context.
Win ↔ Linux ↔ macOS replay with command/env translation and arch-mismatch guardrails.
// workflow
Wraps your command. Snapshots source. Captures env. Redacts secrets. Writes a signed .bug file.
Send the artifact in a PR, an issue, a Slack DM, or a GitHub Gist. Single file, fully self-contained.
Anyone replays deterministically in an isolated sandbox. Same failure or automatic verdict.
// watch it work
// get started
Requires Node.js 18+ and Git. Language toolchains only when your command needs them.
$npm install -g bugproof$bugproof doctor# ✓ sandbox ready · ✓ git found · ✓ signing keys ok
$bugproof capture -- npm test$bugproof replay bug_2025.bug --self-heal$bugproof verify bug_2025.bug --pubkey alice.pub
Auto-capture flaky CI failures. Download the .bug from the run, replay locally.
- uses: sidinsearch/BugProof/.github/actions/bugproof-action@main
with:
command: 'npm test -- --run flaky-suite'
name: flaky-test-failureBuilt-in MCP server. Drop into Claude Code, Cursor, or Continue.dev.
{
"mcpServers": {
"bugproof": {
"command": "npx",
"args": ["-y", "bugproof", "mcp"]
}
}
}// ship it
Open source, AGPL-3.0. Works on Linux, macOS, and Windows. Built with native OS primitives — no containers, no daemons, no excuses.