registry  /  @machinen/runtime  /  0.7.0

@machinen/runtime@0.7.0

The TypeScript API behind machinen. Reach for this when you want to drive microVMs from your own Node.js code instead of through the CLI.

Static Scan Results

scanned 14d ago · by rust-scanner

Static analysis flagged 10 finding(s) at 72.0% confidence. This version is warn-only unless an AI or security-team review confirms malicious behavior.

Static reason
One or more suspicious static signals were detected.

Decision evidence

public snapshot
Behavioral surface
Source
ChildProcessCryptoDynamicRequireEnvironmentVarsFilesystemNetworkShell
Supply chain
HighEntropyStringsUrlStrings
ManifestNo manifest risk signals triggered.
scanned 1 file(s), 399 KB of source, external domains: github.com, json-schema.org, machinen.dev

Source & flagged code

4 flagged · loading source
dist/index.jsView file
488// src/pty.ts L489: import { spawn } from "child_process"; L490: import { PassThrough } from "stream";
High
Child Process

Package source references child process execution.

dist/index.jsView on unpkg · L488
998* Run `cmd` inside the guest via the exec-agent. The command string L999: * is passed verbatim to `sh -c` inside the guest, so shell syntax L1000: * (pipes, redirection, env) works.
High
Shell

Package source references shell execution.

dist/index.jsView on unpkg · L998
6921req.once("error", fail); L6922: req.write(body); L6923: req.end(); ... L6930: warnedMissing = true; L6931: process.stderr.write( L6932: "machinen: gvproxy not found \u2014 microVM networking is disabled.\n Install: https://github.com/containers/gvisor-tap-vsock/releases\n Or point MACHINEN_GVPROXY at the binary d... L6933: ); ... L6936: // src/nested-virt.ts L6937: import { spawnSync as spawnSync2 } from "child_process"; L6938:
High
Command Output Exfiltration

Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.

dist/index.jsView on unpkg · L6921
496var PTY_NAME = "machinen-pty"; L497: var require_ = createRequire(import.meta.url); L498: function resolvePtyShim() {
Medium
Dynamic Require

Package source references dynamic require/import behavior.

dist/index.jsView on unpkg · L496

Findings

3 High3 Medium4 Low
HighChild Processdist/index.js
HighShelldist/index.js
HighCommand Output Exfiltrationdist/index.js
MediumDynamic Requiredist/index.js
MediumNetwork
MediumEnvironment Vars
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings