Skip to content

v3.0.0-rc.2

Latest

Choose a tag to compare

@tstromberg tstromberg released this 03 Dec 19:40
· 7 commits to main since this release

Security

  • HTTP response bodies are read under a size cap; a hostile endpoint could exhaust memory before.
  • breaking: --allow-local-paths requires a token and Unix; tunnels delivered remote callers over loopback, unauthenticated.
  • Uploaded bytes are named by digest alone; an unchecked ?purl= let callers poison caches under reputable names.
  • Re-analysis of uploaded bytes under a harmless filename no longer files a lower verdict over a graver one.
  • A corpus refusal, or a record for other bytes, answers unavailable; gates were failing open.
  • LLM source rows carry a gutter, so sample text cannot pose as the analyzer's annotations.

Features

  • Uplink reviews arrive as label: good, bad or dual-use, and a person's ruling outranks both analyses.
  • breaking: a reviewed dual-use file is its own verdict: shown, exit 2, never a block.
  • breaking: decisions carry schema 3; findings name file, offset and line, and own_fires_at and feed are gone.
  • Terminal cards show each rule beneath the source lines it matched, with base64 decoded beside them.
  • Cards say who signed a binary, and unsigned when the format carries signatures and it has none.
  • breaking: serve exits when rules cannot be refreshed; pass --no-update to run on installed ones.
  • DEBUG_HTTP=1 logs every HTTP exchange: method, URL, bytes, latency and status.
  • breaking: update-rules, --upload and the package and pkgs aliases are gone.
  • Releases ship SLSA level 3 provenance and third-party license notices; pre-releases are never marked Latest.

Fixes

  • Directory walks scan .git hooks and config; the whole directory was skipped before.
  • Fetch exceptions match one host, never its subdomains; a stranger's github.io page went unfetched.
  • A registry-metadata stand-in's verdict is never posted under the real content's digest.
  • Uplink flags older than 90 days are re-analyzed here; reviews and known-good vouches do not age.
  • PyPI environment_marker qualifiers are dropped, and a package is no longer its own dependency.
  • Escape sequences and bidi overrides in sample names print escaped, never dropped or obeyed.
  • breaking: a scan whose stdout closes early exits 141, not 0, unless a verdict decides.
  • Upload staging is capped at 2 GiB; a slow hopper could fill the disk.
  • LLM calls wait a bounded time for a slot, and reasoning_content is never read as a grade.

Optimizations

  • Known-good walked files are never analyzed or sent to Uplink, however recently written.
  • Uplink lookups go eight at a time while the rest of the tree is analyzed.
  • Uplink answers are kept two hours per key; a repeat scan asks nothing.
  • A scan compiles YARA only for the file types it meets, not every set.
  • Copies of one file are analyzed once, even with SCAN_NO_ANALYSIS_CACHE=1.
  • Walked files start largest first at any tree size; big binaries no longer finish alone.

Full Changelog: v3.0.0-rc.1...v3.0.0-rc.2