Humanoid Security Platform
QEMU & L4T Security Verification for NVIDIA Jetson Humanoid Robots (OP-TEE, fTPM, EROFS dm-verity, and Secure mTLS)
QEMU-based security verification & hardening platform for NVIDIA Jetson humanoid robots (L4T, OP-TEE, fTPM, dm-verity/IMA, PKCS#11 HSM, and Secure World mTLS).
π νκ΅μ΄ λ¬Έμ (Korean Documentation) | Official Documentation Portal
1. Overview
- Background: Next-generation humanoid robots operate in close proximity to humans while powered by high-performance autonomous computing platforms (e.g., NVIDIA Jetson AGX Orin/Thor). A robust Defense-in-Depth security architecture is mandatory to mitigate physical tampering, supply-chain contamination, and unauthorized control injection.
- Platform Objective: Provide a containerized QEMU
aarch64(virtmachine) security verification platform that emulates the complete NVIDIA JetPack (L4T) security stack with zero physical board dependency.
2. Key Architecture & Features
π‘ Click the diagram to open the Archify Interactive Viewer (HTML) with dark/light theme switching, path tracing, component focus, and vector export.
- Official L4T Release Integration:
- Built upon NVIDIA JetPack 7.2.1 (Jetson Linux R39.2.1, Linux Kernel 6.8, Ubuntu 24.04 Noble, Jetson Thor & Orin) official Kernel, OP-TEE, and sample root filesystem.
- Dual-Target Kernel Configuration Strategy:
- Three-tier configuration system:
[L4T Base defconfig]+[security_hardening.config]+[qemu_compat.config]guaranteeing 100% security policy alignment between QEMU and physical Jetson hardware.
- Three-tier configuration system:
- OP-TEE fTPM & PKCS#11 Trusted Applications:
- Houses Microsoft Reference (
ms-tpm-20-ref) fTPM TA and OP-TEEpkcs11TA backed by virtual eMMC RPMB replay-protected storage.
- Houses Microsoft Reference (
- Storage & Runtime Integrity (EROFS + dm-verity + IMA):
- Immutable read-only
EROFSrootfs verified by cryptographicdm-verityMerkle hash tree. - Linux
IMAmeasures executed binaries into fTPM PCR 10 for tamper-proof remote attestation.
- Immutable read-only
- Zero Plaintext Key Policy & SoftHSMv2:
- Zero private keys (
.pem,.key) committed to source code or git history. - Offline signing keys generated inside SoftHSMv2 (PKCS#11) tokens and referenced solely via RFC 7512
pkcs11:URIs.
- Zero private keys (
- Secure World Cloud-Humanoid mTLS:
- Robot identity private keys sealed within OP-TEE Secure World SRAM (non-extractable).
- OpenSSL 3.x Provider transparently delegates TLS 1.3 handshake cryptographic signatures to Secure World.
3. Quick Start
3.1. Prerequisites
- Docker 24.0+ & Docker Compose v2.x
- VS Code & Dev Containers Extension (Recommended)
3.2. Launch with VS Code Dev Container (Recommended)
- Open this repository in VS Code.
- Press
F1and selectDev Containers: Reopen in Container. - Toolchain automatically initialized inside container:
aarch64-linux-gnu-gcccross-compiler- QEMU
aarch64emulator (virtmachine with RPMB emulation) - SoftHSMv2,
tpm2-tools,erofs-utils,ccache(20GB persistent cache volume)
3.3. Run from Host Terminal
# Execute build and test commands via container wrapper./scripts/env_container.sh make help4. Directory Layout
.βββ AGENTS.md # AI Agent instructions, architecture summary & writing rulesβββ README.md # Project introduction & architecture overview (Korean)βββ .gitignore # Cache, build artifacts, and private key exclusionsβββ .devcontainer/ # VS Code Dev Container configurationβββ docker/ # Cross-toolchain Dockerfile & Compose definitionsβββ docs/ # Architecture, requirements, threat models & checklists (Korean)β βββ en/ # English documentationβ βββ diagrams/ # Archify validated diagrams (JSON-IR, HTML, SVG)βββ starlight/ # Astro Starlight technical documentation portalβββ tools/β βββ archify/ # Archify CLI renderer & SVG extraction toolβββ scripts/ # Fetch, build, and QEMU execution wrappersβββ configs/ # Kernel & OP-TEE configuration fragmentsβββ keys_hsm/ # SoftHSMv2 setup & PKCS#11 signing utilitiesβββ apps/ # mTLS client & Attestation agent sourcesβββ tests/ # Automated pytest verification suites on QEMU5. Documentation Links
| Document | Korean (κ΅λ¬Έ) | English (μλ¬Έ) |
|---|---|---|
| Master Roadmap Checklist | roadmap_checklist.md | roadmap_checklist.md |
| Security Requirements (SRD) | requirements.md | requirements.md |
| System Architecture | architecture.md | architecture.md |
| Key Management & HSM / mTLS | key_management_hsm.md | key_management_hsm.md |
| Threat Modeling (STRIDE) | threat_model.md | threat_model.md |
| Archify Diagrams Collection | Archify Diagrams | Archify Diagrams |
6. License
Distributed under the Apache-2.0 License.