Project course · 8 units · Free
Low-Level Sandbox Security
Repair the memory, resource and authority policies in a small bytecode plugin-host model.
Get the course on GitHubSupported route: portable educational Rust model only. Native Linux confinement is not implemented or qualified.
- What you’ll learn
- Admission, bounded memory, per-job authority, resource limits and stale-handle decisions in a synthetic VM.
- Your project
- Your own Rust boundary policies and an evidence-based investigation of a delayed authorization failure.
- How you’ll work
- 8 portable slices · Linux practical unavailable. Read the lessons in the course folder and implement your policies in the terminal.
What you’ll build
- Validate bytecode admission and complete memory ranges for synthetic image filters.
- Implement per-job capabilities, handle identity, modeled syscall decisions and bounded resource accounting.
- Investigate violations and repair delayed authorization under revocation and competing grants.
Before you start
Rust functions, structs, enums, slices and integer arithmetic; terminal use and an installed Rust/Cargo toolchain plus Python 3.12+. No unsafe Rust or hostile/native target is required.
The portable Rust model has no Cargo dependencies. It was tested with Rust/Cargo 1.97.1 and Python 3.14.6 on macOS arm64. The course is in the boundary-lab folder; run the documented terminal commands from there.
This is a portable educational model, not real syscall/process confinement or production security. The native Linux practical is unavailable; use the portable exercises. Browser and accessibility behavior have not been qualified.
Run the course locally
Clone the learner source, then run these commands.
git clone https://github.com/itsHabib/free-to-learn.git
cd free-to-learn
git checkout edbb806728cade5595116af205bb890e8e3bd756
cd courses/boundary-lab
cargo run --offline --locked -- status
cargo run --offline --locked -- demo
python3 run.py check core --attempt attempts/first --prediction "My expected result and reason" --help-used noneEdit only src/learner.rs. The runner snapshots source/prediction before compiling and refuses existing attempt destinations. Keep failures and use a new attempt name for repairs. Read the eight portable slices; lesson 05’s real Linux practical is explicitly unavailable. Lessons are in the course folder. This is not a browser sandbox or changed host policy.
The TODO starter should fail with useful diagnostics. Implement a step, run its checks and preserve the result before revising. The course folder contains the lessons, project contracts and self-review guidance.
Optional LLM help uses your own account and is advice, not correctness evidence. No staffed feedback is required. Passing checks covers their declared cases; learning gains and human completion times remain unmeasured.
Exact learner source
The commands above use learner edition edbb806728cade5595116af205bb890e8e3bd756. This static page does not run or grade code.