Skip to content
Spare Room

Run the recruiter's code in a room with nothing in it.

Spare Room shows what a take-home test could reach on your Windows laptop, then sets up a separate account, the spare room, where it reaches nothing that matters.

Watch the 2-minute demo

Built for SafeSpace Hacks 2026. Every number outside the playground is replayed from the real tool; the playground simulates its rules. All secrets are fake.

  • 13 reachable from your account
  • 0 from the spare room
  • 29.6 s to set up

Try it here, no download

Read the sample stranger code, run it in your account and in the spare room, then add your own files and run it again.

This runs in your browser and simulates Spare Room's rules on a fake laptop. The real tool checks real Windows permissions. Watch the video for a real run.

Stranger code

VS Code task on folder open, the sample in the repo's traps folder.

When it fires: A .vscode/tasks.json with runOn: folderOpen runs when the folder is opened in a trusted workspace.

These are the real files, unchanged: traps/vscode_task on GitHub. Here nothing runs; the page simulates the probe it calls.

{
    "version": "2.0.0",
    "tasks": [
        {
            "label": "spare-room-demo-probe",
            "type": "shell",
            "command": "python",
            "args": [
                "-m",
                "spareroom.probe",
                "--demo",
                "--trap-id",
                "vscode_task",
                "--trigger",
                "folderOpen",
                "--out",
                "trap-result.json"
            ],
            "options": {
                "cwd": "${workspaceFolder}/../.."
            },
            "presentation": {
                "reveal": "always",
                "panel": "dedicated"
            },
            "runOptions": {
                "runOn": "folderOpen"
            }
        }
    ]
}

Run it

The code calls Spare Room's probe, which only checks whether each listed path exists and can be read. It never opens a file and never uses the network.

Your account. Press Run in my account.
The spare room. Press Run in the spare room.

The fake laptop

13 fake secrets in C:\Users\testdev, the same ones as in the video, each marked FAKE-DEMO.

Add a file

Spare Room never reads values, so this page doesn't ask for them. Separate names with commas.

Adds C:\dev\take-home\.env

Run the real tool

For Windows 10 and 11. One file, no installer. Double-click it to start the safe demo: it scans only a fake laptop bundled inside the file, needs no administrator rights and uses no internet.

Download spareroom.exeVersion 0.1.5, 8.1 MB

SHA-256: 2b110cb880df7331bbbf12363c95545aeff56d630beedb82ebd9f69c294cb215

All files and checksumsHow to run it

Overview

In Binance's account of its $6.34B loss, one step was an engineer downloading a recruiter's coding “assignment” onto his work computer. Read the report (Binance's incident report, as reported by TheStreet on Yahoo Finance).

Recruiters and clients often send a short coding test before the first call. When you open it, its code runs as you and reaches what you can: SSH keys, cloud logins, crypto wallets, saved browser passwords. Spare Room shows that reach, then gives the test a separate Windows account, the spare room, where those files are out of reach.

Watch it run on a real laptop

Two minutes, narrated and captioned, recorded from the tool itself on the test machine. The computer name and one project folder are covered.

Can I do my coding test in the spare room?

Recorded inside the spare room on 2026-11-04: 3 of 5 coding tools were available there. Anything installed only in your own account is not, so install it for all users.

Coding tools found inside the spare room
ToolIn the spare room
Node.jsAvailable, v26.13.0
npm (comes with Node.js)Available, 11.20.0
PythonMissing. Only the Microsoft Store shortcut is present; Python itself is not installed. Install Python for all users:winget install --id Python.Python.3.12 -e --scope machineOr run the python.org full installer, choose Customize installation and pick the all-users option.
GitAvailable, git version 2.56.0.windows.4
VS CodeMissing. A copy installed only in another account (for example VS Code's User setup under %LOCALAPPDATA%) is not available here. Install VS Code with the System setup (not the User setup) from code.visualstudio.com, or:winget install --id Microsoft.VisualStudioCode -e --scope machine

What still gets through

Files every account can read

Checked from inside the spare room, this file outside any account folder was still readable: C:\dev\<project>\.env. A separate account cannot protect it; move it into your own folder.

Anything a separate account cannot stop

It is weaker than a virtual machine: malware with administrator rights, and your network or VPN, can still be reached.

See the full results