Skip to content

icx v1.2.2

Choose a tag to compare

@github-actions github-actions released this 21 Nov 21:28
· 4 commits to main since this release
dafc9b0

Supersedes v1.2.1, which was tagged but never published: a redactor panic was found after
tagging. v1.2.2 contains every v1.2.1 change below plus these fixes (issue #24).

Fixed

  • Redactor panic (denial of service). A quoted literal inside a call that ended in a backslash
    at the end of the input (api_key = Some("abc\) stepped past the last byte and panicked,
    failing that hook and stopping the workspace daemon until the next hook restarted it. The escape
    skip is now bounded to the line, and an exhaustive test runs every combination of up to five
    risky fragments after four sensitive prefixes without a panic.
  • Literals inside nested call wrappers (Some(String::from("...")), Box::new(Secret::new('...')))
    are redacted.
  • Python Optional[str], list[str] and Rust &'a mut T annotations are recognised (they were
    over-redacted); a literal default after one (password: Optional[str] = "...") is still
    redacted, while = None / = True are not secrets.
  • Every subcommand rejects a repeated --dir instead of silently using the last one; icx hook
    still fails open (prints {}).
  • ICXHDC04 tokens are now shape-validated like ICXHDC05 ones before their postings are dropped.

Downloads

Linux x86-64 binaries in two C-library flavours:

  • *-linux-musl: fully static, runs on any Linux distribution.
  • *-linux-gnu: dynamically linked against glibc 2.35 or newer (Ubuntu 22.04,
    Debian 12, RHEL 10 and later); faster in-process hooks than musl.

The x86_64_v3 builds need AVX2 (Intel Haswell / AMD Zen or newer) and exit with
"illegal instruction" on older CPUs; use the baseline x86_64 builds there.
Verify with sha256sum -c SHA256SUMS --ignore-missing or
gh attestation verify <archive>.tar.gz --repo doublegate/Infinity-Context.
Third-party license notices: THIRD-PARTY-NOTICES.txt (also inside each archive).
Corresponding source for every binary is this tag.