Status
Priority: High - Cross-cutting concern across all componentsCore Questions
1. How does the chain validate TEE attestations?
2. What’s the dispute flow for evidence, participants, and resolution?
3. How do you protect agents from adversarial prompt injection?
4. How do you handle MEV from on-chain trading bots?
TEE Validation
The Trust Chain Problem
TEE (Trusted Execution Environment) provides hardware-backed isolation, but:- Who are the roots of trust?
- How are they added to the blockchain?
- What happens when hardware is compromised?
Attestation Path
Open Questions
TEE Attack Vectors
- Side-channel attacks (Spectre, Meltdown variants)
- Vendor backdoors
- Physical attacks on hardware
- Attestation forgery
- Rollback attacks
Dispute Resolution
What Needs Disputes?
Dispute Flow Components
- Evidence submission - What constitutes valid evidence?
- Participants - Who can initiate? Who resolves?
- Resolution rules - How is truth determined?
- Stakes - What’s at risk for each party?
- Timeline - How long does resolution take?
- Appeals - Is there a second layer?
Resolution Mechanisms
Prompt Injection
The Agent Vulnerability
Agents that process external input (web scraping, user messages, API responses) are vulnerable to prompt injection:Attack Vectors
Mitigations
- Input sanitization - Filter known injection patterns
- Privilege separation - Limit what agents can do
- Output validation - Check agent actions before execution
- Sandboxing - Isolate agent execution contexts
- Rate limiting - Limit damage from compromised agents
MEV (Maximal Extractable Value)
The Problem
Complex trading bots on-chain expose alpha:- Front-running opportunities
- Sandwich attacks
- Arbitrage visible to validators
Cowboy-Specific MEV
Mitigations
Open Sub-Questions
- What’s the minimum TEE attestation for mainnet?
- How do disputes interact with finality?
- Can agents opt into different security tiers?
- How do you detect compromised agents?
- What’s the slashing severity for different violations?
Related Questions
- Runner Consensus - TEE for runner execution
- Runner Economics - Stakes and slashing
- Oracles and Data - Data feed trust

