qmetrics.net

Occlum

Memory-safe library OS for Intel SGX enclaves

Occlum screenshot

LibOS that runs legacy applications inside Intel SGX enclaves with minimal source changes.

Overview

Occlum is a memory-safe, multi-process library operating system for Intel SGX. As a LibOS it lets existing programs run inside secure enclaves with little or no code changes, aiming to protect workload confidentiality and integrity on untrusted hosts.

LibOS processes are lightweight and share one SGX enclave, which the project reports as much faster startup and inter-process communication than per-enclave designs. It supports read-only hashed file systems, writable encrypted file systems, and host file system access for data exchange. Optional EDMM configuration can reduce enclave load time and add flexibility.

Day-to-day use centers on command-line tools: initialize a context, build an image, and run binaries inside the enclave after compiling or copying them into the image. The implementation is written in Rust to reduce low-level memory safety issues. It requires Intel x86 hardware with SGX support.

Documented use cases include hardening secret stores, private smart-contract execution on blockchains, protecting code and data at the edge, and federated machine learning where parties share computation without exposing raw data. Development targets bare-metal and public cloud VMs with SGX.

Key features

  • Intel SGX LibOS runtime
  • Lightweight shared-enclave processes
  • Hashed and encrypted file systems
  • Host filesystem data exchange
  • Optional PKU fault isolation
  • Rust memory-safe implementation
  • occlum init build run workflow
  • Legacy app support with few changes

Use cases

  • Hardening secret management stores
  • Confidential blockchain smart contracts
  • Protecting workloads at the edge
  • Federated machine learning data sharing
  • Running apps on untrusted cloud VMs

Tags

Similar software

OpenSSL Library

General-purpose TLS, QUIC, and cryptography toolkit

Toolkit implementing TLS, DTLS, and QUIC plus a standalone cryptographic library. Includes a command-line tool for certificates, digests, encryption, and protocol tests.

★ 31.6k⟳ yesterdayApache-2.0
Application SecurityDesktop/CLI app

CryptoSwift

Pure Swift cryptographic primitives and utilities library

CryptoSwift implements standard cryptographic algorithms in Swift for hashing, ciphers, message authentication, and key derivation. It integrates via Swift Package Manager and targets Apple platforms, Linux, and Android.

★ 10.6k⟳ 3 months agoZlib
Application SecurityDesktop/CLI app

Device Activity Tracker

Research PoC for messenger delivery-receipt activity leaks

Device Activity Tracker measures message delivery round-trip times on WhatsApp and Signal to infer active, standby, or offline device states for security research.

★ 5.3k⟳ 11 months agoMIT · open core

Microsoft SEAL

C++ homomorphic encryption library for private cloud computation

Microsoft SEAL is an open-source homomorphic encryption library in modern C++. It lets programs add and multiply encrypted integers or approximate encrypted real numbers.

★ 4.1k⟳ 1 month agoMIT
Application SecurityDesktop/CLI app

jsrsasign

Pure JavaScript cryptography and PKI toolkit

jsrsasign implements signing, validation, certificates, CMS, timestamps, and JWS/JWT/JWK handling in JavaScript with no external crypto dependencies.

★ 3.4k⟳ 29 days agoMIT
Application SecurityDesktop/CLI app

liboqs

C library for quantum-safe KEM and signature algorithms

liboqs implements post-quantum key encapsulation and signature schemes behind one C API. It includes tests and benchmarks for research and prototyping, not production reliance.

★ 3.1k⟳ 3 days agoMIT · open core
Application SecurityDesktop/CLI app