AETERNAE AI RESEARCH LLC INDEPENDENT RESEARCH
ÆAETERNAERESEARCH
Sign inRequest access
← Malware catalog

Attributed metadata history

REPORTPUBLIC METADATA

Nanobot - bwrap Sandbox Bypass

Nanobot - bwrap Sandbox Bypass In nanobot >= 0.2.1 < 0.4.1, the `exec` tool accepts an agent-selected shell override but validates it only by file name and executable bit, then launches that file on the host ahead of the command bwrap is meant to contain.The default `write_file` and sandboxed `exec` tools both operate inside the workspace. An authenticated WebSocket user can therefore have the agent stage an executable named `bash` there and select it as the interpreter. Nanobot runs it outside bwrap under the non-root `nanobot` service account, yielding unsandboxed access to every host resource available to that account.`_resolve_shell` is meant to restrict the interpreter to `sh`, `bash`, or `zsh`, but for an absolute path it only checks `path.name` and the executable bit, then returns the path unchanged. By then `_prepare_command` has replaced the command with `wrap_command(...)`, so the sandbox covers only the `-c` argument, and `_spawn` runs the workspace file as the program itself. `ExecSessionManager._spawn` shares this code, so persistent sessions are affected too.The bypass reproduces with `restrictToWorkspace=true` and `sandbox=bwrap`. The agent writes a workspace `bash` that copies an out-of-workspace canary then `exec`s `/bin/bash "$@"`, runs `chmod +x ./bash`, and calls a command with `shell` set to that path. A direct `cat` of the canary is rejected, but the override call returns 0 and the copied file appears outside the workspace, while the requested command still runs normally.Exploitation depends on the model following these instructions, but once the arguments reach `ExecTool` the workspace file is always the process spawned outside the sandbox. Joshua Martinelle Mon, 11/09/2026 - 02:43

Reference details

Source category
research-report
First reported
Nov 09, 2026 07:43 UTC
Last reported
Nov 09, 2026 07:43 UTC
Catalog updated
Dec 05, 2026 03:22 UTC
Record ID
e6831ff09cf949c1ed665016b42e453f45b9b64ea0a51d7ac049389fa852ddc0

Published indicators

Network indicators are visibly defanged. This page does not make them clickable or send them to another service.

No validated file hashes or network indicators are stored for this record.

Source observations

intelligence_src_1653fbf8e2da6d59a7

Source-provided label
Publisher RSS metadata
Evidence class
mentioned in report
Confidence
Not reported
Observed
Nov 09, 2026 07:43 UTC
Retrieved
Dec 05, 2026 03:22 UTC

This record contains metadata and attribution only. It does not host, download, unpack, render, or execute malware samples.

Feed collection status

Sources represented on this page. Publication and observation dates describe the content; successful batch dates describe local collection. A recent batch does not certify complete coverage or current provider availability.

1 sources: 0 stale, 0 needing attention, 0 paused, 0 unverified.

Review source update dates and status
  • intelligence_src_1653fbf8e2da6d59a7Recent successful batchLast successful batch: Last attempt:

Stale means older than twice the recorded collection interval, with a minimum of one hour; without an interval, the threshold is 24 hours. Cached content remains available while a feed is stale, paused, or unverified.