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

@procedures/node

Latest version: v0.68.7

Overview

Last scanned
24 Nov 2026
Published
24 Nov 2026
npm package Publisher: mark1russell7
0 Stars
0 Forks
111 Versions
16.2K Downloads
TypeScript Repo language

Scan summary

@procedures/node was last scanned on 24 Nov 2026 at version 0.68.7. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 111 versions; the latest 5 were published on 24 Nov 2026.
  • Findings: No rules fired in version 0.68.7.
  • Downloads: 16,232 downloads.

Versions

111 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.68.7 LATEST 24 Nov 2026 No rules fired
0.68.6 24 Nov 2026 No rules fired
0.68.5 24 Nov 2026 No rules fired
0.68.4 24 Nov 2026 Not shown
0.68.3 24 Nov 2026 Not shown

No rules fired in 0.68.7

Findings

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

README

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

@procedures/node

npm

Node.js process management procedures for the client ecosystem. Provides procedures for running scripts, spawning long-running processes, and managing process lifecycles.

Architecture Overview

┌─────────────────────────────────────────────────────────────────────────────┐
│                              Client Application                              │
│                                                                              │
│   await client.exec(["node", "run"], { script: "build.js" })                │
│   await client.exec(["node", "spawn"], { script: "server.js" })             │
│   await client.exec(["node", "kill"], { processId: "abc123" })              │
│   await client.exec(["node", "status"], {})                                 │
│   await client.exec(["node", "logs"], { processId: "abc123", lines: 50 })   │
│                                                                              │
└─────────────────────────────────┬───────────────────────────────────────────┘
                                  │
                                  ▼
┌─────────────────────────────────────────────────────────────────────────────┐
│                           Procedure Registry                                 │
│                                                                              │
│   ┌───────────────┐  ┌───────────────┐  ┌───────────────┐  ┌─────────────┐ │
│   │   node.run    │  │  node.spawn   │  │   node.kill   │  │ node.status │ │
│   │               │  │               │  │               │  │             │ │
│   │ Run to        │  │ Start         │  │ Kill by       │  │ List all    │ │
│   │ completion    │  │ detached      │  │ process ID    │  │ processes   │ │
│   └───────┬───────┘  └───────┬───────┘  └───────┬───────┘  └──────┬──────┘ │
│           │                  │                  │                 │        │
└───────────┼──────────────────┼──────────────────┼─────────────────┼────────┘
            │                  │                  │                 │
            ▼                  ▼                  ▼                 ▼
┌─────────────────────────────────────────────────────────────────────────────┐
│                          ProcessManager (Singleton)                          │
│                                                                              │
│   ┌─────────────────────────────────────────────────────────────────────┐   │
│   │                        Active Processes Map                          │   │
│   │                                                                      │   │
│   │   processId: "abc123"  ──►  { script, pid, startedAt, status }      │   │
│   │   processId: "def456"  ──►  { script, pid, startedAt, status }      │   │
│   │   processId: "ghi789"  ──►  { script, pid, startedAt, status }      │   │
│   │                                                                      │   │
│   └─────────────────────────────────────────────────────────────────────┘   │
│                                                                              │
└─────────────────────────────────────────────────────────────────────────────┘
                                  │
                                  ▼
┌─────────────────────────────────────────────────────────────────────────────┐
│                          Node.js child_process                               │
│                                                                              │
│   spawn("node", ["script.js"], { detached: true, stdio: "pipe" })           │
│                                                                              │
└─────────────────────────────────────────────────────────────────────────────┘

Installation

pnpm add @procedures/node

Procedures

The package has 5 procedures. Its register entry (import "@procedures/node/register") registers them: node.run, node.spawn, node.kill, node.status, node.logs.

node.run

Run a Node.js script to completion and return the output.

import { Client } from "@procedures/client";

const result = await client.exec<{
  stdout: string;
  stderr: string;
  exitCode: number;
}>(["node", "run"], {
  script: "./scripts/build.js",
  args: ["--production"],
  cwd: "/path/to/project",
  env: { NODE_ENV: "production" },
  timeout: 60000 // 1 minute timeout
});

console.log("Exit code:", result.exitCode);
console.log("Output:", result.stdout);

Input Schema:

Field Type Required Description
script string Yes Path to script file
args string[] No Command line arguments
cwd string No Working directory
env Record<string, string> No Environment variables
timeout number No Timeout in milliseconds. At the timeout, the script and its child processes are killed, and the call throws.
maxOutputBytes number No The most bytes kept of each output stream (default: 64 MiB)

The script runs with the Node.js of the host (process.execPath). The signal of the call also kills the script and its child processes.

Output Schema:

Field Type Description
stdout string Standard output
stderr string Standard error
exitCode number Process exit code
truncated boolean Present when an output stream was longer than maxOutputBytes
node.spawn

Start a long-running Node.js process. The process is a record of the process registry of client-shell: node.status shows it, node.kill ends it, and it ends with the host.

const result = await client.exec<{
  processId: string;
  pid: number;
}>(["node", "spawn"], {
  script: "./server.js",
  args: ["--port", "3000"],
  cwd: "/path/to/project",
  env: { NODE_ENV: "production" },
  ready: { pattern: "Server listening on", timeout: 30000 } // Wait for this output
});

console.log("Process ID:", result.processId);
console.log("PID:", result.pid);

Input Schema:

Field Type Required Description
script string Yes Path to script file
args string[] No Command line arguments
cwd string No Working directory
env Record<string, string> No Environment variables
ready { pattern: string; timeout?: number } No Wait until the output matches pattern (a regular expression). When the process does not get ready, the procedure stops it and throws.

Output Schema:

Field Type Description
processId string Internal process identifier
pid number System process ID
node.kill

Kill a spawned process by its process ID, with the processes that it started, and wait for its end.

const result = await client.exec<{
  success: boolean;
}>(["node", "kill"], {
  processId: "abc123"
});

if (result.success) {
  console.log("Process killed successfully");
}

Input Schema:

Field Type Required Description
processId string Yes Process ID from spawn

Output Schema:

Field Type Description
success boolean Whether kill succeeded
node.status

Get status of all running processes or a specific one.

// Get all processes
const result = await client.exec<{
  processes: ProcessInfo[];
}>(["node", "status"], {});

// Get specific process
const result = await client.exec<{
  processes: ProcessInfo[];
}>(["node", "status"], {
  processId: "abc123"
});

for (const proc of result.processes) {
  console.log(`${proc.processId}: ${proc.status} (PID: ${proc.pid})`);
}

Input Schema:

Field Type Required Description
processId string No Specific process ID to query
output boolean No Also give the end of the output of each process (the last 64 KiB)

Output Schema:

Field Type Description
processes ProcessInfo[] Array of process information

ProcessInfo:

Field Type Description
processId string Internal process identifier
script string Script path
pid number System process ID
status "running" \| "stopped" Process status
startedAt string ISO timestamp when started
node.logs

The procedure gives the output of one process that node.spawn started. The process registry of client-shell reads the output of each process and keeps its end: the last 64 KiB of stdout and stderr together. Thus the procedure gives that end, also after the process ended. The registry keeps the records of the last 50 ended processes.

const { status, exitCode, output } = await client.exec(["node", "logs"], {
  processId: "node-abc123-1",
  lines: 50,
  stripAnsi: true,
});

The input has these fields:

  • processId (necessary): the process ID that node.spawn gave.
  • lines: give only the last lines of the output.
  • stripAnsi: remove the ANSI escape codes (colors) from the output.
  • follow: give a stream of lines (see below).

The output has the processId, the status (running, exited or error), the exitCode of an ended process and the output.

The procedure knows only the processes of its host. The process writes to two pipes, stdout and stderr. Thus output has their lines in the order of their arrival. A process that node.spawn did not start is an error.

follow: a stream of the lines

With follow: true, the result is a stream. It uses processes.follow of @procedures/shell/command.

for await (const item of client.stream(["node", "logs"], { processId, follow: true, lines: 20 })) {
  if (item.type === "exit") break;
  console.log(item.type, item.line);
}
Item Meaning
{ type: "output", line } A line of the kept output. lines limits these lines. The kept output has stdout and stderr together.
{ type: "stdout" \| "stderr", line } A new line of the process, without its line end.
{ type: "dropped", bytes } The reader was slow, and the stream dropped this many bytes of output.
{ type: "exit", status, exitCode, signal } The end of the process. It is the last item.
  • The stream ends at the end of the process, at an abort of the caller, and when the reader stops. Each end removes the subscription from the process registry.
  • A line without a line end at the end of the process is the last line of its stream.
  • The procedure declares stream: { unbounded: true }, because a process can run without an end.

Process Lifecycle

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 @procedures/node

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

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229