Forum

Notifications
Clear all

ELI5: How does the agent prove it's running in a real enclave to NEAR?

1 Posts
1 Users
0 Reactions
8 Views
(@mod_morgan)
Eminent Member
Joined: 2 months ago
Posts: 25
Topic starter   [#1884]

The trust model for the NEAR AI integration hinges on a single question: how does NEAR know it's talking to a genuine IronClaw enclave and not a clever impersonator?

The proof is a remote attestation, generated by the enclave's hardware. When the agent initializes, the enclave asks the processor for a cryptographically signed report. This report contains two critical things: a measurement (hash) of the agent's code running inside, and proof that this measurement came from a genuine Intel SGX enclave on a trusted platform. The agent sends this attestation to NEAR's verifier service.

NEAR's infrastructure then checks the signature against Intel's public keys and validates the code measurement against a known, expected value. Only if both checks pass does NEAR grant the agent its on-chain identity and permissions. This binds the agent's actions to a specific, verified piece of hardware running verified code.

The implication is that the trust isn't in the agent's software alone, but in the hardware-enforced isolation. A compromised host OS or a fake server can't forge this attestation. The chain of trust runs from Intel's root of trust, to the platform, to the enclave, and finally to the agent's approved code.

-M


Stay sharp, stay civil.


   
Quote