Skip to content
Scopwis
Reference

Security, evidence, and lineage

Scopwis is designed so model intelligence can propose analytical work without becoming the authority for data access, query safety, evidence validity, or report publication.

Deterministic boundaries

The Rust host owns:

  • actor and source authorization;
  • typed read-only query validation;
  • method registration and parameter contracts;
  • execution budgets;
  • artifact IDs, revisions, and lineage;
  • evidence references in Analysis Artifacts;
  • ReportSpec validation;
  • high-impact mutation boundaries.

The reasoning model cannot widen those boundaries through prose.

Evidence-first answers

A material finding must reference evidence produced in the current authorized run. Query and mining results become immutable artifact envelopes. The model receives bounded observations rather than unrestricted raw payloads.

When a later synthesis/provider step fails, completed evidence is preserved instead of being erased.

Query safety

Scopwis compiles typed query plans rather than executing model-supplied arbitrary SQL. DDL and DML are outside the Agent data plane. Multi-table work uses bounded inspected relations and validated equality joins.

Source and credential isolation

Provider credentials, connection-profile secrets, OAuth provider tokens, and model API keys stay server-side. Public Bootstrap and normal Agent observations are secret-free.

External MCP/capability tools are projected only after local policy approval. Remote metadata is not trusted as authorization.

Reports and sharing

A report is valid only when its data bindings and provenance resolve to authorized artifacts. Public shares are explicit, revocable, revision-bound snapshots with a reduced projection.

Lineage

Artifacts retain producer, revision, upstream inputs, and trace ownership. Payload TTL can remove large data bytes without rewriting historical lineage. This lets a later reader distinguish “artifact existed but payload expired” from “analysis returned an empty result.”

Dependency security checkpoint: 2026-10-03

The statistical backend preserves Augurs's supported algorithms and its two pinned rv APIs. Scopwis carries the original rv 0.16.5 and 0.18.1 sources with only their LRU dependency requirements changed. The workspace selects upstream lru 0.18.4, which includes the mutable-iterator fix (RUSTSEC-2026-0002) and the key-destructor panic fix (RUSTSEC-2026-0253). CI checks the active dependency routes, unchanged source hashes and retained MIT notices; statistical and cache regressions exercise compatibility.

Parser and compression dependency checkpoint: 2026-11-01

The parser candidate uses DataFusion 55.2 / Parquet 59.3 to remove the vulnerable Thrift dependency and reject malformed declared lengths before expanding reads. Workbook handling uses Calamine 0.37 / Zip 9.2. The production async Zstd codec now uses the upstream fixed Zstd 0.14.3 / zstd-safe 8.2 chain; a corrupt legacy frame must fail with zero committed output. Exact-value tests and bounded malformed fixtures cover these paths without triggering OOM or reading uninitialized memory.

The full RustSec audit still reports four findings: RSA 0.9.10 and three advisories on the older Zstd 0.13 / zstd-safe 7 line required by Arrow/Parquet/ORC. Current old-line consumers use bulk APIs or fresh read decoders/encoders, rather than borrowed raw contexts; the resolved build does not enable seekable. Legacy support is enabled, so its absence is not claimed as a mitigation. These calling boundaries require review when dependencies or features change. No advisory is ignored, and a passing dependency delta does not make the full audit clean.

RSA calling-boundary recheck: 2026-11-01

rsa 0.9.10 remains reported by RUSTSEC-2023-0071, which still lists no patched release. SQLx MySQL authentication uses a server public key for OAEP password encryption; it does not hold that server's private key. Upstream Google/Azure reqsign code includes private signing, but Scopwis rejects GCS private-key and credential-file paths and forces disable_config_load=true. Azure ambient client-certificate credentials fail closed unless an explicit SAS or shared key selects the supported path. These gates are reapplied before connection for managed, legacy and environment profiles and have denial regressions. They constrain Scopwis's calling paths; randomized signing is not treated as its mitigation, and the vulnerable dependency remains reported.

Scopwis does not expose an RSA private-key decryption API or introduce a custom cryptographic patch. Supported MySQL and token/SAS/shared-key connections remain available, and no advisory is added to an ignore list. A change to these calling boundaries requires a fresh security review. Deployment teams must account for the unresolved RSA dependency; a green pull-request dependency delta is not evidence of a clean full dependency audit.

Type to search the English documentation.