PreciseDocs

Red-team and hardening ledger

What we tested, what we fought against, and how Precise is hardened across security, math, execution, and product integrity.

On this page
CapabilityRuntimeStatus
Query governed SQL output rules and verify synthetic proofs on the public bookSandboxLive
Enforce identifier isolation, Iceberg prefix checks, and PostgreSQL 17 row-level securityTenant CloudPreview
Run bilateral Partner Clean Room matching with household floors and differential privacyTenant CloudPreview
Run real-time supply-side auction container scoring with host-confirmed readbackPartner EdgePreview

1. Executive overview: opposite-model adversarial verification

Most software teams let the builder write the tests. That proves code satisfies its author's assumptions, not that it survives an adversary, a misconfigured data lake, a stalled bid feed, a wall-clock rollback, or a skeptical Head of Trading.

Precise hardens every critical subsystem with multi-pass opposite-model adversarial verification:

  1. Independent attack: Every component built by one engineering track is handed read-only to an independent opposing model armed with live exploit scripts, malformed wire payloads, planted mathematical mutants, non-superuser PostgreSQL FORCE RLS probes, cross-language cryptographic vectors, CPU-cgroup load profiles, and cold-read buyer personas.
  2. Surgical hardening (zero UX friction): Every verified break is fixed at its root cause inside the engine without adding approval gates, clicks, or workflow drag for real buyers and analysts.
  3. Live re-attack and second-pass hunt: The opposing model re-runs the original exploit suite, plus new bypass batteries targeting the fixes themselves, alongside an independent second-pass defensive verification across control-plane, clean-room, edge-bidding, and activation engines. A defect only counts as closed when its reproduction probe dies on the wire.
1. Subsystem Build to 2. Independent Red-Team Attack; 2. Independent Red-Team Attack to 3. Root-Cause Hardening; 3. Root-Cause Hardening to 4. Live Exploit Re-Attack & Second-Pass Hunt; 4. Live Exploit Re-Attack & Second-Pass Hunt to 3. Root-Cause Hardening (Bypass or Residual Found); 4. Live Exploit Re-Attack & Second-Pass Hunt to 5. External Release & Live Customer Gates (All Probes Dead).1. Subsystem Build2. Independent Red-TeamAttack3. Root-Cause Hardening4. Live Exploit Re-Attack& Second-Pass Hunt5. External Release & LiveCustomer GatesBypass or Residual FoundAll Probes Dead
Diagram source
Mermaid
flowchart LR
  B["1. Subsystem Build"] --> A["2. Independent Red-Team Attack"]
  A --> H["3. Root-Cause Hardening"]
  H --> R["4. Live Exploit Re-Attack & Second-Pass Hunt"]
  R -->|Bypass or Residual Found| H
  R -->|All Probes Dead| G["5. External Release & Live Customer Gates"]

Core engineering principle: hardening without product drag

Security that breaks daily analytics or buries a trading lead under hex digests gets worked around on Day 2. Every fix in this ledger follows one usability guardrail: fail closed inside the engine, keep the product effortless at the surface.

  • Data isolation without crippled SQL: Identifier columns (email, user_id, hashed IDs) are isolated behind an exhaustive compile-time fail-closed AST analyzer, while 100% of standard analytical SQL (WITH CTEs, WINDOW functions, CASE WHEN, HAVING, COALESCE, percentiles, FILTER, public subqueries, and theta_estimate(theta_union(...))) stays wide open on public campaign metrics (spend, impressions, CPM, conversions, publishers, Deal IDs).
  • Cryptographic sign-off without crypto walls: Human spend approval binds sha256(payload_hash || check_id || plan_hash) over WebAuthn Touch ID, while presenting a five-row executive sign-off brief with raw JSON and SHA-256 hashes collapsed one click down under "Technical verification details".
  • Second-pass defensive sweep: All 18 empirically reproduced second-pass defects (9 High + 9 Medium) across the control plane, clean room, auction edge container, and activation engine were closed with zero new end-user clicks or workflow friction.

Headline red-team scorecard (November 2026)

Threat DomainPrimary SurfaceAdversarial Probes ExecutedCritical / High / Medium Findings ClosedVerification & Open External Gates
1. In-Cloud Governed SQL & PIIprecise-gateway2,400+ SQL attack queries (error casts, sketch bytes, binary-search oracles, EXCEPT/INTERSECT, ANY/ALL, VALUES tainting, link-join lags, recursion/cross-join DoS)6 / 6 original classes + 4 second-pass binder/taint closures (Expr::SetComparison, nested ORDER BY, Values, theta_union)Re-attacked live and closed. Exhaustive Rust Expr match (zero _ => arms). 40/40 set-comparison attacks blocked at query 1 (0 leaks); 59/59 member/non-member pairs silent (0 leaks); 7/7 public analytical SQL shapes + theta_estimate(theta_union(...)) passing 100%.
2. Multi-Cloud & Iceberg Isolationprecise-iceberg, precise-gatewayPath traversal (tab/LF/CR in ..), fallback mask bypasses, card replay, 924 SQL-injection inputs, 94 sink paths, weak RSA keys, expiry underflow, 4-cloud SQL and canary probes12 / 12 (B1 to B11)Re-attacked live and closed. Cross-tenant traversal blocked before transport (0 foreign requests); restrictions fail closed on fallback; RSA >= 2048-bit and saturating non-echoing expiry errors enforced. Live customer warehouses remain externally gated.
3. Real-Time Bidding & Auction Edgeprecise-bid-kernel, precise-bid-shader, artf/Policy reload kill-switch drops, clock/pace spoofing, TTL lapses, 4,000 micro-dollar seals, 7 IAB intents, 60K multi-imp explore draws, SIGTERM drain, 128x128 wire and reload profiles16 / 16 (C1 to C4, C6, D1 to D11, ARTF-1, ARTF-2)Hardened and re-profiled (57/57 container tests, 0 clippy warnings, 5/5 loopback SSP handoffs). external_host reconciled across kernel, edge container, and activation; 128x128 capped RPC sped up 33x / 67x (~993/~2,765 us to 29.7/41.3 us); policy reload moved off Tokio (0 us worker stall).
4. Activation, Readback & Leasesprecise-activation, harness/30 adversarial probes + 2 independent reviews + second-pass WAL/NTP/BigInt/grammar/fee-stack probes (ACT-1 to ACT-6), DSP format checks, wallet cloning, midnight-DST transitions22 / 22 audit + 24 review + 6 / 6 second-pass (ACT-1 to ACT-6: 2 High, 4 Med)Hardened and re-probed (93/93 activation tests, 0 skips including 5/5 live SSP Rust edge gRPC handoffs; 42/42 contract tests). Live DSP/SSP write clients (live_client: false) remain externally gated.
5. Math, Attribution & Experimentsprecise-math, eval-enclave50-digit closed-form oracles (14 to 15,000 players), 5 planted broken-quadrature mutants, 41-seed sign checks, NumPy 2.3.5 ridge parity, 31 quant red-team tests4 / 4 (D1 to D4) + 5 / 5 mutants caughtRe-attacked live and closed. Max error 5.4e-14; u=1 NaN eliminated up to 1e30 ratios; 5/5 mutants killed by closed-form suite. portfolio/select ad-tech refit on real settle history remains externally gated.
6. Control Plane & Agentic Buyingprecise-access (AdCP 3.2, WebAuthn, PG17)Non-superuser PostgreSQL 17 FORCE RLS across 24 tables, 27 AdCP 3.2.12 vectors, RFC 9421 signing, second-pass spend-cap/pool/savepoint/prototype/SSE probes (ACC-1 to ACC-6)6 / 6 initial + 6 / 6 second-pass (ACC-1 to ACC-6: 2 High, 4 Med) + spend-capable and auth startup guardsHardened and re-probed (191/191 unified Access tests; 204/204 PG17 RLS suite; 7/7 @adcp/sdk interop). HTTP 401 on unauthenticated advance_time; spend-capable profile fails closed (exit 2) on missing key/DB/callers. Live seller interop and production KMS remain externally gated.
7. Partner Clean Room & Cryptocleanroom/, schemas/golden-vectors/Household floor boundary (180 IDs / 60 HH), DP threshold/subgroup/ledger/email-norm probes (CR-1 to CR-4), attestation tampering, 336 probes x 6 engines (Rust/Node/Chromium)8 / 8 initial + 4 / 4 second-pass (CR-1 to CR-4: 3 High, 1 Med) + v2 leaves + 3 / 3 JS/Rust reader residualsHardened and aligned (73/73 Rust / 48/48 JS verifier tests; 0 divergences, 0 errors across all 6 engines: 1,482 cross-engine matches, 1,018 assembled matches). Hardware GCP Confidential Space TEE run and live L1 finality remain externally gated.
8. Product, Buyer POV & Docsprecise-app, docs/portal, decks10 cold-read personas, 38 substantive buyer meetings (40 days), 42 live portal panels, 19 product previews, 3 interactive schematics, 17 Keynote-rendered slides30 copy rewrites, 8 UX fixes, 42/42 live panels, 19/19 previews, 17/17 slidesAligned and verified (42/42 live docs checks, 19/19 previews, 27/27 standalone / 28/28 integrated portal tests, 6/6 sequence SVGs, 7 ms warm Home load). Final mainline assembly and production sandbox cutover pending.

2. Domain 1: In-cloud data privacy and governed SQL (precise-gateway)

Precise executes analytical SQL directly inside the customer's cloud over pinned snapshots. Because raw customer logs stay in-tenant, the Gateway's SQL output policy must prevent an analyst or agent from smuggling identifier columns (email, user_id, hashed IDs) out through side channels without turning SQL into a crippled query builder.

What we fought against and verified fixes

Attack ClassVerified Exploit Against Initial BuildHardening ImplementedLive Second-Pass Re-Attack Result
A1: Error-Text PII Extraction (Critical)Casting an identifier inside WHERE (CAST(CASE WHEN ... THEN email ELSE '0' END AS BIGINT), to_timestamp, arrow_cast) forced DataFusion/Arrow to echo raw cell values inside diagnostics[0].message. Recovered 600/600 emails in 600 queries on a plain table and 596/600 in 597 queries through a min_group_n: 5 aggregate floor.Replaced all crossing engine errors with a constant public diagnostic across JSON and Arrow IPC; kept detailed errors server-side; binder rejects casts and fallible functions on identifier-role columns.DEAD. Both full-column walks stopped at query 1 with 0 addresses leaked. Five cast/timestamp probes leaked zero cells in JSON or Arrow IPC.
A2: Unsalted Sketch Byte Exfiltration (Critical)theta_sketch(email) returned 8,016 bytes containing 1,000 unsalted 8-byte hashes (one per person), enabling offline dictionary lookups and row-level re-identification via GROUP BY order_id, even on floored tables.Intermediate HLL and Theta states, including the theta_union UDAF, retain Representation::Theta / Hll identifier taint. Only matching cardinality estimators can consume them; returning raw binary sketch images, encoding them, or mixing governed sketches with literal bytes via UNION ALL or VALUES is refused.DEAD. All 35 sketch-extraction bypasses (direct, alias, derived table, encode, cast, md5, array_agg, per-row, Arrow output), 7/7 literal-mixing probes, and 7/7 theta_union / VALUES refusal probes blocked. Reach estimates match (1,000/1,000 for both theta_estimate(theta_union(...)) and theta_estimate(theta_intersect(...))).
A3 & A6: Predicate, Subquery & Set-Op Oracles (High)Binary search via ascii(substr(email, p, 1)), HAVING, ORDER BY, and differencing across min_group_n: 5 rebuilt a 22-char email in 161 queries (322 through the floor) and a numeric user_id in 21. EXCEPT/INTERSECT tested candidate lists in one query. A live re-attack subsequently found Expr::SetComparison (= ANY, = SOME, <> ALL, <= ALL) and nested ORDER BY slipping past a catch-all _ => {} arm, rebuilding 'alice.wong@example.com' in 168 queries and user_id in 21.Replaced the binder's catch-all _ => arm with an exhaustive Rust match over datafusion::logical_expr::Expr (zero catch-all arms, compile-time fail-closed on any future AST variant). Closed Expr::SetComparison, disabled subquery sort elimination on governed catalogs so nested ORDER BY on identifiers is caught, guarded LogicalPlan::Values cells so attacker literals cannot poison governed columns, and carried per-source population tags across Join/AsOfJoin/Union/Unnest/MaterializedCte so duplicating rows cannot fake min_group_n.ALL VECTORS DEAD. Live re-run of the set-comparison oracle suite blocked 40/40 attack queries at query 1 (with 1/1 legitimate control answered; 0 leaks). The full 318-query bypass battery held 59/59 member/non-member pairs silent (0 leaks, 22/22 design checks green, nested ORDER BY refused). 7/7 public analytical SQL shapes + theta_estimate(theta_union(...)) pass 100%.
A5: Link-Join Time-Lag Channel (High)Naming a numeric identifier (user_id) as the left table's time column against a constant right-hand timestamp leaked 5/5 exact user_ids via the returned lag_ns field.Link reader checks every referenced role (endpoint IDs, times, exclusion flags, groups, both sides of every key part, and bridge columns) against identifier classification before reading data.DEAD. Refused with identifier-column-projection-prohibited people.user_id; hand-worked link oracle still agrees across layouts and worker counts for permitted joins.
A4: Runaway Recursion & Cross-Join DoS (Medium)Table-free recursive CTEs bypassed output policy (a 2 x 10^9-step recursion held a call for 299 s); a 4-way cross join (1.3 x 10^11 rows) ran 71.1 s under a 31 s limit because deadlines were polled late.Parser rejects recursive CTEs unconditionally (including table-free statements). A physical-plan wrapper checks cancellation tokens and deadlines between intermediate batches, including below final aggregates.DEAD. 16/16 recursive shapes refused in ~0.1 s. Every heavy plan (4-way cross join, grouped counts, sorts, distinct, non-equi joins, windows, array_agg) terminated at 31.1 to 33.0 s under a 31 s cap; next small query answered in 0.1 to 0.2 s.

Compile-time fail-closed identifier isolation with 100% public SQL expressiveness

Eliminating every catch-all match arm in the SQL expression analyzer ensures that future query-engine upgrades cannot silently open new subquery or comparison side channels, without restricting analysts on campaign metrics:

  • Allowed on identifiers: Direct equi-joins (ON left_key = right_key between governed identifier columns), governed cardinality counts (COUNT(DISTINCT id), APPROX_DISTINCT(id), COUNT(id) respecting table k-floors), and governed sketch aggregates (HLL_SKETCH, THETA_SKETCH, THETA_UNION, scalar-subquery THETA_INTERSECT) consumed strictly by governed estimators (hll_estimate, theta_estimate).
  • Allowed on all public campaign columns (7/7 verified live): 100% of analytical SQL, including WITH / MATERIALIZED CTEs, WINDOW functions (ROW_NUMBER(), RANK(), SUM() OVER (...)), CASE WHEN, HAVING, COALESCE, approx_percentile_cont, FILTER, and public = ANY/>= ALL/EXISTS/IN subqueries over spend, impressions, CPM, conversions, publishers, and Deal IDs.

3. Domain 2: Multi-cloud lakehouse and Iceberg supply-chain isolation

Precise reads customer media tables across AWS Athena, Google BigQuery, Snowflake, and Databricks using native Apache Iceberg REST reads where eligible and revision-pinned warehouse exports otherwise. Red-teaming focused on whether a hostile catalog, malicious table writer, weak signing key, or misconfigured grant could read outside a tenant's authorized prefix, echo secrets, or bypass catalog policies.

What we fought against and verified fixes

  1. Cross-Tenant Path Traversal via Control Characters (B1, B9d, Critical):
    • Attack: A hostile manifest referenced .../tenant-a/reach/data/.<TAB>./.<TAB>./.<TAB>./tenant-b/secret/data/part-0.parquet. The raw string passed prefix checks before Url::parse stripped tabs/newlines and collapsed dot segments, causing the Gateway to fetch tenant-b rows using its own storage identity while logging the benign raw string.
    • Hardening and Re-Attack: Object URLs must parse and round-trip identically before comparison against scheme, authority (including ADLS container), port, and / path boundaries; control characters, dot segments, and percent-encoded traversal fail closed. Manifest lists, manifests, server-planned files, and data files must all lie within the authenticated Iceberg table location. Live re-attack verified 0 requests ever sent to tenant-b (blocked before transport across tab/LF/CR-in-dots, %2e%2e, backslash, and sibling prefix tenant-abc, in both direct and vended-credential modes).
  2. Warehouse Fallback Dropping Catalog Row Filters & Column Masks (B2, B9a, Critical):
    • Attack: Adding one nested list column (or returning HTTP 404/501 on table load) routed the reader to warehouse export fallback before Restrictions::parse ran, staging filtered rows and masked hem columns that native Iceberg reads refused.
    • Hardening and Re-Attack: Catalog restrictions are parsed prior to any fallback decision and carried across selection and materialization. Active restrictions, incomplete plans, and 404/501 table load failures now fail closed (warehouse fallback cannot enforce catalog read restrictions).
  3. Eternal & Cross-Tenant Topology Card Replay (B3, High):
    • Attack: Signed connection verification cards had no issued_at, expires_at, or nonce, and offline verification checked no expected tenant or age, so an old card verified forever even after catalog permissions changed, and Tenant B's card verified for Tenant A.
    • Hardening and Re-Attack: Cards sign tenant, issue time, expiry, and a fresh nonce; precise-connect-verify --verify requires tenant and max-age checks (with ergonomic defaults from PRECISE_TOPOLOGY_TENANT and 3600 s lifetime so operators cannot accidentally omit bounds). Re-attack confirmed wrong-tenant and expired cards exit 1, and 91/91 single-field tamper mutations (plus alg: none and HS256) fail closed.
  4. Unpinned Reads, Vendor SQL Semantics, Injection & Silent Grant Typos (B4 to B6, B9e to B9f, High):
    • Attack: Exports lacked time-travel clauses (snapshot_token: "latest" passed), quoted lowercase Snowflake identifiers that do not match default uppercase objects, rendered numeric/date partitions as string literals (rejected by Trino/BigQuery), reused job IDs across retries/grants, permitted Databricks /Volumes as an external Parquet table location, and silently ignored misspelled fields like require_governence.
    • Hardening and Re-Attack: Every export pins an immutable source revision (VERSION AS OF / as_of across 10/10 SQL fixtures; latest, blank, and unpinned tokens refused), renders typed partition literals (= 20261123, = DATE '2026-11-23'), quotes canonical uppercase Snowflake names while aliasing output cleanly, rejects /Volumes for external Parquet tables while preserving Arrow staging, requires project.location.connection or DEFAULT on BigQuery Iceberg, binds execution records to revision/predicate/SQL digest/row count, scopes job IDs by grant/sink/attempt, and enforces strict deny_unknown_fields. Across 924 hostile inputs (11 fields x 4 clouds), 729 were rejected outright by grammar allowlists and 195 rendered with zero hostile characters entering SQL; 94/94 sink-path checks held.
  5. Forged Sketch Parity & Phantom Negative Canaries (B7, B8, B9b to B9c, High/Medium):
    • Attack: Rust's Hash for str appended 0xFF, breaking wire parity with Apache Java/C++ DataSketches, while a static probe series allowed one cached blob to pass for any tenant. Negative permission canaries passed verified: true for tables that never existed. Float filters widened to f64 (gt(price, 0.1) kept 0.1), and not-eq dropped NULL rows.
    • Hardening and Re-Attack: Sketches consume raw UTF-8 bytes verified against a fresh challenge-bound series; negative canaries require independent existence proof plus 403 on both HEAD and load (missing tables now fail all 6 checks); float literals bind at source precision and not-eq preserves NULL rows while rejecting NULL comparison literals.
  6. Weak RSA Signing Keys & Vended Credential Expiry / Secret-Echo Hardening (B10, B11, Medium/Low):
    • Finding: Iceberg JWT auth accepted weak RSA keys below 2048 bits (such as RSA-512/1024), credential expiry arithmetic (ms - now_ms) could underflow/panic on extreme negative timestamps (i64::MIN), and malformed vended-credential parse errors risked echoing raw credential fragments into error strings.
    • Hardening and Verification: Both sign_claims and verify_claims now enforce key.n().bits() >= 2048 (rejecting RSA-512 and RSA-1024 keys outright); expiry checks use ms.saturating_sub(now_ms) to eliminate underflow panics; and malformed vended credentials or expiry parse failures return static, non-echoing diagnostic errors.

4. Domain 3: Real-time bidding, budget authority, and supply-side auction protection

Real-time media execution cannot fail open when a control feed stalls, a container restarts, a bidder sends spoofed timing, an NTP step-back occurs, a 128-impression auction hits CPU limits, or a DSP silently drops a bid edit. We red-teamed and re-verified all three layers of execution: the Rust bid kernel/shader, the in-VPC supply-side auction container, and the DSP/SSP activation and budget-lease engine.

A. Bid kernel and shader (precise-bid-kernel, precise-bid-shader)

  • Reload-Dropped Kill Switches (C1, High): Reloading a policy dropped active line pauses and exhausted balances until a new patch arrived. Fix and re-attack: Prior controls stay attached by line ID across reloads; mismatched policy bindings fail closed (policy_rebind_required) until a matching patch lands.
  • Request Clock & Pace Spoofing (C2, High): An inbound bid request could set evaluatedAtMs: 0 (or year 2100) to skip a $0 budget or revive a year-old lease, and set currentPaceRatio: 0 to force max-cap bidding ($5.375001). Fix and re-attack: Live single and batch paths exclusively use host time and fresh control-plane pace; all spoofing probes returned no-bid or normal shaded bids.
  • TTL-Expired Budget Bypass (C3, High): One millisecond past ttlMs, an exhausted host budget fell back to live bidding. Fix and re-attack: Exhaustion and pauses stay fail-closed past TTL (live_budget_exhausted).
  • Silent Cap Typos, Micro-Dollar Sealing & external_host Separation (C4, C6, Medium/Low): Misspelled line fields (remaining_daily_budget_usd) silently dropped caps, missing budgetAuthority defaulted to none, and unmanaged paused lines passed through at $1e9. Fix and re-attack: Line-level deny_unknown_fields, mandatory explicit v2 budgetAuthority, explicit BudgetAuthority::ExternalHost ("external_host") cleanly refused by local bidder/shader (400 control_consumer_mismatch) so exchange-owned spend can never be misrouted into a bidder, and unmanaged pause enforcement. 4,000/4,000 random policies sealed to integer micro-dollars and rejected 1-micro tampering (policy_digest_mismatch).

B. Supply-side auction container (artf/: 57/57 Rust tests, 0 clippy warnings, 24 conformance tests)

  • Cross-Subsystem external_host Control Contract (D1, High): The supply-side auction container initially rejected the core control schema's budgetAuthority field. Fix: Reconciled BudgetAuthority::ExternalHost ("external_host") end-to-end across all three layers: core bid kernel/shader (defines and refuses external_host), supply-side auction agent (accepts external_host for writes and none for metrics; rejects host/lease; byte-identical golden fixtures verified), and activation/contracts (validates external_host and rejects bidder-only line fields at signing, compilation, and promotion).
  • IAB Intent Paths & Mirror-Test Elimination (D2, D3, High): Three of seven intents emitted non-standard /pmp/deals/ or /metric paths, and the conformance host linked the agent's own crate and canonicalizer. Fix: Switched defaults to IAB intent-page paths for all seven intents (retaining signed host overrides where required, such as Equativ PMP) and rebuilt the conformance host with zero runtime dependency on the agent or kernel and independent JCS signing.
  • Multi-Impression Exploration Collapse (D4, High): Per-impression intersection caused a signed 5.0% (500 bps) explore rate to collapse to 0.32% on 2-impression pages and 0.01% on 3-impression pods, quietly ruining lift measurement on header-bidding pages and CTV pods. Fix: Per-impression ACTIVATE_DEALS gating plus one exploration draw per auction/line, verified at 4.77% (954/20,000) identically across 1, 2, and 8 impressions.
  • Container Operational Hardening (D5 to D23):
    • Graceful SIGTERM handling (previously ignored in scratch PID 1, hanging 6.1 s to exit 137; now switches readiness and gRPC health to NOT_SERVING, refuses new auctions, drains in-flight RPCs, and exits 0).
    • Persistent ARTF_STATE_FILE high-water-mark storage (preventing restart rollback to an unpaused revision), 24 h max TTL, structured refusal logging, Prometheus gauges, Unix-socket OTLP telemetry (zero outbound IP network), JSON-Pointer escaping (~1), OpenRTB 2.6 video.plcmt + DOOH support, and COPPA/GDPR/GPP/US-Privacy segment gating.
  • Second-Pass Latency & Worker-Stall Closures (ARTF-1, ARTF-2, High):
    • Root cause reproduced in profiling: On extreme 128 lines x 128 impressions auctions (123.7 KB protobuf wire payload, 16,384 Deal structs), full-tree Prost decode + drop (~587 us native) plus nested BTreeMap scoring and per-impression allocations (~406 us capped / ~1,917 us nomatch) burned enough CPU to exhaust a 500m Linux cgroup's 50 ms/100 ms CFS quota, spiking containerized p99 to 17.79 to 40.25 ms against a 10 ms SSP budget. Simultaneously, a synchronous 250 ms policy reload (FileFeed::read + JCS + Ed25519 + fsync) ran directly on a Tokio async worker thread (78.1 us p50 / 772.3 us p99 unchanged; 20.5 to 25.8 ms on a new revision).
    • Zero-behavior-change hardening (ARTF-1, ARTF-2): Compiled ActiveSnapshot into dense flat arrays and u128 bitmasks with hoisted request-level contextual fields, added a lazy zero-copy protobuf wire evaluation path (LazyRtbServer / get_mutations_wire) that stops decoding immediately upon hitting max_mutations, and moved the 250 ms policy reload loop onto a dedicated OS thread (artf-policy-reload) with a FileStamp (dev, ino, len, mtime) metadata fast-path.
Auction Edge Hot-Path Measurement (128 lines x 128 imps, release mode)Before Hardening (p50 / p99)After Hardening (p50 / p99)Speedup / Impact
Capped RPC (max_mutations=256, decode + evaluate + drop)~993 us / ~2,765 us29.7 us / 41.3 us33x faster p50, 67x faster p99 (eliminates ~16,500 allocs/RPC and 500m CFS quota exhaustion)
No-match RPC (scans all 128 imps, 0 mutations)~2,547 us / ~5,940 us324.7 us / 438.3 us7.8x faster p50, 13.6x faster p99
250 ms policy reload (unchanged poll)78.1 us / 772.3 us (on Tokio worker)2.4 us / 20.5 us (dedicated OS thread)0 us Tokio worker stall (and 20.5 to 25.8 ms new-rev verify/fsync fully off async runtime)

C. Activation, readback, budget leases, and time alignment (precise-activation, harness/)

An initial red-team found 22 issues (E1 to E22); two independent post-hardening code reviews caught 29 additional edge cases (24 immediately fixed); and a second-pass offensive verification empirically reproduced and closed 6 additional High/Medium defects (ACT-1 to ACT-6), verified across 93/93 activation tests (0 skips, including all 5/5 live SSP Rust edge gRPC handoffs) and 42/42 contract tests:

  • Honest Platform Payloads & Safe Rollback (E1 to E7): Spec-compliant pipe-delimited Beeswax export with 100 MB part splitting and manifest; typed dayparts (utc, zone_local, viewer_local) resolving Beeswax-vs-TTD HourOfWeek divergence and refusing DST-straddling windows; positive single-writer grants on every stage; clean single-operation pause_line/pause_curated_deal change sets with paused_as_intended readback, explicit resume, not_after_ms expiry, base-state CAS, and generated inverseChangeSet rollbacks. Every target explicitly declares live_client: false, and unverified TTD/Amazon/SSP schemas require explicit acknowledgement before promotion.
  • Anti-Self-Grading Readback (E8, E9): Pulls costs strictly from sealed-run sources, enforces one-comparison-one-episode via a claims ledger (blocking 4x credit on a single holdout reference), fingerprints independent readers by credential header alone, and applies signed micro-dollar bid tolerance (capped at $0.01 CPM). Unapplied or overridden writes credit $0.
  • Budget Lease Double-Spend, Cloned Wallet & Second-Pass Integrity (E10 to E13, ACT-1, ACT-2, ACT-6):
    • Unreported bids and cloned wallets (E10 to E13): Pending bids time out after a signed pending_timeout_ms into a pooled late-win reserve (returning $0.79 of a $1.00 lease cleanly while paying late wins without double-charging); host-stored wallet keys reject copied volume snapshots (wallet belongs to another host key); one-row-per-lease SQLite schema replaces growing JSON blobs.
    • Wall-clock rollback / NTP zombie-lease defense (ACT-1, High): Previously, an NTP step-back across token.expires_ms resurrected expired or written-off leases in BidderWallet. Fixed invisibly by persisting a monotonic clock_hwm (max_seen_ms) table inside SQLite on every BEGIN IMMEDIATE transaction plus a process.hrtime.bigint() in-process monotonic anchor; re-probing confirms rollback resurrection is dead.
    • Exact BigInt $1M+ reserve math (ACT-2, High): Previously, Math.ceil((amount * bps) / 10000) lost IEEE-754 precision above $900.7k (drift_micros = -1 at $1,000,000.01, bps = 9999). Fixed using exact BigInt ceiling arithmetic ((BigInt(amount) * BigInt(bps) + 9999n) / 10000n) plus checked safeAdd helpers (drift_micros = 0).
    • SQLite rollback double-fault and FD leak (ACT-6, Medium): Guarded ROLLBACK behind if (this.db.isTransaction) so auto-rolled-back SQLITE_FULL/SQLITE_IOERR root faults are never masked, and closed this.db on constructor identity-mismatch throws.
  • DSP Payload Grammar, Scorekeeper & Fee-Waterfall Second-Pass Closures (E14 to E18, ACT-3, ACT-4, ACT-5):
    • Strict control-character and surrogate rejection (ACT-3, Medium): Centrally rejected ASCII control characters ([\x00-\x1f\x7f]) and lone UTF-16 surrogates across policy validation, DV360 (renderValueScript now also validates dimensions, integer exchanges, finite scores, and empty rules), Beeswax, TTD (ttdBidLists), and all 5 SSP deal descriptors (dealId now validated via usableId).
    • Exact fee-stack reconciliation and atomic row validation (ACT-4, Medium): Fixed an integer floor-division loophole in the deal scorekeeper that let 100.1% to 200% fee stacks pass on single-impression gross_micros (1000, 0), reconciled contradictory mixed micros/bps fields, and moved all validation before LineTotal mutation.
    • Undisclosed replaced-segment gate and exact fraction reduction (ACT-5, Medium): Forced obtain_fee_disclosure whenever any replaced_segments entry is "undisclosed" (even when replaced_data_cpm_micros is also supplied) and GCD-reduced breakEvenBook exact_lift fractions to prevent multi-row BigInt string growth.
    • Midnight-DST and statistical support (E14 to E18): Enforced minimum support + 95% confidence interval excluding parity before declaring a deal beat/lost, composite (exchange, deal_id) keying, midnight-DST handling (America/Santiago, Africa/Cairo, Asia/Beirut, America/Havana), autumn repeated-hour policies, and min_group_n >= 2 on join approvals.

5. Domain 4: Mathematical, attribution, and experimental integrity (precise-math)

Marketing attribution engines rarely get audited by a hostile quant. We checked our exact O(n) ratio Shapley solver (Schwinger-Beta quadrature), antithetic sampler, multi-dimensional ridge solver, sequential fee waterfall, and holdout power/integrity engines against independent 50-digit closed forms, NumPy 2.3.5, and planted code defects.

Exact ratio Shapley accuracy and scale (verified against independent closed forms)

Game FamilyPlayersMax |Error| / Largest Singleton RateMeasured Local Kernel Time (opt-level 2)
Equal denominators14 to 15,0009.1e-165.4 to 6.6 ms (500 players, 24.5 KB), 44 to 88.7 ms (5,000 players, 240.5 KB)
Single "whale" denominator (10^-3 to 10^12)14 to 5,0002.7e-1512.2 ms (500 players, 12 decades)
Two and three weight classes (up to 10^150 log-domain)60 to 5,0003.6e-1552.9 ms (500 players, 100 decades)
Exhaustive every-coalition heavy-tailed oracle18, 20, 225.4e-14 (float64 oracle limit)Zero stochastic draws

What we fought against and verified fixes

  1. u = 1 NaN Collapse & Alphabetical Name-Order Instability (D1, Medium):
    • Finding: When exactly 2, 12, or 32 dominant denominators outweighed small ones by >= 10^17, a quadrature panel collapsed onto u = 1.0, generating 0 x inf = NaN, and because decay summed in alphabetical segment-name order, the exact same game succeeded or failed depending on how segments were named.
    • Hardening and Re-Attack: Skip panels narrower than 1e-9, enforce strictly interior Gauss nodes, sum decay smallest-first in fixed bins, and allow auto to fall back cleanly to the calibrated antithetic sampler on numerical decline. Live re-attack: 33/33 extreme runs succeeded across both name orders up to 10^30 spend ratios; random 300- and 600-decade games matched 50-digit references to 1.0e-14 and 4.4e-14.
  2. Efficiency Check Blind to Symmetric-Kernel Errors: 5/5 Planted Mutants Caught (D2, Medium):
    • Finding: The efficiency check verifies that credits sum to the grand-coalition rate, which algebraically depends only on the antisymmetric part of the kernel. On equal-denominator games, the auditor deliberately broke the quadrature, producing per-player credit errors up to 3.1e-3, while the efficiency check still passed at 4.1e-16.
    • Hardening and Live Mutation Re-Attack: Added independent closed-form per-player credit regressions at 500 and 5,000 players and exposed estimator.efficiency_residual in API outputs. On re-attack, the auditor planted all 5 broken-quadrature mutants directly into the hardened solver and ran the 60 contribution tests: 5/5 mutants were caught (each killed by 3 to 5 tests; unplanted 60/60 pass).
  3. Seed-Dependent Sampler Refusals & Sizer/Worker Drift (D3, D4, Medium/Low):
    • Finding: Under denom_policy: raise, a mixed-sign game refused 15/41 seeds and answered 26/41. Separately, denominator_field: "name" caused the sizer to plan quadrature while the worker enumerated.
    • Hardening and Re-Attack: Sampled ratio methods validate nonzero same-sign denominators up front (41/41 seeds deterministically refused); sizer now strips name identically to the worker. Antithetic sampler verified unbiased and well-calibrated at 1,024 draws (mean z^2 = 1.009, 4.9% outside +/-1.96).
  4. Ridge Parity, Fee Waterfalls & Experimental Integrity:
    • Ridge regression: Verified across 8 heavy-tailed multi-dimensional systems against NumPy 2.3.5 (max coefficient gap 4.49e-12); weights normalized to mean 1 so regularization lambda is unit-invariant, and pruning ranks by spend rather than alphabetically.
    • Sequential fee waterfalls: Exact BigInt rational arithmetic distinguishes omitted replaced 3P data (omitted_replaced_data) from undisclosed fees (obtain_fee_disclosure), forces disclosure whenever any replaced_segments entry is undisclosed (ACT-5), and never silently prices an unknown fee as $0.
    • Holdout and Simpson's-paradox guardrails (31/31 quant red-team tests passing): Blocks decision credit on underpowered holdouts (ORD-067: 48 per arm, 13.84 pp MDE vs. 57,487 required), rejects contaminated controls (ORD-044: 31.5% holdout contamination), and surfaces within-publisher reversals hidden by pooled averages (15.3% pooled vs. 6.8% within-publisher).

6. Domain 5: Multi-tenant control plane, agentic buying, and clean room trust

A. Multi-tenant control plane and agentic buying (precise-access)

Verified across 191/191 unified precise-access tests, 204/204 PostgreSQL 17.12 RLS tests, 7/7 official @adcp/sdk@14.0.0 interoperability tests, and re-run of the second-pass control-plane probe battery:

  • Database-Enforced Tenant Isolation (PostgreSQL 17 FORCE RLS): Migration 004_rls.sql enables and forces Row-Level Security on all 24 tenant tables, verified under a non-superuser migration owner and a separate non-owner, non-BYPASSRLS runtime service role. Unfiltered cross-tenant SQL reads and writes fail at the database boundary; pre-authentication seller lookup is isolated behind a narrowly granted SECURITY DEFINER function honoring revocation; cross-tenant SSE leakage tested at 0 events.
  • Forged Governance Tokens, Request Signatures, Spend-Cap & Deployment Guards (ACC-1, ACC-4, one-origin hardening):
    • All 27/27 official AdCP 3.2.12 token vectors (EdDSA + ES256) and RFC 9421/9530 request-signing vectors pass with raw-JSON duplicate-key rejection and DB-backed replay nonces.
    • AdCP spend-cap bypass closed (ACC-1, High): Previously, passing a low payload.total_budget ($10) could shadow a $50,000 proposal.commercial_terms.total_budget on accept_proposal or $50,000 purchases[].budget on buy_products, approving $50,000 against a $100 cap with a signed token. Hardened check_governance independently parses and reconciles payload.total_budget, commercial.total_budget, and sum(purchases[].budget), failing closed with a critical terms finding on any amount or currency disagreement.
    • RFC 9421 Step-4 prototype-key bypass closed (ACC-4, Medium): Replaced plain-object lookup tables (JWK_ALG, EVIDENCE_FOR, RULE_ENFORCEMENT) with null-prototype frozen maps + Object.hasOwn() and explicit ES256/EdDSA branching, killing alg="toString" Step-4 allowlist bypasses.
    • Fail-closed deployment and clock auth: Unauthenticated advance_time now returns HTTP 401; PRECISE_ACCESS_PROFILE=spend-capable refuses startup (exit 2, listing every missing requirement without echoing secret values) whenever a signing key, account database, or caller list is absent.
  • Database Durability, Input Validation & Capability Isolation (ACC-2, ACC-3, ACC-5, ACC-6):
    • Pool hygiene (ACC-2, High): pgExecutor.transaction() now calls client.release(true) whenever ROLLBACK fails, destroying broken or open-transaction connections rather than returning them to the pg pool.
    • Savepoint integrity (ACC-3, Medium): PostgresTx.update() checks rowCount > 1 before RELEASE SAVEPOINT precise_update, eliminating 25P02 outer-transaction poisoning.
    • Zero unhandled 500s (ACC-5, Medium): Guarded /approve/:id to return clean 404 on invalid characters (fixing an undefined response crash on /approve/foo!bar), wrapped decodeURIComponent and tenantOfApproval as 400/404, validated non-negative integer tool args (version, limit), bounded per_seller_max_pct in [0, 100] (eliminating 1e305 -> Infinity BigInt crashes), and rejected duplicate policy_id as 400 INVALID_REQUEST.
    • SSE capability and atomic approval state (ACC-6, Medium): Omitted raw approval_id capability tokens from the tenant-wide /api/v1/events SSE feed (publishing { governed_action_id, state } instead) and unified buy_request (awaiting_approval) + buy_approval creation inside one atomic database transaction.
  • Rule Coverage, Provenance Locks, Read-Only Safety & Consolidated Touch ID Approval: Governance verdicts distinguish enforced, recorded_only, and unavailable; strictly read-only buying_inspect never advances dispatch or settlement; Figure serialization locks authoritative IDs/digests/timestamps; ambiguous seller orders require cryptographic action-hash or terms-digest confirmation; and /approve/:id is the sole human WebAuthn spend authority.

B. Bilateral Partner Clean Room (cleanroom/: 73/73 Rust tests, 48/48 JS verifier tests)

  • Household k-Anonymity Floor Enforcement: Drops rows with missing household keys, enforces 1-to-1 household bijection across owners, and proves via regression that 180 matched identifiers across 60 households passes a floor of 60 and withholds membership at 61, even when differential-privacy noise pushes the noisy count to 61.
  • Second-Pass Privacy, Ledger & Normalization Closures (CR-1 to CR-4: 3 High, 1 Medium):
    • Exact-threshold DP oracle closed (CR-1, High): Previously, adcp_segment_activation under GeometricDp checked exact matched_units >= floor alongside the noisy audience count, leaking the exact threshold predicate in 16/40 runs (audience: 57, activated: false at true_matched=49, floor=50, infinite privacy loss). Hardened activation computes activated purely as post-processing of the DP count via an exact integer u128 threshold (dp_activation_threshold, mirrored in BigInt inside the JS verifier), verified at 0 leaks across 40 seeds x {49, 50}.
    • Subgroup existence disclosure closed (CR-2, High): Previously, a 1-person subgroup ("rare_vip_ceo") leaked into groups[] under both StrictFloor and GeometricDp. Hardened group_lift omits < floor subgroups in StrictFloor and supports a co-signed fixed groups domain / DP stability threshold in GeometricDp, verified at leaked_group_entry=None in both modes.
    • Permanent dual-ledger bricking and AB/BA deadlock closed (CR-3, High): Previously, room::run wrote irreversible seq/N.json reservation locks to both owners' ledgers before validating Parquet schemas, snapshot_digest, household bijection, or non-empty groups, permanently bricking both datasets on deterministic validation errors. Hardened execution splits pure deterministic engine::prepare before ledger.reserve(), acquires dual locks in canonical (dataset_id, ledger_prefix) order, and scans store.list("seq") on load.
    • Match-key invisible-character and domain hardening (CR-4, Medium): precise.email-norm/v1 strips leading/trailing UTF-8 BOM (\u{feff}), rejects all 21 Unicode Cf invisible format character ranges (ZWSP, soft hyphen, bidi marks, and related format characters), and enforces strict ASCII LDH ([a-z0-9-]) domain labels, preventing silent match-rate loss from spreadsheet BOM exports or punctuation injection while keeping 5-email match-key parity (0 customer rows read).
  • Attestation Claim Pinning, Native v2 Leaves & Zero Verifier Drift: Both Rust and JavaScript verifiers enforce the Google issuer (https://confidentialcomputing.googleapis.com), audience precise-room, integral iat/nbf/exp, boolean memory: false, and X.509 signing usage, CA depth, and critical-extension checks, explicitly surfacing trust_root as google_confidential_space, supplied_test_root, or null. Room proofs now natively emit precise.commitment-leaf/v2 (room_envelope and room_execution leaves bound to the co-signed payer tenant) while preserving backward verification of archived 11-leaf v1 proofs; all 9/9 checks agree across Rust, Node, and offline Chromium HTML.

C. Cross-language golden vectors: zero divergences across all 6 engines

We expanded and ran our shared 336-probe golden corpus across all 6 engines (Gateway Rust, Room Rust, Room JS, Access, Flagship, and standalone Room HTML in Chromium):

  • Bit-for-bit RFC and Merkle parity: All 6/6 engines match 26/26 RFC 8785 Appendix B binary64 canonicalization vectors and all RFC 9162 Merkle roots and inclusion proofs.
  • Native v2 leaves, strict raw JSON, and unified money rules: Room Rust CLI now emits native precise.commitment-leaf/v2 leaves and parses every JSON input through one strict raw reader (rejecting duplicate keys, integers > 2^53, float money, and unpaired UTF-16 surrogates), while the JavaScript wire reader applies the exact Rust money rules with zero profile switching.
  • All 3 subtle JS-vs-Rust reader residuals closed:
    1. Nesting depth: JS aligned from depth > 200 to Rust's depth >= 128.
    2. Whitespace trimming: JS aligned from ECMAScript String.prototype.trim() to Unicode \p{White_Space} matching Rust char::is_whitespace (U+0085 treated as whitespace; U+FEFF not treated as whitespace) across all mirrored verifier and wire checks.
    3. Owner org comparison: JS aligned to ASCII-only case folding matching Rust's eq_ignore_ascii_case.
  • Verified parity scorecard: 1,482 match, 0 diverge, 0 errors across all 6 engines, and 1,018 match, 0 diverge, 0 errors on the assembled runtime, with 336 probes per engine. Forged chain_anchored claims and unverified records carrying signatures remain rejected at parse time.

7. Domain 6: Product, buyer-POV, and documentation red-teaming

A mathematically sound system still fails commercial diligence if a CFO sees an unexplained loss, a Head of Trading sees a destructive button mislabeled as undo, or an agency engineer hits 404 on the first copy-pasted API example. We red-teamed product UX, docs, schematics, and decks with the same rigor as Rust code, running 10 cold-read buyer personas (6 slide buyers plus CEO, Holdco Head of Trading, Brand VP of Media, and Agency CTO across the live app and docs), auditing 38 substantive commercial meetings across 40 days of real customer calls, replaying 42 live API/MCP doc panels, checking 19 recorded product previews, auditing 3 interactive system schematics, and inspecting 17 Keynote-rendered slides.

Concrete buyer-trust killers caught and resolved

Buyer-Trust Failure CaughtHow It Broke CredibilityHardening & Product Fix
Fee Pools Mislabeled as Collectable Savings"Addressable 3P Data Savings" ($287,784 / $914,195) showed 5 of 6 vendors at 100% of fees paid, reading like promised cash instead of an observed pool.Reframed plainly as observed monthly spend in reach ($288K to $504K measured in logs: $287,784 data-fee pool, including $13,920 under House First-Party, plus $215,984 non-contract deal premium, explicitly excluding $438,244 on 4 contract deals), stating clearly that each swap is tested before it counts.
0.92% Hero Number Burying the Prize & Cold-Start LatencyLeading Home with +$59,997 against $6.55M monthly spend made buyers conclude "under 1%, we do not need this." Overlapping September windows earlier inflated a headline to $77,274, and the first Home load took 6.4 s cold.Deduplicated September net gain to +$59,997 (3 of 5 landed inside their forecast range. One lost money., -$4,200 included in net), structured Home to lead with the sized monthly opportunity above proven gain and the next 7-day Decision (+$26,947, $539 holdout cost, twin-line test plan above Approve), moved reconciliation to Audit & API, and pre-warmed month queries at startup (6.4 s to 7 ms).
Seller Yield Move Leading a Buyer's App & Unsafe "Pause" CTAA seller bonus-inventory recommendation led a buyer's app, and buying_rollback (paused: true) carried a generic "Pause applied revision 1" label, creating a live-desk pacing hazard.Replaced with buyer-side open-exchange bid shading (D-035); split rollback honestly by rail: Revert to prior settings (DSP prior-snapshot restore) vs. crimson Pause this media buy (stops delivery) (AdCP seller pause); surfaced the account's compiled goal (Desk margin) and read-only execution mode indicator cleanly.
Unintegrated Holdco Claims & Antagonistic FramingCopy named four unintegrated holding-company stacks, printed "optimizers that grade themselves", "a weekend with Claude", "fiduciary", "hidden take rates", and an unbacked "35%" blanket curator claim.Replaced unintegrated names in live product chrome with "Connect your agency's agent"; removed all antagonistic and legal-claim language; replaced with objective fee-waterfall arithmetic (9% + 10% = +22.1% break-even; "after every fee, ours included") and "on the board" disarm framing that lets internal tools win when they beat Precise.
Crypto Walls, Match-Key False Negatives & Internal DialectTouch ID approval opened on "Loading the frozen request...", raw JSON, and two SHA-256 hex strings; UI used internal jargon and leaked git strings; matching clean-room tables could render match_formats_agree: false alongside ready: true.Locked plain ad-tech vocabulary (Execution Controls, Approval Required, Spend Breakdown, BAU Control Line, Partner Clean Room, Audit & API), rebuilt /approve/:id as a 5-row executive brief with hashes collapsed one click down, fixed Match Key preflight (match_formats_agree: true, ready: true), and scrubbed raw revision hashes from buyer surfaces (24 to 0 on portal pages).
Docs/Sandbox One-Origin Drift & Stale Product PreviewsReplaying live docs panels against a single unified candidate origin hit 28 failures (21 REST 404s + verb drift); portal relay stripped Mcp-Method and Precise-Workspace; CI exited 0 on HTTP 429; llms-full.txt broke 68/136 links; 7/19 recorded product previews drifted; and internal docs fell back to raw text on 6/6 Mermaid sequences.Unified one-origin handler passes 42/42 live docs panels, 19/19 product previews, 27/27 standalone (28/28 integrated) portal tests, strict 429 CI gating, 0 broken llms-full.txt links, 6/6 rendered SVG sequences, and 3 interactive schematics (Launch, Measure, Move, Prove with explicit Partner-connected step markers; 0 overflows/overlaps/banned words).
Broken Keynote XML & Font Drift in Sales DecksEarlier Python-generated .pptx decks failed to open in Keynote ("file format is invalid") due to an unlisted speaker-notes master, and fractional font sizes shrank up to 8%.Rebuilt all 4 decks (17 slides) from single-source HTML to PDF + .pptx using whole-point typography; all 17 slides verified visually in Keynote (median width ratio 1.000, 0 overflows, 0 banned words).

8. Honest verification scope and external release gates

We publish this boundary alongside our test counts so CISOs, agency CTOs, and trading leads know exactly what is proven today in automated and local adversarial testing versus what remains gated on external release milestones and first live partner environments.

Proven in Automated, Loopback & Live Adversarial Runs TodayOpen External Release & Live Partner Gates
Governed SQL & Rust Math (precise-gateway, precise-math, precise-contracts): Exhaustive compile-time fail-closed Expr AST isolation (zero _ => arms), 40/40 set-comparison attacks blocked at query 1 (0 leaks), 59/59 bypass pairs silent (0 leaks), 7/7 public analytical SQL shapes + theta_estimate(theta_union(...)) passing 100%, error-text PII suppression, link-join isolation, recursion/deadline ceilings, 5/5 killed quadrature mutants, 5.4e-14 exact ratio Shapley accuracy up to 5,000 players, and 41/41 deterministic sign refusals.Live Customer Cloud Warehouses: Real IAM grants, customer principals, and executed DDL/reads inside live AWS Athena, Google BigQuery, Snowflake, and Databricks customer environments (validated today via 10 golden SQL fixtures, 4 loopback providers, and vendor specs).
Multi-Cloud & Iceberg Client (924 injection inputs, 94 sink paths): Pre-transport traversal rejection (0 foreign requests), fail-closed catalog restriction enforcement, RSA >= 2048-bit auth enforcement, saturating non-echoing credential expiry errors, challenge-bound Apache sketch parity, non-existent canary failure, and nonce/TTL-bound offline card verification (91/91 tamper rejections).Live Authenticated DSP & SSP Write Clients (live_client: false today): External OAuth/API dispatchers and live platform readbacks for TTD, DV360, Amazon DSP, Beeswax, and curated SSP deals across Index Exchange, Equativ, Magnite, OpenX, and PubMatic (demand-driven rollout), plus verification of gated TTD/Amazon/SSP schemas against signed-in vendor portals.
Multi-Tenant Control Plane (191 unified Access tests, 204 PG17 RLS tests, 7 @adcp/sdk tests): PostgreSQL 17 FORCE RLS across 24 tenant tables under non-owner/non-BYPASSRLS role, 27/27 AdCP 3.2.12 vectors, fail-closed multi-source budget reconciliation (ACC-1), pool/savepoint durability (ACC-2, ACC-3), null-prototype RFC 9421 signing (ACC-4), zero unhandled 500s (ACC-5), capability-scrubbed SSE + atomic approvals (ACC-6), HTTP 401 on unauthenticated advance_time, fail-closed spend-capable startup, and WebAuthn Touch ID challenge binding.Live Hardware GCP Confidential Space TEE Attestation: Real Google hardware attestation token (google_confidential_space root), attested s3:///gs:// conditional-write owner bucket transport, delayed owner decryption until both debits are durable, and destination-encrypted segment delivery.
Partner Clean Room, Auction Edge & Activation (73 Rust / 48 JS Room tests; 57 container tests; 93 Activation tests, 0 skips; 42 Contract tests): Strict household k-floor (180 IDs / 60 HH), integer u128/BigInt DP activation threshold (0 leaks across 40 seeds), subgroup-omission and fixed-domain group_lift, pre-reserve engine::prepare + canonical lock order, BOM/Cf/LDH email normalization, native precise.commitment-leaf/v2 + 0 divergences across all 6 crypto engines (1,482 matches), external_host contract across all 3 layers, 29.7/41.3 us 128x128 capped auction evaluation (33x/67x speedup) + 0 us Tokio reload stall, 5/5 live local SSP Rust edge gRPC handoffs, monotonic clock_hwm lease protection, exact BigInt $1M+ reserves (drift=0), strict DSP/SSP payload grammar, exact 10000n-scaled scorekeeper and undisclosed-segment fee gates, and NumPy 2.3.5 ridge parity (4.49e-12).Third-Party External Penetration Test & Independent L1 Finality Anchor: Accredited external third-party penetration test (all red-teaming to date is internal opposite-model adversarial verification); live AliceNet / Ethereum L1 or RFC 3161 finality anchor (detached store refuses forged chain_anchored claims rather than simulating finality); live detached signature/inclusion verifier in precise-store; and production KMS/WebAuthn enrollment ceremonies.
Public Book, One-Origin Sandbox & Portal Integrity (42/42 live docs checks, 19/19 previews, 27/27 portal tests, 31/31 quant tests): Byte-exact DuckDB SQL reproduction over sandbox.precise.ai Parquet ($19.85M / 2B impressions synthetic book), 7 ms warm Home latency, 6/6 SVG sequences, 3/3 interactive schematics (0 visual/wording faults), and 17/17 Keynote-verified slides.First Real Scored Customer Campaign, portfolio/select Refit & Mainline Production Cutover: Replacing synthetic sandbox figures ($0 realized customer cash evidenced in the synthetic book) with the first consented live campaign (pinned read, approved move, independent readback, BAU holdout settlement), refitting portfolio/select on real settle history, merging all hardened branches onto main, and deploying the unified binary to production.

Where to go next

↑↓ to move↵ to open

Connect an agent

Precise Sandbox speaks MCP over Streamable HTTP with a per-company workspace key (penv_...). Request a private sandbox key at sandbox.precise.ai.

https://sandbox.precise.ai/api/mcp/<YOUR_SANDBOX_KEY>

Set PRECISE_SANDBOX_KEY to your per-company workspace key (penv_...), then run once in a terminal.

claude mcp add --transport http precise-sandbox https://sandbox.precise.ai/api/mcp --header "Authorization: Bearer $PRECISE_SANDBOX_KEY"