# Spock A Software-Based RISC-V TEE for Secure Embedded Devices > [! note]- > The content of this page is generated by audio/video transcription and text transformation from the content and links of this source. Source: [https://fosdem.org/2025/schedule/event/fosdem-2025-5966-spock-a-software-based-risc-v-tee/](https://fosdem.org/2025/schedule/event/fosdem-2025-5966-spock-a-software-based-risc-v-tee/) <video src="https://video.fosdem.org/2025/k4401/fosdem-2025-5966-spock-a-software-based-risc-v-tee.av1.webm" controls></video> ## Summary & Highlights: Spock is a software-based Trusted Execution Environment (TEE) designed for RISC-V embedded devices, providing robust security without the need for specialized hardware. By leveraging Physical Memory Protection (PMP) and minimal system resources, Spock addresses the security needs of low-end devices in an interconnected world. The session explores Spock's architecture, core features, and the importance of secure computing for eco-social transformation. **Introduction to Spock** Spock is introduced as a solution for securing embedded devices, which often lack the resources for conventional TEEs. It relies on PMP for isolation and only requires machine and user modes from the RISC-V instruction set, making it suitable for low-resource environments. **Core Features and Capabilities** Spock's minimalist API design allows for secure execution and attestation, supporting virtualization and integration into low-resource devices. It offers both relocatable and fixed enclaves, providing flexibility for various use cases. **Why Spock Matters** Spock presents a modern, efficient solution for secure computing in low-resource embedded devices. Its design ensures that even the smallest devices can operate securely, aligning with the demands of a connected world. **Technical Details and Challenges** The session delves into the technical aspects of Spock, including its memory management and security manager functions. It also discusses potential challenges, such as formal verification and performance testing on real silicon. **Future Directions and Applications** Future work on Spock includes testing on real silicon, formal verification, and potential applications in eco-social design. The session highlights the importance of secure computing for sustainable development and community resilience. ## Importance for an eco-social transformation Spock's importance for an eco-social transformation lies in its ability to provide secure computing for low-resource embedded devices, which are crucial in many sustainable and social applications. By ensuring robust security with minimal hardware, Spock supports the development of resilient and sustainable technologies. Eco-social designers can leverage Spock for creating secure IoT solutions that aid in environmental monitoring, smart agriculture, and energy-efficient systems. Challenges include ensuring widespread adoption and overcoming technical hurdles such as formal verification and real-world performance testing. Social and political challenges may involve advocating for open-source solutions and addressing privacy concerns in connected environments. ## Links [Video recording (AV1/WebM) - 48.7 MB](https://video.fosdem.org/2025/k4401/fosdem-2025-5966-spock-a-software-based-risc-v-tee.av1.webm) [Video recording (MP4) - 453.6 MB](https://video.fosdem.org/2025/k4401/fosdem-2025-5966-spock-a-software-based-risc-v-tee.av1.mp4) [Video recording subtitle file (VTT)](https://video.fosdem.org/2025/k4401/fosdem-2025-5966-spock-a-software-based-risc-v-tee.vtt) [Chat room(web)](https://fosdem.org/2025/chat/k4401) [Chat room(app)](https://fosdem.org/2025/chat/app)