Scan your whole stack
Are you using @leitwerk-dev/dev-sandbox?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.5.15
@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.
| Version | Published | Status |
|---|---|---|
| 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 |
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.
The publisher’s own README, as collected from the registry.
@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.
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.
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).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.