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

@leitwerk-dev/dev-sandbox

Latest version: v0.5.15

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: drieks, jonas.vonandrian
2 Stars
0 Forks
24 Versions
2.4K Downloads
TypeScript Repo language

Scan summary

@leitwerk-dev/dev-sandbox was last scanned on 29 Nov 2026 at version 0.5.15. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 24 versions; the latest 5 were published within 2 days (28 and 29 Nov 2026).
  • Findings: No rules fired in version 0.5.15.
  • Downloads: 2,357 downloads.

Versions

24 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.5.15 LATEST 29 Nov 2026 No rules fired
0.5.14 28 Nov 2026 No rules fired
0.5.13 28 Nov 2026 No rules fired
0.5.12 28 Nov 2026 Not shown
0.5.11 28 Nov 2026 Not shown

No rules fired in 0.5.15

Findings

Findings for v0.5.15. 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.15; other versions have their own rules, not their own score.

README

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

Development sandbox harness

@leitwerk-dev/dev-sandbox runs the application with an explicit SandboxCompositionFactory. It imports no extensions. The factory receives paths, scripted/real mode, UI/backend origins, and the selected model profile. It supplies the catalog, process configuration, named launch configurations, scripted Pi factory, initialization, controls, polling and cleanup. Adapters own their storage and scenario counters; construct them from SandboxInput rather than ambient credentials. Keep local adapter factories and seeds in an extension's /testing export. Use StubToolCallScriptResolver, StubPiTreeHandleFactory({ recordSessionTrace: true }), and ordinary callbacks.

A composition wraps the production catalog; it is not a second process implementation. Scenarios that exercise a production process should set launcherId to its existing launcher. Add withSandboxLaunchers only for an intentional local launcher. Put tests using the same factory under a manifest test_roots directory and start them with startSandboxHarness(factory) for ephemeral ports and disposable storage.

withSandboxLaunchers adds a sandbox.<name> UI launcher for each scenario with a launch callback. Use it only in a development composition; SDK definition identity and turn semantics are retained. The process's own launchers remain available unless { ownLaunchers: "replace" } hides them. Repeated calls replace earlier scenarios. A scenario may instead set launcherId to use an existing launcher.

POST /__local/scenarios accepts { name, requestId, input? } and admits the launch through /api/launchers/.../launch-runs with requestId as its idempotency key. Optional prepareLaunch(requestId, input) seeds adapters and returns launcher input. It may run again with the same request id; its durable writes must be idempotent. Throw SandboxControlError(status, message) to reject a request. Startup delays belong to scenario registrations. Controls may emit local events and invoke /__local/poll; they must not assign process lifecycle state.

In scripted mode, use scriptedSandboxModel with the profile configured by sandboxConfig. readSandboxSettings(input, name) reads local composition settings, such as webhooks, from <workspace>/.leitwerk/sandbox/<name>.yaml. The file must have mode 0600. Reset retains it, and preflight reads the same file.

sandboxConfig(input) builds isolated defaults for launchers and tests. createSandboxApp(config, input, factory) applies the composition's process configuration. It returns the application context, polling, and an idempotent stop() that closes workers, the application and the composition. Register a composition-owned page at /__local. /__local/state contains scenario descriptions, processes and configured URLs alongside composition-owned state. Controls accept only same-origin browser requests. Listeners use 127.0.0.1.

Use startSandboxHarness(factory) from @leitwerk-dev/dev-sandbox/testing to test a scripted composition with an ephemeral port and disposable storage.

Use leitwerk-dev sandbox with installed packages, or call the /launcher export with { publicRoot, workspaceRoot, compositionEntry } from a source checkout. The entry default-exports its factory. Reset storage before switching compositions. Both lanes reload configuration and support custom backend/preflight entries. /preflight uses disposable storage and never starts background services.

Storage lives at <workspace>/.leitwerk/sandbox/{scripted,real}. /storage exports the confined reset operation. It verifies supervisor identity, retains storage on shutdown failure, rejects symlinked storage, and keeps the sibling model.json. The launcher passes an allowlisted environment: isolated home/configuration, local Git identity and file-only Git transport. Ambient provider, Pi, SSH and Node overrides are excluded. This is a development environment, not a security boundary for hostile compositions or repository code.

Scripted mode substitutes Pi and bypasses only Docker preflight. Real mode uses the ordinary Pi SDK and preserves process runtime requirements. Supply dedicated model.json credentials with mode 0600, containing default_model_profile (an ID in model_profiles), model_profiles, and providers (the models extension configuration). Production credentials are never read. Ports default to UI 5173 and backend 18082; use --ui-port and --backend-port to choose strict alternative ports.

Scripted mode exposes sandbox and sandbox-alternate profiles backed by the same scripted provider. Use them to exercise instance model editing and inheritance without real model credentials.

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).

  • npm @leitwerk-dev/dev-sandbox

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

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose 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