nanosandbox
Lightweight embeddable sandbox for running untrusted code, built on OS-native isolation (namespaces, cgroups, seccomp, Landlock, Seatbelt). No containers, no VMs
What XERJ indexed
Snapshot
The whole repository at commit d23b4d2d8b (2026-10-09). master is 110 commits ahead.
Selected work

“host_uid()/host_gid() let a root caller pick the host user its …”. 11 files, 291 lines in tests, src/platform, src.
Licence
The repository
LICENSE file checked at the pinned commit; the author agreed to inclusion.
The XERJ corpus
The author agreed by email on 2026-10-10. Same terms as the repository. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution
code-executionrustsandboxsecurity
Example questions
- How does nanosandbox implement code-execution?
- What does src/platform do in nanosandbox?
- Show the rust code in nanosandbox.
Inside the indexed corpus
- 91 files, 766.1 KB in total, about 8.4 KB per file.
- The selected commit changed 11 of those files (12.1%).
- Languages by size: Rust 97.7%, Python 1.3%, JavaScript 1%.
- On GitHub since 2026-05-13, last push 2026-10-31, 217 commits on master.
- The pin is 110 commits behind master; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported MIT for Erio-Harrison/nanosandbox on 2026-10-31, and the LICENSE file at commit d23b4d2d8b was reviewed as MIT. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Haoren(Harrison) Hu (@Erio-Harrison) has 1 selected repository on the hub.
Using XERJ with nanosandbox
- Batch lookup CVE and GHSA IDs offline in one query nanosandbox is tagged security on GitHub.
- Ask questions about a GitHub repo without cloning it
- Index a reference library for a coding agent
- ripgrep vs a code index for coding agents: 30 tasks
The prompt
Paste it into your AI agent. It clones Erio-Harrison/nanosandbox at the pinned commit and indexes it on your machine.
Search the GitHub repository Erio-Harrison/nanosandbox with XERJ (https://hub.xerj.org/corpus/erio-harrison--nanosandbox). Run these in a shell, in order, and check each result before the next: 1. xerj --help (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh 2. git clone https://github.com/Erio-Harrison/nanosandbox nanosandbox && git -C nanosandbox checkout d23b4d2d8b29a95222f88eeb26514482a31a1af0 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./nanosandbox --url http://127.0.0.1:9200 --prefix nanosandbox --progress plain 5. xerj autoindex map --url http://127.0.0.1:9200 Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt Licence: MIT. Keep the copyright notice and credit the authors.
Related
Haoren(Harrison) HuSecurity and vulnerabilities corporacomplianceascode-contentcspexploitdb-srcvictorperson999/Vestibulecapsulerun/vpodlucasdmarshall/Hirara
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.