Skip to content

RepoBeagle v1.188.0

Choose a tag to compare

@javierbits javierbits released this 26 Nov 10:23
· 1 commit to main since this release
v1.188.0

Provenance signals in trust findings: signatures, association, release immutability, fork drift.

Highlights

  • Trust findings now also answer "who vouched for this code?": default-branch commit signature (commit-unsigned, info — unsigned is the norm), committer association (commit-unassociated, low — the commit email is not linked to a GitHub account), latest-tag signature (tag-unsigned, info), latest-release immutability (release-immutable info / release-mutable low — a mutable release's tag/assets can be replaced), and fork drift (fork-drift low: "N commits ahead, M files changed vs upstream", or fork-synced info).
  • All provenance findings are LOW/INFO only and never make a repository RED on their own (asserted). Missing/partial API payloads are silent; rate limits degrade to the existing note. A GitHub token raises the rate limit.
  • Fork comparison uses GitHub's compare API against the upstream repository, so it works even when the fork has not synced upstream refs locally.

Verification

  • PR #102: offline 1 m 47 s (504 assertions incl. the extended tests/test_trust.py), compare 7 m 51 s, packaging-macos 25 s, image-toolchain 1 m 7 s, gate / gate 10 s, upload×2 — green.
  • Acceptance (unit tests with mocked API payloads, no network in CI):
PASS provenance payloads parsed
PASS unsigned/unassociated/mutable/fork-drift signals
PASS provenance signals are LOW/INFO only
PASS provenance never turns a trusted repo RED
PASS signed/immutable/synced are info
PASS missing provenance data is silent
PASS an API failure yields a partial provenance, never an exception
PASS offline is graceful
  • Live smoke from the released image (network available for this host-side lookup; digest sha256:b7825ab4f6fe6ecc2c56e2b7d28016d819d0014717d7833404834c069d01b455, cosign verify VALID, stable identical):
trust_signals('https://github.com/psf/requests') ->
INFO trust-signals: repo 5764d old, 54765 stars, 10885 forks, 795 contributors, owner 2752d old
LOW  release-mutable: latest release v2.34.2 is not immutable: its tag or assets can be replaced

Upgrade

./install.sh, or repobeagle update; light mode pipx install ..

Notes

  • The trust lookup now makes a few more GitHub API calls per scan (branch HEAD, latest tag commit, latest release, and one compare when the repo is a fork); failures leave the signal absent.
  • Signature semantics are GitHub's (commit.verification.verified): a self-signed GPG key that GitHub does not recognise reads as unsigned, hence info.