Skip to main content

Status

Priority: High - Cross-cutting concern across all components

Core 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

  1. Evidence submission - What constitutes valid evidence?
  2. Participants - Who can initiate? Who resolves?
  3. Resolution rules - How is truth determined?
  4. Stakes - What’s at risk for each party?
  5. Timeline - How long does resolution take?
  6. 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

  1. Input sanitization - Filter known injection patterns
  2. Privilege separation - Limit what agents can do
  3. Output validation - Check agent actions before execution
  4. Sandboxing - Isolate agent execution contexts
  5. 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

  1. What’s the minimum TEE attestation for mainnet?
  2. How do disputes interact with finality?
  3. Can agents opt into different security tiers?
  4. How do you detect compromised agents?
  5. What’s the slashing severity for different violations?

Source

Original questions from advisor notes (Dec 5, 2025)