Scan your whole stack
From OX Research Newsroom
Are you using @tangle-network/sandbox-cli?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.23.172
@tangle-network/sandbox-cli was last scanned on 26 Nov 2026 at version 0.23.172. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.23.172 LATEST | 26 Nov 2026 | No rules fired |
| 0.23.171 | 26 Nov 2026 | No rules fired |
| 0.23.170 | 25 Nov 2026 | No rules fired |
| 0.23.169 | 25 Nov 2026 | Not shown |
| 0.23.168 | 25 Nov 2026 | Not shown |
Findings for v0.23.172. 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.23.172; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
CLI for provisioning and operating Tangle sandboxes.
Published to the public npm registry as @tangle-network/sandbox-cli.
tangleproducts/sandbox/cli--no-browser), and API keypnpm --filter @tangle-network/sandbox-cli testSee Limitations for open gaps.
One-liner (installs the CLI and a private runtime selected from its engines metadata):
curl -fsSL https://sandbox.tangle.tools/install.sh | sh
Run without installing via npx:
npx @tangle-network/sandbox-cli --help
npx @tangle-network/sandbox-cli sandbox list
# or the shorter official alias
npx tangle-sandbox --help
Never run bare npx tangle (or npx tangle-cli).
Those npm names belong to unrelated third-party packages and would execute someone else's code.
The official names are @tangle-network/sandbox-cli and its forwarding alias tangle-sandbox.
Install globally to expose the short tangle binary on PATH:
npm install -g @tangle-network/sandbox-cli
# or
pnpm add -g @tangle-network/sandbox-cli
tangle --help
tangle sandbox list
Build from this monorepo:
pnpm --filter @tangle-network/sandbox-cli build
node products/sandbox/cli/bin/tangle.js --help
Save a graph in a repository's .tangle/graphs/<name>.yaml or in
~/.tangle/graphs/<name>.yaml. Repository graphs take precedence. The packaged
haiku-review.yaml contains a writer, an independent
critic and a declared completion check.
tangle graph new "Write and independently judge a haiku" --name haiku-review
tangle graph run haiku-review --dry-run
tangle graph run haiku-review
tangle --json graph run haiku-review --cloud
tangle --json graph inspect <run-id>
tangle graph run haiku-review --resume <run-id>
Graphs use the selected harness's native subscription login by default. Set seat in
~/.tangle/config.json to keep a default; --seat overrides it for every node.
A graph with no integration needs requires no Tangle login. Before starting
agents, an interactive run connects missing needs in the browser and resumes
the same run. It uses the existing Tangle login when authentication is needed.
Validation, --json and noninteractive runs report missing providers with the
exact tangle hub connect <provider> command. Ctrl-C cancels login, connection
polling and pending Hub requests.
Local runs use the driver registrations supplied by the pinned cli-bridge
package. A saved graph selects its resolved harnesses; an explicit
BRIDGE_BACKENDS limits which drivers may run, including when a seat lists
fallbacks. Bridge accepts canonical harness names such as claude-code and
their backend aliases. A profile harness recognized by the SDK is not proof
that the local Bridge implements that driver; cloud deployments have their own
installed drivers and capability admission.
For an operator-configured API or local inference route, set
BRIDGE_SUBSCRIPTIONS_ONLY=0 explicitly and supply an exact provider and model,
for example --seat prime/openai/<model-id> with Prime's native model and
credential configuration. Such an explicit route can use a registered driver
that does not publish model catalog entries. This does not establish a working
login or profile support: Bridge still checks the selected driver's health,
capabilities and native admission. An exact catalog row with authenticated native
status can supply the provider for an otherwise opaque model name. Automatic seat
selection and the default subscription-only mode still require verified
subscription inventory. Graph command checks remain independent of the selected
agent harness.
Local graph gates accept --param gate.<id>=<choice> or ask in the terminal.
Supplied choices are validated before execution and recorded with the run;
resume preserves them and Runtime replays completed decisions. JSON and
noninteractive runs require an explicit answer. The gate. prefix is reserved
for these CLI controls.
Progress goes to stderr; --json returns the result or the shared error contract
on stdout. Local run journals live under ~/.tangle/runs/<run-id>, and local graph history
lives in ~/.tangle/graph-registry. Unknown token and cost totals remain null.
To learn from retained runs, admit related tasks under the same independent unit and keep each unit in one partition. Repeating ingestion updates that run's checkpoint without adding another example. Unavailable runs remain visible with evidence gaps; lifecycle completion never becomes a quality label.
tangle --json graph dataset ./runs <run-id> --domain software --unit repository-a --split train
tangle --json graph dataset ./runs <another-run-id> --domain software --unit repository-b --split dev
tangle --json graph dataset ./runs <heldout-run-id> --domain software --unit repository-c --split test
tangle --json graph improve ./delivery.graph.yaml ./runs --suite ./software-evaluation.json --campaign ./campaign
tangle --json graph activate ./campaign ./delivery.graph.yaml
tangle --json graph observe ./campaign <subsequent-run-id> --unit new-production-task
A case can also be an authored task that no graph has run. Its JSON file names
the task's params, optional trigger and gateChoices, the grading data
only the evaluator reads, optionally a taskWorkspace (a graph workspace capture
reference relative to the task file, the repository state a Harbor-style case
starts from), and optionally an evidenceRun: an earlier local or
cloud run of the task, retained as evidence and never as a label. Learning runs
each task through the graph with its own inputs and grades it with the suite's
evaluator, so a dataset of tasks alone is learnable. The same task file is the
same case; changing its grouping or grading needs a new dataset.
tangle --json graph dataset ./tasks --task ./task-a.json --domain software --unit repository-a --split train
For continuous local capture, add capture to the evaluation suite and identify
the independent task group with a graph parameter:
"capture": {
"dataset": "../retained-runs",
"unitParam": "repository",
"splitSeed": "software-tasks-v1"
}
tangle --json graph run ./delivery.graph.yaml --param repository=project-a --learning ./software-evaluation.json
tangle --json graph dispatch ./delivery.graph.yaml --event ./event.json --delivery issue-42 --param repository=project-a --learning ./software-evaluation.json
tangle --json graph dataset ../retained-runs --reconcile
The dataset path resolves relative to the suite. A stable domain, group and seed
keep related tasks in one train, dev or test partition. Capture records the exact
admission before host startup and reconciles the retained outcome afterward;
--reconcile also recovers admissions left by a killed CLI. Retrying a delivery
preserves its original admission, grouping and timestamp. Corrupt records remain
unavailable evidence, and a broken manifest never resets the dataset.
Immutable Eval rollout batches retain the same group and split for parent and
native child rows. Missing native sessions or tool schemas stay explicit gaps.
Production capture runs neither an evaluator nor an optimizer, and completion
alone never supplies a reward. Internal evaluation and proposal runs carry their
purpose and cannot count as fresh production observations. Cloud runs continue
through explicit retained-run ingestion.
For local tasks that depend on repository files, first capture one explicit Git root while its other writers are idle. The capture uses Runtime's maintained archive and limits. It retains HEAD, the index, tracked files and unignored untracked files in private local artifacts. Keep the reference outside the repository:
tangle --json graph workspace capture ./repository --output ./task-workspace.json
tangle --json graph run ./factory.graph.yaml --task-workspace ./task-workspace.json --param task=example
Dataset ingestion retains that exact workspace reference, and learning materializes it into every fresh candidate's private directory. Retries reuse the same allocation and preserve agent edits; a standalone dry-run releases only its own fresh validation copy. Missing or corrupt archive bytes refuse fresh replay; capture never executes repository scripts. Environment variables, installed tools and Git-ignored files are not snapshotted. Tracked files and Git history may contain private data; these artifacts remain local, and cloud dispatch refuses these local-only references. Legacy runs without captures retain a task-workspace-not-snapshotted gap rather than acquiring an unrelated current workspace.
Datasets retain exact trigger payloads and captured MCP host policies. Legacy manifests that omitted trigger context must be reingested before learning. dispatch, improve and repair accept --mcp-policy and private --mcp-secret key=ENVIRONMENT_VARIABLE bindings; secret values and environment variable names are not campaign identities.
Each graph, including the proposer, reserves its complete declared ceiling through Runtime's budget pool and reconciles only its matching retained settlement. Restart verifies every previously hashed settlement and replays its actual spend through the same owner pool, preserving cache and dollar completeness; missing or inconsistent historical receipts hold. An interrupted reservation keeps the exact run ID, input and compiled graph during the owner's resume attempt. An unavailable native attachment or unknown usage cannot authorize replacement work or a new comparison. Eval may close an interrupted proposal as failed even when its native evidence is recovered. Recovered final-test cells with incomplete end-to-end latency hold the operational comparison instead of appearing artificially fast. Supplied benchmark arms use content-addressed source snapshots throughout a campaign.
Activation locks the canonical target across campaigns and rechecks its bytes after evaluator calibration and immediately before replacement. Atomic rename does not provide a filesystem compare-and-swap against unrelated editors. Activation also recompiles each measured case with ordinary execution settings and refuses a seat override or changed default that would not carry into an ordinary run. It freezes measured harness/model/seat/connection selections and MCP policy from retained compiled graph records. Observations verify those frozen host selections without consulting today's defaults, while allowing new task inputs through the same authored source. Missing execution records, historical activation records without this binding, and previously unmeasured selections refuse observation. Observations must start after activation, exclude every campaign execution, and identify a new production task unit with inputs distinct from the learning cohort and earlier observations. Repeating the same observation returns its retained verdict; another run cannot count that unit or task again.
The evaluation suite is JSON with version: 1, domain, the inline-prompt
node to improve, or a list of nodes whose prompts one candidate changes together,
objective, minimumEffect and reps. Its evaluator
declares an absolute executable command, args, files (every script, rubric and data dependency)
and timeoutMs. The command reads one JSON request from stdin and emits exactly
{"quality": 0.0, "notes": "independent outcome evidence"} on stdout. Requests
contain scenario (an authored task's grading included), retained evidence
(null for a task with no earlier run), and the candidate artifact, including
its native run ID, output, measured usage, duration, and evidence: Runtime's
bounded per-node projection of the run (outcome, settled output, last tool
calls, final message, tokens). The evaluator runs outside
the candidate's workspace. Include calibration entries with a request and
independently known quality of zero or one; both classes must pass before
inference begins. A failed evaluator is an unmeasured cell, never a quality zero.
Evaluator commands follow the operator's subscription-only spending policy.
Complete static inline profiles opt into "mutation": "agent-profile" in the
same suite. This path runs Runtime's profile search over the whole node profile
with the same retained native campaign runner and retains its hold. Final
measurement, proposal handling, canonical activation and full-profile observation
are deferred to draft PR #19145
until native runs report complete accounting; graph activate refuses a
full-profile record with GRAPH_ACTIVATION_UNSUPPORTED. Supply assessment.policy
and assessment.limits using the published Interface evaluation contracts, then
pass --assessment ./fresh-runs/versions/<digest>.json to graph improve. The
manifest must be a separate frozen dataset whose tasks and independent units do
not overlap any search train, dev or test case. There are no implicit assessment
limits or statistical defaults.
All local campaigns in one domain share Eval's protected final-evidence ledger
under ~/.tangle/final-evidence. Search and assessment reserve independent units
and exact task-input identities before development, then record the exact
candidate roster before final dispatch. Changing a rollout ID, unit label, dataset
directory, or workspace capture policy does not make the same input fresh.
The ledger also prevents a prior final input from entering later development,
and prevents previously used development input from becoming a final test.
The installed Eval owner must support source identities; older owners refuse
learning before inference. Legacy domain histories without source identities
remain unqualified until their original exposure can be established.
An interrupted native search may resume its identical durable claim;
an official optimizer that cannot safely resume exposed evidence requires fresh
final units. This ledger covers this local state directory, not other machines.
The evaluator may additionally return an actual passed boolean and
accounting: { usage, evidence }. Their schemas are Interface's fixed-spend and
embedded-artifact contracts. Complete profile assessment requires passed,
including in calibration. Missing accounting remains unavailable and holds the
candidate. An evaluator that performs no inference may record its own measured
zero inference usage; the CLI never assumes that an arbitrary evaluator is free.
Knowledge generation additionally consumes the Knowledge package's optional
knowledgeMetric verdict without deriving it from quality.
Profile candidates preserve nonselected source bytes and independent checks.
Shared, imported, dynamic or privately encoded profiles and external seat
overrides refuse exact profile materialization. The baseline requires a retained
local train run whose served model carries a snapshot. Retained flow traversals
derive edge directives through Runtime's
execution transform. Arbitrary profile authorization callbacks remain unsupported.
Incomplete preparation or search accounting produces a retained hold with its
actual owner evidence, without a publishable proposal. Repeating a completed
campaign returns that outcome without rerunning search. A final measurement is
refused with GRAPH_PROFILE_MEASUREMENT_UNSUPPORTED.
Static profile identity does not freeze physical Hub accounts, expanded tool
resolution, environment allocations or subscription cost.
The canonical profile path depends on qualified owner releases for exact graph profile mutation, observed-model interpretation, retained flow derivation and incomplete measurement outcomes. Until those releases and their consumer floor are adopted, this source path is not a supported installed CLI capability.
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.