Skip to content

RepoBeagle v1.201.1

Latest

Choose a tag to compare

@javierbits javierbits released this 29 Nov 16:35
v1.201.1
581e01e

Security release: five advisories fixed

v1.201.1 fixes five vulnerabilities reported privately by @joeynyc.
Each report was reproduced on the tree before the fix, and each fix ships with a regression test
that failed first and passes now.

Advisory Severity Fixed in
GHSA-5599-579j-7qqg high v1.201.1
GHSA-qrgm-9w22-c7jm high v1.201.1
GHSA-vc5r-3hx8-49rp high v1.201.1
GHSA-x3m8-xxcx-5hrv high v1.201.1
GHSA-57g2-6j24-99mw medium v1.201.1

What changed

  • Signed-report integrity (GHSA-5599-579j-7qqg): the reusable workflow runs every helper
    with python3 -I, so a json.py in the scanned checkout can no longer rewrite the report
    inside the signing job. Scan flags are passed as a bash array, and the default tools-ref is
    the release tag.
  • Host file disclosure (GHSA-57g2-6j24-99mw): absolute and .. globs in .repobeagle.yml
    and rule packs are rejected at load, and every repository-supplied glob is re-checked for
    containment after resolving (symlinks included).
  • Argument injection → command execution (GHSA-qrgm-9w22-c7jm): --ref/--since values are
    validated before git sees them, and the fetch uses --end-of-options. This covers scan,
    map, diff, verify --rescan, release and the MCP scan_repo tool.
  • Token leak and local file read (GHSA-vc5r-3hx8-49rp): LFS tokens go only to their own
    https host (github.com/*.github.com, huggingface.co/*.huggingface.co); batch URLs and
    server-supplied download hrefs must be http(s).
  • Repository code execution on re-entry (GHSA-x3m8-xxcx-5hrv): a wheel install re-enters with
    -P (3.11+) or -I, so the working directory is never prepended to sys.path.

verify now rejects a signed report whose meta.toolchain_ref is not a release tag.

Upgrading

  • Docker: ghcr.io/javierbits/repobeagle:v1.201.1
  • Wheel/binary: rebuild or reinstall from this tag
  • Callers of the reusable workflow: the tools-ref default is now v1.201.1; reports must name a
    release tag to pass verify

Verification

  • tests/run_tests.sh --offline — exit 0, 705 PASS, 0 FAIL.
  • New regression tests: test_sec_scan_yml.py, test_sec_glob.py, test_sec_rev.py,
    test_sec_lfs.py, test_sec_entry.py (each failed before its fix).
  • mypy and ruff check --select E9,F63,F7,F82 — clean.

Thanks again to @joeynyc for the reports and the minimal reproductions.