Quickstart
Verify a receipt (no clone, no build)
Section titled “Verify a receipt (no clone, no build)”The checker is published on npm as a single self-contained package. It reads a bundle, re-hashes every file, and re-derives the verdict. It runs nothing else.
npx @exploitlens/verify ./path-to-bundleBundle valid: ./path-to-bundleExit code 0 means the bundle verifies. Exit code 1 means it does not, and
the reason is printed. If any file in the bundle has been altered, you get the
exact hash mismatch:
Bundle invalid: ./path-to-bundle - [hash] receipt.json: "receipt.json" hash mismatch: artifact-index.json records 0x7ab1..., computed 0x13f4... from the file on diskThat is the whole trust story: you do not have to believe whoever gave you the receipt. See Verifying a receipt.
Run your own case
Section titled “Run your own case”Running a case replays an exploit, which means running a repository’s Foundry tests. That needs the repository and Foundry, so it runs from a clone rather than a published package.
git clone https://github.com/solutiono1/exploitlenscd exploitlenspnpm install
# describe your casepnpm exploitlens init
# run it: replays both commits, writes a bundlepnpm exploitlens run path/to/exploitlens.manifest.json
# read the verdict, with a CI-friendly exit codepnpm exploitlens report exploitlens-runs/<run-id>See CLI for every command, Add your own case for the manifest, and GitHub Action to run it in CI.