litebox
Copilot instructions2.7k starsChanged 18 months agoMITView on GitHub
This repository contains a Rust-based, security-focused sandboxing library OS. To maintain high code quality and consistency, please adhere to the following guidelines when contributing.
Trending
Quiet since September.about the whole repository
Who's talking about microsoft/litebox
- A Hacker News story“Microsoft open-sources LiteBox, a security-focused library OS”Hacker News · Feb 6, 2026 · 390 points
- @sungkim.bsky.social“Microsoft's LiteBox LiteBox is a sandboxing library OS. Example use cases include: - Running unmodified …”Bluesky · Feb 6, 2026 · 22 likes
- @astrakernel.bsky.social“🦀 Microsoft's New Open-Source Project: LiteBox As A Rust-Based Sandboxing Library OS > A sandboxing …”Bluesky · Feb 5, 2026 · 6 likes
- @tech-trending.bsky.social“GitHub - microsoft/litebox: A security-focused library OS supporting kernel- and user-mode execution …”Bluesky · Feb 7, 2026 · 2 likes
- @ofuton.work“なんかMSが面白そうなものをつくっている github.com/microsoft/li...”Bluesky · Feb 9, 2026 · 1 likes
The biggest 5 of 19 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 19
Talked about on Bluesky, GitHub and Hacker News (19 times).
On Bluesky · 13
- Feb 6, 2026Microsoft's LiteBox LiteBox is a sandboxing library OS. Example use cases include: - Running unmodified Linux programs on Windows -… — @sungkim.bsky.social22 likes and reposts · 2 replies
- Feb 5, 2026🦀 Microsoft's New Open-Source Project: LiteBox As A Rust-Based Sandboxing Library OS > A sandboxing library OS that drastically cuts down… — @astrakernel.bsky.social6 likes and reposts
- Feb 7, 2026GitHub - microsoft/litebox: A security-focused library OS supporting kernel- and user-mode execution https://github.com/microsoft/litebox — @tech-trending.bsky.social2 likes and reposts
- Feb 9, 2026なんかMSが面白そうなものをつくっている github.com/microsoft/li... — @ofuton.work1 likes and repost · 1 reply
- Feb 7, 2026LiteBox : un "Library OS" conçu par Microsoft pour isoler les applications dans des environnements variés sans dépendre d’un OS complet 👉… — @bearstech.com1 likes and repost
8 more on Bluesky
- Feb 7, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 microsoft / litebox ⭐ 917 (+208) 🗒 Rust A security-focused library OS supporting kernel- and… — @github-trending.bsky.social1 likes and repost · 1 reply
- Feb 7, 2026https://github.com/microsoft/litebox LiteBoxはセキュリティに特化したライブラリOSです。 サンドボックス機能で攻撃対象領域を大幅に削減します。 Windows上でのLinuxプログラム実行など多様な用途に対応します。 — @topickapp.bsky.social1 likes and repost
- Feb 6, 2026Microsoft open-sources LiteBox, a security-focused library OS [Discussion] — @hacker-news.bsky.social1 likes and repost
- Feb 6, 2026Microsoft open-sources LiteBox, a security-focused library OS | Discussion — @hackernewsbot.bsky.social1 likes and repost
- Feb 16, 20263. Microsoft released litebox, a security-first “library OS” that runs in both kernel and user mode. Because apparently just having an OS… — @rustaceans.bsky.social0 likes and reposts · 1 reply
- Feb 7, 2026マイクロソフト、セキュリティ重視のライブラリOS「LiteBox」をオープンソース化 Microsoft open-sources LiteBox, a security-focused library OS 🔺 365 💬 32 🔗 HN Post | Article — @hacker-news-jp.bsky.social0 likes and reposts · 1 reply
- Feb 7, 2026Microsoft open-sources LiteBox, a security-focused library OS View Article | Join the HN Conversation Summary of HN discussion 🧵👇 — @hncompanion.com0 likes and reposts · 1 reply
- Feb 6, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 microsoft / litebox ⭐ 383 (+210) 🗒 Rust A security-focused library OS supporting kernel- and… — @github-trending-rs.bsky.social0 likes and reposts · 1 reply
On GitHub · 5
- Sep 26, 2026[reading-list] dsec-refs · G WebAssembly 与其它隔离 — xianbintang/tech-tree0 reactions · 1 comment
- Sep 26, 2026[reading-list] dsec-refs · G WebAssembly 与其它隔离 — xianbintang/tech-tree0 reactions
- Feb 7, 2026Daily Hacker News 07-02-2026 — blka/daily-hackernews0 reactions
- Feb 7, 2026[ai] Microsoft open-sources LiteBox, a security-focused library OS — YH-05/quants0 reactions
- Feb 7, 2026Daily Hacker News 07-02-2026 — Foxhunt/daily-hackernews0 reactions
On Hacker News · 1
- Feb 6, 2026Microsoft open-sources LiteBox, a security-focused library OS390 points · 215 comments
The file
We split this copilot-instructions.md into the rules it gives an agent
6 rules. About 0 are common, 4 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 6
Run cargo fmt to format all Rust files using rustfmt.
- Distinctive: line 20
Follow Rust best practices and idiomatic patterns.
- Distinctive: line 23
Write unit tests for new functionality, especially if it affects public interfaces.
- Distinctive: line 25
Document all public APIs and non-trivial implementation details.
- Distinctive: line 26
Avoid introducing new dependencies unless strictly necessary.
- Very specific: line 28
Prefer default-features = false in Cargo.toml.
≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
This repository contains a Rust-based, security-focused sandboxing library OS. To maintain high code quality and consistency, please adhere to the following guidelines when contributing.
Code Standards
Required Before Each Commit
- Run
cargo fmtto format all Rust files usingrustfmt.- This ensures consistent code style across the codebase.
Development Workflow
The recommended sequence during development is:
- Format:
cargo fmt - Build:
cargo build - Lint:
cargo clippy --all-targets --all-features - Test:
cargo nextest run
- Full CI checks are defined in
.github/workflows/ci.yml.
Key Guidelines
- Follow Rust best practices and idiomatic patterns.
- Preserve the existing code structure and organization.
- Minimize use of
unsafecode. Everyunsafeblock must include a clear safety comment explaining why it's sound. Always prefer safe abstractions and code where possible. - Write unit tests for new functionality, especially if it affects public interfaces.
- Extremely simple changes do not require explicit unit tests.
- Document all public APIs and non-trivial implementation details.
- Avoid introducing new dependencies unless strictly necessary. If a dependency is added:
- It must be justified.
- Prefer
default-features = falseinCargo.toml.
- Favor
no_stdcompatibility wherever feasible.- Some crates in the workspace may use
std, but this should be deliberate and justified.
- Some crates in the workspace may use
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

