Skip to content

Security hardening — 1.15.0 ​

Crisol 1.15.0 closes every finding in the 2026 security audit: 58 of 58 have a code change and a regression test or reproducible command. The complete matrix, including residual notes, is in SECURITY_AUDIT.md section 10.

Coverage ​

SeverityFindingsClosed
Critical55
High1919
Medium2121
Low1111
Informational22
Total5858

What changes for applications ​

  • Remote bind: a non-loopback crisol-remote bind now requires --token or CRISOL_REMOTE_TOKEN. Loopback remains usable without a token.
  • Agent replay: Automation::replay now takes &Permissions. Trusted local flows use &Permissions::read_write(); untrusted recordings need an allow-list.
  • Confirmation: destructive commands and buttons use single-use tokens. Prefer CRISOL_CONFIRM_FILE; CRISOL_CONFIRM remains a legacy fallback.
  • Extensions: every guest must export alloc. A configured verifier requires a signature, and symlinks may not escape the extension directory.
  • Core pin: crisol-core advances to 1.4.0; the UI line is 1.15.0.

Corrections by area ​

Remote server and protocol ​

SEC-01, SEC-14, SEC-15, SEC-16, SEC-17, SEC-27, SEC-28, SEC-48

Bearer authentication for non-loopback binds; validated HTTP/WebSocket handshake with Host, Upgrade, version, duplicate-header, and Origin checks; a global handshake deadline and idle read timeout; 32-connection limit; 64 MiB frame cap; dataset count and cell budgets; masked frames only; RSV and fragmented data frames rejected; protocol decoding directly from the payload without extra copies; Go client frame cap; bounded MCP stdio lines; and a path-anchored Go conformance client.

Agent authorization ​

SEC-07, SEC-25, SEC-26, SEC-49

Declared commands are frozen at startup. apply_patch cannot rewrite commands, menus, ids, tabs, or structural paths. Disabled commands and buttons are denied. Destructive buttons are sensitive. Confirmation tokens are single-use and bound to the command id, compared through SHA-256 digests. Replay requires an explicit policy, duplicate accessible names are disambiguated, and the token is redacted from Debug.

Extension sandbox ​

SEC-04, SEC-08, SEC-09, SEC-10, SEC-11, SEC-36

Wasmtime fuel, bounded stack, memory/table/instance limits, mandatory signatures, symlink-escape checks, HTTPS-only registry updates, canonical capability prefixes, bounded logs/JSON/files, permission checks before filesystem access, and a mandatory alloc export. The guest SDK rejects null pointers and zero lengths.

Untrusted parsers and serialization ​

SEC-05, SEC-18, SEC-19, SEC-20, SEC-21, SEC-22, SEC-23, SEC-24, SEC-29, SEC-32, SEC-34, SEC-35, SEC-37, SEC-38, SEC-39, SEC-40, SEC-41, SEC-42, SEC-46, SEC-50, SEC-51, SEC-52, SEC-53, SEC-54

Zarr separator/chunk/overflow limits; workbook ZIP expansion checks and global cell budgets; CIF symmetry/atom caps and hash deduplication; SMILES/molfile atom, charge, and column limits; PlotSpec pixels and dimension caps; Arrow unsigned-range checks; SQLite query deadline and blob caps; GeoJSON HTTPS/private-host filtering; serde validation for datasets, text/table views, history, and filters; recursion limits in query, When, JSON patches, math text, and chemistry trees; and finite SVG/PDF geometry.

Desktop, FFI, and storage ​

SEC-02, SEC-03, SEC-06, SEC-12, SEC-13, SEC-30, SEC-31, SEC-33, SEC-43, SEC-44, SEC-45, SEC-47, SEC-55, SEC-56, SEC-57, SEC-58

Arrow ownership and alignment; bounded Python/Go/MCP readers; safe C TLS teardown; escaped journal exports and validated command ids; GPU buffer eviction, texture/buffer limits, and bounded pick polling; Python patch commit ordering; owner-only state files; shell-safe workflow inputs and SHA-pinned Actions; bounded GPU caches, job pool, toasts, and viewers; redacted Bidi text; inherited satellite lints; and rusqlite 0.41 for RUSTSEC-2026-0459.

Verification ​

bash
cargo test --workspace --all-targets
cargo clippy --workspace --all-targets -- -D warnings
cargo test -p crisol-plot --features gpu --lib
cargo test -p crisol-mol3d --features gpu --lib
cargo clippy --manifest-path crates/crisol-platform-probe/Cargo.toml --all-targets -- -D warnings
cargo clippy --manifest-path crates/crisol-wasm/Cargo.toml --target wasm32-unknown-unknown --all-targets -- -D warnings
cargo clippy --manifest-path web/Cargo.toml --target wasm32-unknown-unknown --all-targets -- -D warnings
cargo xtask check --allow-missing

The release workflow repeats the basic tests, docs build, cargo deny, crate publishes, Python wheels, npm package, and C ABI archive. Python, Go, and browser tests are skipped locally when those toolchains are unavailable.

Released under MIT OR Apache-2.0. Icons: Lucide (ISC) and Material Icon Theme (MIT).