Skip to content
doriancodesPublic

About

Zero trust binary packaging

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

40 Commits

Folders and files

Repository files navigation

zerok

CI

zerok is a command-line tool for analyzing and validating capability manifests. It is part of the k0 runtime ecosystem — a minimal, declarative execution layer designed around "zero trust for binaries."

Documentation

Check the documentation for more details.

Features

  • Audit: analyze ELF binaries or syscall traces to suggest capability manifests.
  • Inspect: validate an existing manifest file for correctness.

Usage

zerok inspect <MANIFEST>
zerok audit elf <ELF_PATH> [--json FILE] [--manifest FILE]
zerok audit trace <TRACE_LOG> [--strict] [--json FILE] [--manifest FILE]

Manifest Format

A .kpkg.toml file might look like:

name = "myapp"
version = "0.1.0"

[capabilities.memory]
max_bytes = 8388608

[capabilities.files.read]
paths = ["/etc/config"]

[capabilities.network.connect]
hosts = ["api.example.com:443"]

Fuzzing

Make sure that you have cargo-fuzz

# install cargo-fuzz
cargo install cargo-fuzz

# manifest parser
cargo fuzz run fuzz_parse_manifest

Roadmap

  • More advanced static analysis for ELF binaries
  • Integration with syscall trace auditing
  • Expanded manifest schema checks
  • .meta.toml inclusion
  • Integration with Microkit/seL4

About

Zero trust binary packaging

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages