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

@slicevm/sdk

Latest version: v0.14.0

Overview

Last scanned
23 Nov 2026
Published
23 Nov 2026
npm package Publisher: siktec
0 Stars
0 Forks
1 Versions
JavaScript Repo language

Scan summary

@slicevm/sdk was last scanned on 23 Nov 2026 at version 0.14.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: First and only release on 23 Nov 2026.
  • Findings: No rules fired in version 0.14.0.

Versions

1 version published
Versions and the rules that fired in each
VersionPublishedStatus
0.14.0 LATEST 23 Nov 2026 No rules fired

No rules fired in 0.14.0

Findings

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

README

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

@slicevm/sdk

One TypeScript API for running untrusted JS/TS in a Slice sandbox, locally during development and on https://api.slicevm.com in production. Zero runtime dependencies, ESM, Node.js 18+.

npm i @slicevm/sdk
npm i -D @slicevm/cli   # only needed for local mode
import { createSlice, SliceApiError } from "@slicevm/sdk";

const slice = createSlice(); // remote if SLICE_API_KEY is set, else local

try {
  const res = await slice.evalSandbox("const x: number = 21 * 2; console.log(x); x", {
    fuel: 1_000_000,
    memoryKb: 4096,
    auditEgress: [process.env.STRIPE_SECRET_KEY!],
  });
  console.log(res.ok, res.result, res.stdout, res.telemetry.vmExecUs);
  if (res.violation) console.warn("sandbox trapped:", res.violation);
} catch (err) {
  if (err instanceof SliceApiError && err.code === "quota_exceeded") {
    // upgrade plan
  }
  throw err;
} finally {
  await slice.close();
}

Mode selection

createSlice({ apiKey?, baseUrl?, local?, binaryPath?, localArgs?, timeoutMs? })

  1. local: true always uses local mode.
  2. Otherwise, remote mode when apiKey or process.env.SLICE_API_KEY is set.
  3. Otherwise, local mode.

client.mode tells you which one was chosen.

API

  • evalSandbox(code, options?) returns SandboxResult plus requestId and serverTiming. Options are the contract's SandboxEvalOptions (fuel, memoryKb, allowNet, auditEgress, deterministicSeed, checkpoints) plus casDigest.
  • uploadCas(bytes) uploads a .cas bundle from slice pack (remote only, Pro and Scale plans) and returns { casDigest, bytes, modules }.
  • close() stops the local child process. Safe to call more than once.
  • parseServerTiming(header) parses a Server-Timing header into { name, dur?, desc? }[] (dur in milliseconds, per the W3C spec).

A sandbox violation (fuel, memory, OCap, egress DLP) is not an exception: you get ok: false and violation set, exactly like the HTTP API's 200 response.

Errors

Every failure is a SliceApiError with code, status, and requestId. API codes follow the contract: bad_request, unauthorized, forbidden, payload_too_large, rate_limited, quota_exceeded, overloaded, not_found, internal. The client adds timeout, network_error, local_runtime_error, and unsupported (with status 0).

Remote mode retries 503 overloaded up to 3 times and 429 rate_limited (burst limit, or the key's runs in flight are all taken) up to 8 times, with exponential backoff (200, 400, 800 ms plus jitter, capped at 5 s) or Retry-After when sent. quota_exceeded and other errors are not retried.

Remote mode

Calls POST {baseUrl}/v1/sandbox/eval and POST {baseUrl}/v1/cas/upload with Authorization: Bearer <apiKey>. baseUrl defaults to https://api.slicevm.com. Uses the global fetch.

Local mode

Spawns one long-lived slice mcp process per client, performs the MCP initialize handshake, and multiplexes concurrent calls by JSON-RPC id. The binary is found in this order: binaryPath option, SLICE_BINARY_PATH, the @slicevm/cli package. The child does not keep your process alive when idle and is killed when your process exits; call close() for a graceful shutdown.

Local mode requires the slice binary 0.11 or newer. Every call sends the hosted defaults (25,000,000 fuel, 4,096 KB) unless you pass your own, and the server is started with a fuel ceiling of 250,000,000 so Scale-sized budgets work; your own localArgs flags take precedence.

Differences from the hosted API:

Field or option Local behavior
telemetry Measured by the runtime; casMmapUs is 0 and mpkDomain is "none"
serverTiming Always []
allowNet Honored per call, but only for hosts the server also allows: start it with localArgs: ["--allow-net=<host>"]
auditEgress, deterministicSeed, checkpoints Same as the hosted API
exitCode Same as the hosted API (runtime 0.14 or newer)
Slice.kv Shared by all calls of one client (the hosted API starts every run empty)
casDigest, uploadCas Throw unsupported

License

MIT

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 @slicevm/sdk

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Frame 2085668439 (1)
Group 1261154229