Privacy, Security, Licensing & Clean-Room Policy
CurveBook is engineered for confidential laboratory and clinical research data: the desktop application, headless CLI, MCP server, and statistical libraries run offline on your machine with zero telemetry and zero network egress.
See the public Privacy Policy, Security Policy, and Licence & Attribution Policy.
Zero Telemetry & Zero Network Egress
CurveBook's application binaries (curvebook, curvebook-cli) and core libraries contain no network clients, no crash reporters, no usage analytics, and no background update checks:
- Offline enforcement: Enforced in CI via
cargo xtask telemetry, checking source code and dependency trees for telemetry, HTTP client crates, or remote calls. - No external telemetry in documentation: The documentation site uses pure static HTML/CSS with strict Content-Security-Policy (
default-src 'none'),Referrer-Policy: no-referrer, zero<script>tags, zero<form>elements, zero cookies, and zero third-party web fonts. - Updates: Because shipped binaries make zero outbound HTTP requests, updates are installed manually from verified release downloads (Get Started & Installation).
Local IPC, MCP Confinement & Trust Boundaries
--workdir Filesystem Confinement (CLI & MCP)
- Launching
curvebook-cli mcp --workdir <dir>orcurvebook-cli ... --workdir <dir>confines every file read, write, archive open, external import link, and figure export strictly inside the canonicalized<dir>boundary (crates/engine/src/path_policy.rs,crates/mcp/src/formats.rs). - Relative escape segments (
..), absolute paths outside<dir>, and symlinks resolving outside<dir>fail withErrorCode::PathEscape(path_escape) without creating missing parent directories. - Without
--workdir, commands execute with your OS user account permissions (Unconstrained local-user mode); AI assistants and untrusted MCP prompts should always run with--workdir <dir>(see Automation: MCP).
Loopback-Only --control Socket
When enabled via --control <port> (or CURVEBOOK_CONTROL_PORT, port in 1..=65535):
- Binds strictly to
127.0.0.1:<port>(loopback interface only — never0.0.0.0or external NICs). - Authenticates JSON-lines commands with a constant-time bearer token (
CURVEBOOK_CONTROL_TOKENenvironment variable recommended; passing--control-tokenon the CLI exposes the secret inpsprocess listings and triggers a stderr warning). - Combining
--gui-onlyblocks direct non-GUI engine mutations (ErrorCode::GuiOnlyViolation) so external automation drives only interactive GUI actions.
GitHub Pages & GitHub Releases Policies
- GitHub Pages: Serves static documentation (
docs/index.html,docs/privacy.html,docs/manual/) directly via GitHub infrastructure with zero application tracking, zero analytics beacons, and strict zero-script rendering (privacy.htmldocuments GitHub hosting metadata policies). - GitHub Releases & Build Attestations: Every Beta release package and
SHA256SUMS.txtis published through GitHub Actions (release-scansecurity gate) and receives a keyless OIDC/Sigstore build provenance attestation (actions/attest-build-provenance, documented in Releasing). Attestation calls run strictly inside CI workflows (id-token: write,attestations: write), adding zero network behavior to compiled CurveBook binaries.
Licensing, Dependencies & Attributions
- Dual Licence: CurveBook source code is dual-licensed under
MIT OR Apache-2.0(Cargo.toml, NOTICE). - Permissive Dependency Allowlist: Checked continuously via
cargo deny check(deny.toml) andcargo xtask licenses, allowing only permissive SPDX licences (MIT,Apache-2.0,BSD-2-Clause,BSD-3-Clause,ISC,Zlib,Unicode-3.0,CC0-1.0) and prohibiting all copyleft dependencies (GPL-*,AGPL-*,LGPL-*). See Licence & Attribution Policy. - Release Notices: Every release includes
THIRD-PARTY-LICENSES.htmlalongsideATTRIBUTION.mdandNOTICE. CurveBook repositories and binaries contain zero bundled binary font files (cargo xtask assets); custom builds usingCURVEBOOK_FONTS_DIRembed only explicitly suppliedOFL-1.1font files.
Clean-Room Implementation Statement
CurveBook is an original clean-room scientific software suite. Statistical methods, nonlinear least-squares solvers, distribution evaluators, vector graphics renderers, file container parsers, and user interface components are implemented independently in Rust from published peer-reviewed academic literature (D1 citations documented in the numerical modules, Analysis Kinds Registry, and Parametric Equations Registry), validated against public NIST StRD and open-source reference oracles, and verified continuously via cargo xtask brands, cargo xtask cleanroom, and cargo xtask citations. Support for .pzfx and .prism files is implemented purely at the external file-format import boundary (crates/format).
Vulnerability Reporting
Security vulnerabilities, crash bugs, parser exploits, path-escape bypasses, or archive integrity defects should be reported following SECURITY.md. In-scope threat boundaries include:
- Untrusted
.curvebook,.cbtemplate,.csv,.pzfx, or.prismarchive/file parsing (bounded ZIP, XML, cell-count, and float-finite checks) - Path traversal or symlink escape across
--workdiror unpacked.curvebook.d/saves - Loopback
--controltoken validation and--gui-onlyenforcement - PDF / SVG / PNG / TIFF / EMF export integer/pixel/memory resource limits.