Bringing Trust to the Edge: Secure Execution Without Consensus

Bringing Trust to the Edge: Secure Execution Without Consensus

Trust on the edge is becoming as crucial as confidentiality—a right increasingly seen as fundamental. While blockchains rely on consensus for trust, what if execution could be securely verified at the edge, without needing external validation? The challenge lies in ensuring state integrity: malicious users could roll back transactions, enabling double-spending. Solutions like hardware-backed trusted execution (TEEs), programmable secure enclaves (e.g., Trusty OS), and blockchain-like ‘trusted mobile apps’ could redefine edge security. The key? Enabling arbitrary, tamper-proof computation on personal devices—without sacrificing user control or scalability.

Trust on the edge is becoming as crucial as confidentiality, which is increasingly regarded as a fundamental human right. Today, technologies like Bitcoin and other blockchains rely on consensus mechanisms to establish trust. While some protocols enable edge devices to compute trust locally, verification still often requires interaction with a blockchain before transacting with other parties.

This raises an important question: Can we achieve trust on the edge in a way that allows execution on a device without requiring external consensus, while remaining mathematically verifiable by any party?

The Challenge of Trusted Edge Execution

Many researchers and engineers have explored this problem (e.g., ASU Keep Repository). While promising solutions exist, a critical challenge remains: How can we ensure the integrity of the state?

In SoloSafe research, we found that commitments between parties can enable secure program execution. However, a major vulnerability persists—a malicious user could roll back to a previous state and double-spend, making it difficult for counterparties to detect newer transactions.

To solve this, we need both hardware and software solutions.

1. Mobile Trusted Execution Environments (TEEs)

Hardware-based TEEs like Intel SGX and ARM TrustZone provide secure execution for sensitive code. However, mobile platforms restrict arbitrary trusted computation, limiting their ability to prevent state tampering by malicious users.

The Chicken-and-Egg Problem

A smartphone is a personal device—should it allow an enclave for arbitrary code execution outside the owner’s control?

I argue yes. This trusted enclave would act as a consensus zone between parties. If external entities can verify that computations ran independently of the device owner, trust is established. After all, trust only exists when multiple parties agree on a shared truth.

2. Google’s Trusty OS: A Potential Solution

Trusty OS could be a breakthrough for edge trust, as it may enable arbitrary secure computation on Android. In contrast, Apple’s Secure Enclave only offers basic cryptographic functions (encrypt, decrypt, sign, verify). We need more advanced programmability to fully realize trust on the edge.

3. Trusted Mobile Apps: Smart Contracts for the Edge

Trusted mobile apps could function like smart contracts but run on edge devices without requiring blockchain consensus. Since blockchains face scalability issues due to consensus mechanisms, edge-based trusted apps could offer a more efficient alternative.

To prevent abuse, OS vendors could:

  • Define constrained CPU/memory usage for trusted apps.
  • Use domain-specific languages (like Solidity, Cairo, or Move) but optimized for edge execution.
  • Design CPU frameworks with restricted OP_CODES to ensure secure, predictable execution.

Conclusion: The Future of Edge Trust

Achieving trust on the edge without consensus is possible but requires:
Hardware-backed TEEs with open, programmable execution.
OS-level support (e.g., Trusty OS) for secure, arbitrary computation.
Trusted mobile apps with constrained execution environments.

By combining these approaches, we can enable mathematically verifiable, consensus-free trust—unlocking new possibilities for decentralized, scalable, and secure edge computing.

Photo by Andrew Neel: https://www.pexels.com/photo/person-on-cliff-2026422/

Posted by elielmathe