Skip to content

v1.4.0

Choose a tag to compare

@github-actions github-actions released this 25 Nov 20:28
· 133 commits to main since this release
618410d

Changed (severity)

  • RG02 and RG03 ship at note on Solana. The 1.3.0 fresh held-out round
    measured RG02 at 0/16 and RG03 at 0/5: the remaining flags are the fee payer
    of an instruction whose accounts mark the role account non-signing, the
    attacker's own fixture key, or a setup helper. A rule at warn with zero
    fresh precision is noise. RG01, RG04 and RG06 were already notes. The
    Solidity severities are unchanged.
  • RG08 and RG09 ship at warn on Solana; no Solana rule ships at error
    in this release.
    The floor is a fresh held-out Wilson lower bound of at
    least 0.80. RG08 is right 10/10 on the v2 held-out split, but 10/10 has a
    lower bound of 0.7225, so error is not supported yet; it returns there at
    16/16, where the lower bound reaches 0.8064. RG09's only fresh flag was
    labelled unclear, so it has no rate at all. warn is reported and is not a
    CI failure under the default --fail-on error.
  • The floor is now enforced against the fresh measurement: measure.py in
    eval/solana-poc-v2/ regenerates measured.json from the committed
    held-out labels, and tests/precision_floor.rs reads it. A Solana rule at
    error with no fresh cell of n >= 5 fails the test, so an unmeasured error
    rule cannot ship. Previously the test read a file with no fresh cells and
    passed vacuously.

Fixed (CI)

  • The weekly fuzz workflow names the GNU triple. The prebuilt
    cargo-fuzz installed by install-action is a musl binary, and cargo-fuzz
    derives its default build target from its own triple; a musl target links
    libc statically, which the sanitizer refuses ("sanitizer is incompatible
    with statically linked libc"). cargo fuzz run --target x86_64-unknown-linux-gnu pins the dynamic-libc target. The workflow now
    builds and fuzzes again (run 45690709031). On that first run the TypeScript
    target found an input that trips a debug_assert! inside the upstream
    oxc_parser 0.146.0 lexer (trivia_builder.rs:62, comment.is_pure()).
    Release builds compile debug assertions out, so the shipped binaries do not
    panic on it; the weekly job stays red until the upstream assertion is fixed
    or the input is handled, and this entry does not call the fuzz job green.

Fixed (P1-C precision round, proposed 1.3.0)

  • A helper file with no test is no longer read as a fragment. The script
    reader wrapped every import-only helper passed alongside the PoC as
    it("fragment") and flagged RG08 on it. Script mode now requires an
    executable top-level statement (or a main call), and auto-detection only
    wraps the unit's first file, not its imported helpers.
  • A test title that says the attack is blocked is a control test. Titles
    with blocks, blocked, denies, cannot, does not allow, not allowed or must fail join the existing secure/control/prevents/
    rejects/fails when class, so RG01/RG02/RG03/RG04/RG06 do not fire on
    them. A leading ✓/✔ (the secure-suite convention) is included.

Install

cargo binstall realism-gate

or download an archive below and check it:

sha256sum -c SHA256SUMS --ignore-missing
gh attestation verify <archive> --repo KhomDev/realism-gate

Three binaries are included: realism-gate (the checker), rgate
(the same program under a short name) and realism-gate-mcp (the MCP
server). cargo binstall installs all three. Linux builds are static
(musl).

Built with rustc 1.95.0 and repacked deterministically, so the
archives can be compared with a local rebuild. From a checkout of this
repository:

scripts/reproduce-release.sh v1.4.0 x86_64-unknown-linux-musl