Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

inspect-glovebox

Latest version: v0.5.37

Overview

Last scanned
30 Nov 2026
Published
30 Nov 2026
PyPI package Publisher: TurnTrout
71 Stars
15 Forks
34 Versions
2.5K Downloads
Python Repo language

Scan summary

inspect-glovebox was last scanned on 30 Nov 2026 at version 0.5.37. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 34 versions; the latest 5 were published within 6 days (25–30 Nov 2026).
  • Findings: No rules fired in version 0.5.37.
  • Downloads: 2,528 downloads.

Versions

34 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.5.37 LATEST 30 Nov 2026 No rules fired
0.5.36 29 Nov 2026 No rules fired
0.5.35 28 Nov 2026 No rules fired
0.5.34 26 Nov 2026 Not shown
0.5.33 25 Nov 2026 Not shown

No rules fired in 0.5.37

Findings

Findings for v0.5.37. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.5.37; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

inspect-glovebox

A sandbox provider for UK AISI Inspect that runs each sample in a hardware-isolated microVM with a default-deny outgoing-traffic allowlist, and hands your scorer the record of every host the agent reached.

pip install inspect-glovebox

That pulls the glovebox-driver dependency from PyPI too. To run the unreleased code on main instead, install both distributions from the repository:

pip install \
  "glovebox-driver @ git+https://github.com/AlexanderMattTurner/agent-glovebox.git#subdirectory=glovebox-driver" \
  "inspect-glovebox @ git+https://github.com/AlexanderMattTurner/agent-glovebox.git#subdirectory=inspect-glovebox"

Adoption is one line on your Task

from inspect_glovebox import GloveboxSandboxConfig, glovebox_egress_scorer

Task(
    dataset=dataset,
    solver=solver,
    sandbox=SandboxEnvironmentSpec("glovebox", GloveboxSandboxConfig(memory="4g")),
    scorer=glovebox_egress_scorer("pastebin.com"),
)

Inspect finds the provider through this distribution's inspect_ai entry point, so nothing in your own code imports it. sandbox="glovebox" alone takes every default below.

Every change to this provider must pass Inspect's own sandbox conformance suite, inspect_ai.util._sandbox.self_check, in a real microVM before it can merge. The provider guide says what that check runs.

What the host needs

The provider drives the glovebox command, which boots a Kata Containers microVM. A glovebox you installed (glovebox) is used first; with none on PATH, the provider downloads the release this package pins, refuses it unless its SHA-256 matches the pinned digest, and runs it from ~/.cache/inspect-glovebox. Ask whether this host qualifies:

inspect-glovebox sandbox preflight

That console script comes with this package and runs whichever glovebox a task would drive, with any arguments, so it works before you have installed one; inspect-glovebox setup installs what preflight reports missing, from any folder. Run glovebox sandbox preflight instead when you installed the CLI yourself.

It exits 0 when the host can boot a sandbox, and otherwise names what is missing and the command that installs it. GLOVEBOX_BIN points the provider at a bin/glovebox that is not on PATH. Every task refuses at startup on a host that fails preflight, so one bad host costs one error and not one error per sample.

Running Inspect inside a sandbox

inspect eval normally runs on the host as you. It runs every tool body and scorer, so it parses bytes the agent wrote. inspect-glovebox-cell runs Inspect inside one sandbox instead, so a flaw in a tool body or scorer reaches that sandbox, not the host:

inspect-glovebox-cell --inference-hosts openrouter.ai -- eval task.py --model openrouter/<model>

Start it in the task directory. The command boots one sandbox and copies the task directory into it, without its .env file and its log directory. It installs wheels from the host's four glovebox packages there, and pins dependencies, including inspect-ai, to their host versions. It also installs the openai SDK when the host has it, since openrouter/ models need it. Editable installations require uv on the host to build wheels from the current checkout. It then starts Inspect with the arguments after --, and exits with Inspect's status. Every exit, Ctrl-C and SIGTERM included, removes the sandbox.

  • Two accounts. Inspect, the task code, the scorer and the logs run at a runtime account. Each agent command, read_file and write_file runs at a separate command account, through the sandbox's spawn broker (separating the runtime from commands). The command account cannot read the task copy, which holds the scorer, and cannot write it, the installed packages, the logs or the runtime's home. If the broker cannot start an operation at the command account, the operation fails; it never runs at the runtime account. Inspect itself runs outside the executable allowlist that confines Claude Code's process.
  • Workspace. Each sample gets its own directory, which only the command account can write. It is a working directory, not isolation: all samples share one sandbox and one command account.
  • Model key. The sandbox holds a placeholder, never the key. Export OPENROUTER_API_KEY on the host: the .env file is not read. Glovebox adds that key on the host to each request for openrouter.ai, when --inference-hosts names it. Agent commands use a separate network route, on which the host adds no key.
  • Hosts. The sandbox reaches only its allowlist, which --allowlist FILE replaces. The install needs pypi.org and files.pythonhosted.org.
  • Logs. After Inspect ends, the host copies each eval log to --log-dir (default ./logs) as bytes, without parsing it. It never overwrites a file there. A log written by a runtime the agent took over is that runtime's word.
  • Supported tasks. Tasks that select sandbox="glovebox" with no config, run commands as the default user, and accept that samples share one sandbox. The replay/<log> model works here. The sandbox holds no other package, so a task that imports one cannot load.
  • Unprotected. A task that selects another sandbox type, such as local, runs agent commands at the runtime account, outside this protection.
  • Refused. A sandbox config (a glovebox config, compose file or Dockerfile), user= on a command or file operation (root included), and Inspect's sandbox connection. Each of these needs a fresh sandbox per sample or guest root: run that task with inspect eval on the host, where sandbox="glovebox" gives each sample its own sandbox.

Configuration

docs/inspect-provider.md § Configuration lists every field, its default, and what it does.

Read next

docs/inspect-provider.md covers the lifecycle, custom scorers over the traffic record, cleanup and troubleshooting. It also states which tools run at the model provider rather than in the sandbox, which the allowlist cannot bound. examples/claude_code_task.py is a runnable Claude Code task. It needs pip install inspect-swe first. examples/containment_smoke.py needs no model API key: inspect eval containment_smoke.py --model mockllm/model boots one sandbox, reaches for an allowed host and a refused one, and grades what left. The sandbox itself lives in the agent-glovebox repository, whose SECURITY.md states the threat model and what each layer does not stop.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases inspect-glovebox

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Frame 2085668439 (1)
Group 1261154229