LEVEL 4 · SYSTEMS

Sandbox Policy Planner

Select a modeled isolation policy, inspect an optional local Docker invocation, and compare requested controls with observed harmless probes.

4 stages~8 hoursRustcore
Parse the capability requestDefine modeled control profilesSelect the least costly sufficient profileReport residual assumptions
YOU END UP WITH

Select a modeled isolation policy, inspect an optional local Docker invocation, and compare requested controls with observed harmless probes.

USEFUL FOR
  • A sandbox evidence planner mapping requested capabilities to observed runtime probes.
  • Default output is a policy simulation.
PROJECT OUTLINE

Sandbox Policy Planner in 4 stages

Choose isolation controls from an explicit capability requirement.

  1. Parse the capability request

    Represent the threat model as four explicit booleans: untrusted code, secret-bearing host, denied network and required kernel separation.

    starter · ~2 hours · Rust

    Parse keysReject duplicatesExact booleansThreat requirements
  2. Define modeled control profiles

    Model process, filesystem, container-network and microVM boundaries as data.

    core · ~2 hours · Rust

    Filesystem controlNetwork controlKernel controlRequirement match
  3. Select the least costly sufficient profile

    Filter insufficient profiles before comparing cost.

    core · ~2 hours · Rust

    Filter controlsApply budgetStable minimumNo downgrade
  4. Report residual assumptions

    Return the selected fixture and state clearly that operating-system enforcement has not been performed.

    core · ~2 hours · Rust

    Recheck requirementsName modelList residualsRuntime verification

Lessons this project uses

All projects · Course catalog · Source on GitHub