tiiuae/ghaf

TII SSRC Secure Technologies: Ghaf Framework

Nix

84

2,472 commits

updated Oct 19, 2026

See the code

See what people are saying

SourceMessageScoreDate

Sounds like Ghaf might be what you're after: https://ghaf.tii.ae/ghaf/overview

on Why I love NixOS

0

Mar 23, 2026

README

Ghaf Logo

Ghaf Framework

TII SSRC Secure Technologies

License: Apache-2.0 License: CC-BY-SA 4.0 Style Guide OpenSSF Best Practices Contributor Covenant

This repository contains the source files (code and documentation) of Ghaf Framework — an open-source project for enhancing security through compartmentalization on edge devices.

Getting Started

Documentation

The Ghaf Framework documentation site is located under https://ghaf.tii.ae. It is under cooperative development.

To build Ghaf documentation, use:

nix build .#doc

See the documentation overview under README-docs.md.

Other Project Repositories

Other repositories that are a part of the Ghaf project:

  • sbomnix: a utility that generates SBOMs given Nix derivations or out paths
  • ghaf-infra, ci-test-automation: CI/CD related files
  • flakevuln: vulnerability scanning for Nix flakes, available as a GitHub Action and local CLI
  • ghafpkgs: a repository for Ghaf-specific Nix packages
  • ghaf-givc: a gRPC-based control channel for the Ghaf Framework
  • vhotplug: a service for dynamically managing USB, PCI, and input device passthrough to virtual machines based on configurable rules

Build System

Ghaf images are built and tested by our continuous integration system. For more information on a general process, see Continuous Integration and Distribution.

Contributing

We welcome your contributions to code and documentation.

If you would like to contribute, please read CONTRIBUTING.md and consider opening a pull request. One or more maintainers will use GitHub's review feature to review your pull request.

In case of any bugs or errors in the content, feel free to create an issue. You can also create an issue from code.

Licensing

The Ghaf team uses multiple licenses to distribute software and documentation:

License Full NameSPDX Short IdentifierDescription
Apache License 2.0Apache-2.0Ghaf source code.
Creative Commons Attribution Share Alike 4.0 InternationalCC-BY-SA-4.0Ghaf documentation.

See LICENSE.Apache-2.0 and LICENSE.CC-BY-SA-4.0 for the full license text.

tiiuae/ghaf

TII SSRC Secure Technologies: Ghaf Framework

Nix

84

2,472 commits

updated Oct 19, 2026

See the code

See what people are saying

SourceMessageScoreDate

Sounds like Ghaf might be what you're after: https://ghaf.tii.ae/ghaf/overview

on Why I love NixOS

0

Mar 23, 2026

README

Ghaf Logo

Ghaf Framework

TII SSRC Secure Technologies

License: Apache-2.0 License: CC-BY-SA 4.0 Style Guide OpenSSF Best Practices Contributor Covenant

This repository contains the source files (code and documentation) of Ghaf Framework — an open-source project for enhancing security through compartmentalization on edge devices.

Getting Started

Documentation

The Ghaf Framework documentation site is located under https://ghaf.tii.ae. It is under cooperative development.

To build Ghaf documentation, use:

nix build .#doc

See the documentation overview under README-docs.md.

Other Project Repositories

Other repositories that are a part of the Ghaf project:

  • sbomnix: a utility that generates SBOMs given Nix derivations or out paths
  • ghaf-infra, ci-test-automation: CI/CD related files
  • flakevuln: vulnerability scanning for Nix flakes, available as a GitHub Action and local CLI
  • ghafpkgs: a repository for Ghaf-specific Nix packages
  • ghaf-givc: a gRPC-based control channel for the Ghaf Framework
  • vhotplug: a service for dynamically managing USB, PCI, and input device passthrough to virtual machines based on configurable rules

Build System

Ghaf images are built and tested by our continuous integration system. For more information on a general process, see Continuous Integration and Distribution.

Contributing

We welcome your contributions to code and documentation.

If you would like to contribute, please read CONTRIBUTING.md and consider opening a pull request. One or more maintainers will use GitHub's review feature to review your pull request.

In case of any bugs or errors in the content, feel free to create an issue. You can also create an issue from code.

Licensing

The Ghaf team uses multiple licenses to distribute software and documentation:

License Full NameSPDX Short IdentifierDescription
Apache License 2.0Apache-2.0Ghaf source code.
Creative Commons Attribution Share Alike 4.0 InternationalCC-BY-SA-4.0Ghaf documentation.

See LICENSE.Apache-2.0 and LICENSE.CC-BY-SA-4.0 for the full license text.

Project health

Overall

7.0/10

Maintained

10/10

Code review

9/10

Contributors

10/10
OpenSSF Scorecard

Significant stargazers

Else, Someone

247 followers · starred Aug 2025

Brian McGee

131 followers · starred Nov 2023

Ingolf Wagner

93 followers · starred Apr 2024

Daniel Fullmer

146 followers · starred Mar 2023