Skip to content

Research: is TEE hardware attestation necessary, or does a reproducible-backtest checksum approach cover the real threat? #8136

Description

@JSONbored

Problem

Once the advisory backtest check is live and has a real track record, the same question applies to Loopover: if hosted ORB (per the current ~1-2-months-out roadmap) ever uses a backtest result to justify an automated decision to a customer, "trust the maintainer's report" is a weaker claim than "here's a cryptographically-attested execution anyone can verify." Before investing in TEE-specific infrastructure research, decide whether a cheaper mechanism already covers the real threat.

Area

Research spike. No code changes expected as the primary deliverable (a small proof-of-concept is acceptable if genuinely cheap, not required to close this issue).

Proposal

Threat model first. Who is the actual verifier, and what are they trying to verify — that the ground-truth corpus wasn't tampered with, that the score computation ran the real published code, or that the reported number wasn't fabricated outright? Different threats need different mechanisms: a checksum solves tampering; attestation solves "did the real code actually run"; neither solves "I don't trust the maintainer's infrastructure at all." Name which threat is actually in scope before evaluating a mechanism against it.

Then: does a reproducible-backtest approach cover that threat? Publish the corpus snapshot's checksum (BacktestCorpusManifest.checksum), the exact freeze point, and the script version, and let a skeptical third party independently re-run scoreBacktest/compareBacktestScores themselves and compare checksums. This proves the reported score is real, not fabricated, without any new infrastructure — for corpora that are safe to publish. It does NOT cover a private/held-out corpus (the corpus that must stay undisclosed for the anti-overfitting split to mean anything) — that's the one case this approach structurally can't reach.

Produce a short written recommendation: the reproducibility approach is sufficient, TEE research (#TEE-2, filed alongside this issue) isn't needed; the held-out-corpus gap is real and worth the TEE research; or neither is worth pursuing given the actual threat model. Any of these three is an acceptable, complete outcome.

Deliverables

  • A written recommendation (issue comment or a linked doc) naming the threat in scope and the final call.

Resources

Boundaries

No production code commitment beyond an optional cheap proof-of-concept. No hosted-product architecture decision made here beyond the written recommendation.

maintainer-only — research/strategy, not a build task for contributors.

Metadata

Metadata

Assignees

Labels

maintainer-onlyOwner-only work — yields no Gittensor points.roadmapOn the Wave-2 agent-layer roadmap board (project 9)

Projects

Status
Done
Status
Done

Relationships

None yet

Development

No branches or pull requests

Issue actions