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
- 1. Executive overview: opposite-model adversarial verification
- Core engineering principle: hardening without product drag
- Headline red-team scorecard (November 2026)
- 2. Domain 1: In-cloud data privacy and governed SQL (precise-gateway)
- What we fought against and verified fixes
- Compile-time fail-closed identifier isolation with 100% public SQL expressiveness
- 3. Domain 2: Multi-cloud lakehouse and Iceberg supply-chain isolation
- What we fought against and verified fixes
- 4. Domain 3: Real-time bidding, budget authority, and supply-side auction protection
- A. Bid kernel and shader (precise-bid-kernel, precise-bid-shader)
- B. Supply-side auction container (artf/: 57/57 Rust tests, 0 clippy warnings, 24 conformance tests)
- C. Activation, readback, budget leases, and time alignment (precise-activation, harness/)
- 5. Domain 4: Mathematical, attribution, and experimental integrity (precise-math)
- Exact ratio Shapley accuracy and scale (verified against independent closed forms)
- What we fought against and verified fixes
- 6. Domain 5: Multi-tenant control plane, agentic buying, and clean room trust
- A. Multi-tenant control plane and agentic buying (precise-access)
- B. Bilateral Partner Clean Room (cleanroom/: 73/73 Rust tests, 48/48 JS verifier tests)
- C. Cross-language golden vectors: zero divergences across all 6 engines
- 7. Domain 6: Product, buyer-POV, and documentation red-teaming
- Concrete buyer-trust killers caught and resolved
- 8. Honest verification scope and external release gates
- Where to go next
| Capability | Runtime | Status |
|---|---|---|
| Query governed SQL output rules and verify synthetic proofs on the public book | Sandbox | Live |
| Enforce identifier isolation, Iceberg prefix checks, and PostgreSQL 17 row-level security | Tenant Cloud | Preview |
| Run bilateral Partner Clean Room matching with household floors and differential privacy | Tenant Cloud | Preview |
| Run real-time supply-side auction container scoring with host-confirmed readback | Partner Edge | Preview |
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:
- 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 RLSprobes, cross-language cryptographic vectors, CPU-cgroup load profiles, and cold-read buyer personas. - 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.
- 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.
Diagram source
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 (WITHCTEs,WINDOWfunctions,CASE WHEN,HAVING,COALESCE, percentiles,FILTER, public subqueries, andtheta_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 Domain | Primary Surface | Adversarial Probes Executed | Critical / High / Medium Findings Closed | Verification & Open External Gates |
|---|---|---|---|---|
| 1. In-Cloud Governed SQL & PII | precise-gateway | 2,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 Isolation | precise-iceberg, precise-gateway | Path 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 probes | 12 / 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 Edge | precise-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 profiles | 16 / 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 & Leases | precise-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 transitions | 22 / 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 & Experiments | precise-math, eval-enclave | 50-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 tests | 4 / 4 (D1 to D4) + 5 / 5 mutants caught | Re-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 Buying | precise-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 guards | Hardened 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 & Crypto | cleanroom/, 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 residuals | Hardened 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 & Docs | precise-app, docs/portal, decks | 10 cold-read personas, 38 substantive buyer meetings (40 days), 42 live portal panels, 19 product previews, 3 interactive schematics, 17 Keynote-rendered slides | 30 copy rewrites, 8 UX fixes, 42/42 live panels, 19/19 previews, 17/17 slides | Aligned 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 Class | Verified Exploit Against Initial Build | Hardening Implemented | Live 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_keybetween governed identifier columns), governed cardinality counts (COUNT(DISTINCT id),APPROX_DISTINCT(id),COUNT(id)respecting tablek-floors), and governed sketch aggregates (HLL_SKETCH,THETA_SKETCH,THETA_UNION, scalar-subqueryTHETA_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/MATERIALIZEDCTEs,WINDOWfunctions (ROW_NUMBER(),RANK(),SUM() OVER (...)),CASE WHEN,HAVING,COALESCE,approx_percentile_cont,FILTER, and public= ANY/>= ALL/EXISTS/INsubqueries 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
- 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 beforeUrl::parsestripped tabs/newlines and collapsed dot segments, causing the Gateway to fetchtenant-brows 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 verified0requests ever sent totenant-b(blocked before transport across tab/LF/CR-in-dots,%2e%2e, backslash, and sibling prefixtenant-abc, in both direct and vended-credential modes).
- Attack: A hostile manifest referenced
- Warehouse Fallback Dropping Catalog Row Filters & Column Masks (
B2,B9a, Critical):- Attack: Adding one nested list column (or returning HTTP
404/501on table load) routed the reader to warehouse export fallback beforeRestrictions::parseran, staging filtered rows and maskedhemcolumns 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/501table load failures now fail closed (warehouse fallback cannot enforce catalog read restrictions).
- Attack: Adding one nested list column (or returning HTTP
- Eternal & Cross-Tenant Topology Card Replay (
B3, High):- Attack: Signed connection verification cards had no
issued_at,expires_at, ornonce, 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 --verifyrequires tenant and max-age checks (with ergonomic defaults fromPRECISE_TOPOLOGY_TENANTand3600 slifetime so operators cannot accidentally omit bounds). Re-attack confirmed wrong-tenant and expired cards exit1, and 91/91 single-field tamper mutations (plusalg: noneandHS256) fail closed.
- Attack: Signed connection verification cards had no
- Unpinned Reads, Vendor SQL Semantics, Injection & Silent Grant Typos (
B4toB6,B9etoB9f, 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/Volumesas an external Parquet table location, and silently ignored misspelled fields likerequire_governence. - Hardening and Re-Attack: Every export pins an immutable source revision (
VERSION AS OF/as_ofacross 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/Volumesfor external Parquet tables while preserving Arrow staging, requiresproject.location.connectionorDEFAULTon BigQuery Iceberg, binds execution records to revision/predicate/SQL digest/row count, scopes job IDs by grant/sink/attempt, and enforces strictdeny_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.
- Attack: Exports lacked time-travel clauses (
- Forged Sketch Parity & Phantom Negative Canaries (
B7,B8,B9btoB9c, High/Medium):- Attack: Rust's
Hashforstrappended0xFF, 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 passedverified: truefor tables that never existed. Float filters widened tof64(gt(price, 0.1)kept0.1), andnot-eqdroppedNULLrows. - Hardening and Re-Attack: Sketches consume raw UTF-8 bytes verified against a fresh challenge-bound series; negative canaries require independent existence proof plus
403on bothHEADandload(missing tables now fail all 6 checks); float literals bind at source precision andnot-eqpreservesNULLrows while rejectingNULLcomparison literals.
- Attack: Rust's
- 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_claimsandverify_claimsnow enforcekey.n().bits() >= 2048(rejecting RSA-512 and RSA-1024 keys outright); expiry checks usems.saturating_sub(now_ms)to eliminate underflow panics; and malformed vended credentials or expiry parse failures return static, non-echoing diagnostic errors.
- Finding: Iceberg JWT auth accepted weak RSA keys below 2048 bits (such as RSA-512/1024), credential expiry arithmetic (
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 setevaluatedAtMs: 0(or year2100) to skip a$0budget or revive a year-old lease, and setcurrentPaceRatio: 0to 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 pastttlMs, 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_hostSeparation (C4,C6, Medium/Low): Misspelled line fields (remaining_daily_budget_usd) silently dropped caps, missingbudgetAuthoritydefaulted tonone, and unmanaged paused lines passed through at$1e9. Fix and re-attack: Line-leveldeny_unknown_fields, mandatory explicit v2budgetAuthority, explicitBudgetAuthority::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_hostControl Contract (D1, High): The supply-side auction container initially rejected the core control schema'sbudgetAuthorityfield. Fix: ReconciledBudgetAuthority::ExternalHost("external_host") end-to-end across all three layers: core bid kernel/shader (defines and refusesexternal_host), supply-side auction agent (acceptsexternal_hostfor writes andnonefor metrics; rejectshost/lease; byte-identical golden fixtures verified), and activation/contracts (validatesexternal_hostand 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/metricpaths, 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-impressionACTIVATE_DEALSgating plus one exploration draw per auction/line, verified at 4.77% (954/20,000) identically across 1, 2, and 8 impressions. - Container Operational Hardening (
D5toD23):- Graceful
SIGTERMhandling (previously ignored in scratch PID 1, hanging 6.1 s toexit 137; now switches readiness and gRPC health toNOT_SERVING, refuses new auctions, drains in-flight RPCs, and exits0). - Persistent
ARTF_STATE_FILEhigh-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.6video.plcmt+ DOOH support, and COPPA/GDPR/GPP/US-Privacy segment gating.
- Graceful
- 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
Dealstructs), full-tree Prost decode + drop (~587 usnative) plus nestedBTreeMapscoring and per-impression allocations (~406 uscapped /~1,917 usnomatch) 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 p99unchanged;20.5 to 25.8 mson a new revision). - Zero-behavior-change hardening (
ARTF-1,ARTF-2): CompiledActiveSnapshotinto dense flat arrays andu128bitmasks with hoisted request-level contextual fields, added a lazy zero-copy protobuf wire evaluation path (LazyRtbServer/get_mutations_wire) that stops decoding immediately upon hittingmax_mutations, and moved the 250 ms policy reload loop onto a dedicated OS thread (artf-policy-reload) with aFileStamp(dev, ino, len, mtime) metadata fast-path.
- Root cause reproduced in profiling: On extreme 128 lines x 128 impressions auctions (123.7 KB protobuf wire payload, 16,384
| 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 us | 29.7 us / 41.3 us | 33x 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 us | 324.7 us / 438.3 us | 7.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 (
E1toE7): Spec-compliant pipe-delimited Beeswax export with 100 MB part splitting and manifest; typed dayparts (utc,zone_local,viewer_local) resolving Beeswax-vs-TTDHourOfWeekdivergence and refusing DST-straddling windows; positive single-writer grants on every stage; clean single-operationpause_line/pause_curated_dealchange sets withpaused_as_intendedreadback, explicit resume,not_after_msexpiry, base-state CAS, and generatedinverseChangeSetrollbacks. Every target explicitly declareslive_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.01CPM). Unapplied or overridden writes credit$0. - Budget Lease Double-Spend, Cloned Wallet & Second-Pass Integrity (
E10toE13,ACT-1,ACT-2,ACT-6):- Unreported bids and cloned wallets (
E10toE13): Pending bids time out after a signedpending_timeout_msinto a pooled late-win reserve (returning$0.79of a$1.00lease 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 acrosstoken.expires_msresurrected expired or written-off leases inBidderWallet. Fixed invisibly by persisting a monotonicclock_hwm(max_seen_ms) table inside SQLite on everyBEGIN IMMEDIATEtransaction plus aprocess.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 = -1at$1,000,000.01,bps = 9999). Fixed using exactBigIntceiling arithmetic ((BigInt(amount) * BigInt(bps) + 9999n) / 10000n) plus checkedsafeAddhelpers (drift_micros = 0). - SQLite rollback double-fault and FD leak (
ACT-6, Medium): GuardedROLLBACKbehindif (this.db.isTransaction)so auto-rolled-backSQLITE_FULL/SQLITE_IOERRroot faults are never masked, and closedthis.dbon constructor identity-mismatch throws.
- Unreported bids and cloned wallets (
- DSP Payload Grammar, Scorekeeper & Fee-Waterfall Second-Pass Closures (
E14toE18,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 (renderValueScriptnow also validates dimensions, integer exchanges, finite scores, and empty rules), Beeswax, TTD (ttdBidLists), and all 5 SSP deal descriptors (dealIdnow validated viausableId). - Exact fee-stack reconciliation and atomic row validation (
ACT-4, Medium): Fixed an integer floor-division loophole in the deal scorekeeper that let100.1%to200%fee stacks pass on single-impressiongross_micros(1000,0), reconciled contradictory mixedmicros/bpsfields, and moved all validation beforeLineTotalmutation. - Undisclosed replaced-segment gate and exact fraction reduction (
ACT-5, Medium): Forcedobtain_fee_disclosurewhenever anyreplaced_segmentsentry is"undisclosed"(even whenreplaced_data_cpm_microsis also supplied) and GCD-reducedbreakEvenBookexact_liftfractions to prevent multi-row BigInt string growth. - Midnight-DST and statistical support (
E14toE18): Enforced minimum support + 95% confidence interval excluding parity before declaring a dealbeat/lost, composite(exchange, deal_id)keying, midnight-DST handling (America/Santiago,Africa/Cairo,Asia/Beirut,America/Havana), autumn repeated-hour policies, andmin_group_n >= 2on join approvals.
- Strict control-character and surrogate rejection (
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 Family | Players | Max |Error| / Largest Singleton Rate | Measured Local Kernel Time (opt-level 2) |
|---|---|---|---|
| Equal denominators | 14 to 15,000 | 9.1e-16 | 5.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,000 | 2.7e-15 | 12.2 ms (500 players, 12 decades) |
Two and three weight classes (up to 10^150 log-domain) | 60 to 5,000 | 3.6e-15 | 52.9 ms (500 players, 100 decades) |
| Exhaustive every-coalition heavy-tailed oracle | 18, 20, 22 | 5.4e-14 (float64 oracle limit) | Zero stochastic draws |
What we fought against and verified fixes
u = 1NaN 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 ontou = 1.0, generating0 x inf = NaN, and becausedecaysummed 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 allowautoto fall back cleanly to the calibrated antithetic sampler on numerical decline. Live re-attack: 33/33 extreme runs succeeded across both name orders up to10^30spend ratios; random 300- and 600-decade games matched 50-digit references to1.0e-14and4.4e-14.
- Finding: When exactly 2, 12, or 32 dominant denominators outweighed small ones by
- 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 at4.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_residualin 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; unplanted60/60pass).
- 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
- 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
nameidentically to the worker. Antithetic sampler verified unbiased and well-calibrated at 1,024 draws (mean z^2 = 1.009,4.9%outside+/-1.96).
- Finding: Under
- 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 mean1so regularizationlambdais unit-invariant, and pruning ranks by spend rather than alphabetically. - Sequential fee waterfalls: Exact
BigIntrational arithmetic distinguishes omitted replaced 3P data (omitted_replaced_data) from undisclosed fees (obtain_fee_disclosure), forces disclosure whenever anyreplaced_segmentsentry is undisclosed (ACT-5), and never silently prices an unknown fee as$0. - Holdout and Simpson's-paradox guardrails (
31/31quant 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).
- Ridge regression: Verified across 8 heavy-tailed multi-dimensional systems against NumPy 2.3.5 (max coefficient gap
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): Migration004_rls.sqlenables and forces Row-Level Security on all 24 tenant tables, verified under a non-superuser migration owner and a separate non-owner, non-BYPASSRLSruntime service role. Unfiltered cross-tenant SQL reads and writes fail at the database boundary; pre-authentication seller lookup is isolated behind a narrowly grantedSECURITY DEFINERfunction honoring revocation; cross-tenant SSE leakage tested at0events. - 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 lowpayload.total_budget($10) could shadow a$50,000proposal.commercial_terms.total_budgetonaccept_proposalor$50,000purchases[].budgetonbuy_products, approving$50,000against a$100cap with a signed token. Hardenedcheck_governanceindependently parses and reconcilespayload.total_budget,commercial.total_budget, andsum(purchases[].budget), failing closed with a criticaltermsfinding 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 explicitES256/EdDSAbranching, killingalg="toString"Step-4 allowlist bypasses. - Fail-closed deployment and clock auth: Unauthenticated
advance_timenow returns HTTP401;PRECISE_ACCESS_PROFILE=spend-capablerefuses 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 callsclient.release(true)wheneverROLLBACKfails, destroying broken or open-transaction connections rather than returning them to thepgpool. - Savepoint integrity (
ACC-3, Medium):PostgresTx.update()checksrowCount > 1beforeRELEASE SAVEPOINT precise_update, eliminating25P02outer-transaction poisoning. - Zero unhandled 500s (
ACC-5, Medium): Guarded/approve/:idto return clean404on invalid characters (fixing anundefinedresponse crash on/approve/foo!bar), wrappeddecodeURIComponentandtenantOfApprovalas400/404, validated non-negative integer tool args (version,limit), boundedper_seller_max_pctin[0, 100](eliminating1e305 -> InfinityBigInt crashes), and rejected duplicatepolicy_idas400 INVALID_REQUEST. - SSE capability and atomic approval state (
ACC-6, Medium): Omitted rawapproval_idcapability tokens from the tenant-wide/api/v1/eventsSSE feed (publishing{ governed_action_id, state }instead) and unifiedbuy_request(awaiting_approval) +buy_approvalcreation inside one atomic database transaction.
- Pool hygiene (
- Rule Coverage, Provenance Locks, Read-Only Safety & Consolidated Touch ID Approval: Governance verdicts distinguish
enforced,recorded_only, andunavailable; strictly read-onlybuying_inspectnever advances dispatch or settlement; Figure serialization locks authoritative IDs/digests/timestamps; ambiguous seller orders require cryptographic action-hash or terms-digest confirmation; and/approve/:idis 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-1toCR-4: 3 High, 1 Medium):- Exact-threshold DP oracle closed (
CR-1, High): Previously,adcp_segment_activationunderGeometricDpchecked exactmatched_units >= flooralongside the noisyaudiencecount, leaking the exact threshold predicate in 16/40 runs (audience: 57, activated: falseattrue_matched=49, floor=50, infinite privacy loss). Hardened activation computesactivatedpurely as post-processing of the DP count via an exact integeru128threshold (dp_activation_threshold, mirrored inBigIntinside the JS verifier), verified at0leaks across 40 seeds x{49, 50}. - Subgroup existence disclosure closed (
CR-2, High): Previously, a 1-person subgroup ("rare_vip_ceo") leaked intogroups[]under bothStrictFloorandGeometricDp. Hardenedgroup_liftomits< floorsubgroups inStrictFloorand supports a co-signed fixedgroupsdomain / DP stability threshold inGeometricDp, verified atleaked_group_entry=Nonein both modes. - Permanent dual-ledger bricking and AB/BA deadlock closed (
CR-3, High): Previously,room::runwrote irreversibleseq/N.jsonreservation 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 deterministicengine::preparebeforeledger.reserve(), acquires dual locks in canonical(dataset_id, ledger_prefix)order, and scansstore.list("seq")on load. - Match-key invisible-character and domain hardening (
CR-4, Medium):precise.email-norm/v1strips leading/trailing UTF-8 BOM (\u{feff}), rejects all 21 UnicodeCfinvisible 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 keeping5-emailmatch-key parity (0customer rows read).
- Exact-threshold DP oracle closed (
- Attestation Claim Pinning, Native
v2Leaves & Zero Verifier Drift: Both Rust and JavaScript verifiers enforce the Google issuer (https://confidentialcomputing.googleapis.com), audienceprecise-room, integraliat/nbf/exp, booleanmemory: false, and X.509 signing usage, CA depth, and critical-extension checks, explicitly surfacingtrust_rootasgoogle_confidential_space,supplied_test_root, ornull. Room proofs now natively emitprecise.commitment-leaf/v2(room_envelopeandroom_executionleaves bound to the co-signed payer tenant) while preserving backward verification of archived 11-leafv1proofs; 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
v2leaves, strict raw JSON, and unified money rules: Room Rust CLI now emits nativeprecise.commitment-leaf/v2leaves 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:
- Nesting depth: JS aligned from
depth > 200to Rust'sdepth >= 128. - Whitespace trimming: JS aligned from ECMAScript
String.prototype.trim()to Unicode\p{White_Space}matching Rustchar::is_whitespace(U+0085treated as whitespace;U+FEFFnot treated as whitespace) across all mirrored verifier and wire checks. - Owner org comparison: JS aligned to ASCII-only case folding matching Rust's
eq_ignore_ascii_case.
- Nesting depth: JS aligned from
- Verified parity scorecard:
1,482 match, 0 diverge, 0 errorsacross all 6 engines, and1,018 match, 0 diverge, 0 errorson the assembled runtime, with336probes per engine. Forgedchain_anchoredclaims andunverifiedrecords 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 Caught | How It Broke Credibility | Hardening & 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 Latency | Leading 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" CTA | A 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 Framing | Copy 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 Dialect | Touch 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 Previews | Replaying 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 Decks | Earlier 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 Today | Open 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
- Data boundaries: governed SQL isolation, cloud grants, and PostgreSQL row-level security.
- Partner Clean Room: dual approvals, household floors, and differential privacy.
- Offline verification: verify proofs locally with zero network calls.