nanosandbox

Lightweight embeddable sandbox for running untrusted code, built on OS-native isolation (namespaces, cgroups, seccomp, Landlock, Seatbelt). No containers, no VMs

A new way for AI to search for data
View on GitHub
8GitHub stars
217commits on master
2forks
v0.3.3latest release, 2026-10-13

Rust 97.7%, Python 1.3%, JavaScript 1% · created 2026-05-13 · last push 2026-10-31

What XERJ indexed

Snapshot

91 files · 766.1 KB

The whole repository at commit d23b4d2d8b (2026-10-09). master is 110 commits ahead.

Selected work

Haoren(Harrison) Hu
@Erio-Harrison

“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

MIT

LICENSE file checked at the pinned commit; the author agreed to inclusion.

The XERJ corpus

MIT, with credit

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

Inside the indexed corpus

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

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

Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.