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

@genroc/eval-node

Latest version: v0.0.0-edge.ca9df025

Overview

Last scanned
23 Nov 2026
Published
23 Nov 2026
npm package Publisher: stepan662
0 Stars
0 Forks
329 Versions
3.5K Downloads
Go Repo language

Scan summary

@genroc/eval-node was last scanned on 23 Nov 2026 at version 0.0.0-edge.ca9df025. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 329 versions; the latest 2 were published on 23 Nov 2026.
  • Findings: No rules fired in version 0.0.0-edge.ca9df025.
  • Downloads: 3,460 downloads.

Versions

329 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.0.0-edge.ca9df025 LATEST 23 Nov 2026 No rules fired
0.0.0-edge.1a409ea6 23 Nov 2026 No rules fired
0.31.0 12 Nov 2026 No rules fired
0.0.0-edge.c30783fb 12 Nov 2026 Not shown
0.0.0-edge.249fac07 10 Nov 2026 Not shown

No rules fired in 0.0.0-edge.ca9df025

Findings

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

README

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

@genroc/eval-node

TypeScript script tasks for genroc. The package provides two binaries:

  • genroc-import: the bundler. genctl runs it on every apply and generate to turn $import: ./script.ts into one typechecked, self-contained module string.
  • genroc-eval-node: the worker. It claims script tasks from genroc's queue and runs each one in a fresh worker thread.

Requires Node 24+. Full guide: TypeScript evaluation.

Quick start

genctl init --eval-node

This scaffolds a project with everything set up: the package, a .genroc that registers the resolver, a tsconfig.json, a reusable script-node child process, and a compose.yaml that runs the worker.

Adding it to an existing project

npm i -D @genroc/eval-node

Register the resolver in the .genroc beside your definitions:

resolvers:
  - name: import
    phase: typed
    ext: [.ts]
    command: [npx, genroc-import]
    types:
      Input: task.action.input.input
      Output: task.action.result

Then reference a script from a task. The simplest way is to spread the script-node child that genctl init --eval-node generates:

- id: greet
  action:
    type: child
    <<: "$process: ./script-node.genroc.yaml"
    input:
      code: "$import: ./greet.ts"
      input: { who: "$: input.who" }
    result_schema:
      type: object
      properties: { greeting: { type: string } }
      required: [greeting]

Writing a script

A script is an ES module. Its default export receives input, and its return value becomes the task result. The function may be async.

import type { Input, Output } from "./greet.genroc";

export default function (input: Input): Output {
  return { greeting: `hello, ${input.who}` };
}
  • genctl generate writes greet.genroc.d.ts beside the script. Input and Output come from the definition, so a mismatch fails the typecheck.
  • genctl apply typechecks and bundles. A type error or a missing default export fails the apply.
  • Imported files and npm packages are inlined into the bundle, so a stored definition never depends on what is installed later. Node builtins (node:fs, …) stay as imports and resolve on the worker.
  • The generated config extends your nearest tsconfig.json. To use Node globals and builtins, add "types": ["node"] to it.

Running the worker

docker run -e GENROC_SERVER=http://host:8448 ghcr.io/genroc/eval-node:latest
# or
GENROC_SERVER=http://localhost:8448 npx genroc-eval-node

The worker connects to genroc, not the other way round, so it only needs outbound access.

env default
GENROC_SERVER http://localhost:8448 the genroc server
GENROC_TOKEN / GENROC_TOKEN_FILE (none) token, or a file holding it, when the server uses --auth
PROCESS / TASK script-node / eval_node the process and task id this worker claims; the defaults are script-node's. Set PROCESS for a renamed copy. Neither may be empty.
CONCURRENCY 4 scripts run at once
LEASE_MS 30000 claim lease, renewed every third of it
POLL_MS 250 idle poll interval
WORKER_ID evaluator-<pid> the claim holder's name

With auth enabled, create a token that has only the worker permission:

genctl token create --perms worker --label evaluator -q

If the token is rejected, the worker exits instead of retrying.

Errors

When a script fails, the worker reports one of five error codes for your on_error rules to match. Retrying does not help with any of them, because the same code fails the same way:

code when
threw the script threw or rejected
timeout it ran past the task's timeout (5000 ms when the task has none)
compile_error the module does not parse, or has no default-export function
nonserializable the return value cannot be serialized to JSON (a cycle, a BigInt)
exited the script called process.exit()

error.data is {name, stack?}. name is the error's class name, so throwing your own class LimitExceeded extends Error {} tells your failures apart; setting e.name overrides it, and a thrown non-Error is Thrown. The stack is mapped back to your source lines.

If the worker itself faults, it releases the task for another worker and reports no error.

The task's timeout is the script's budget, waiting in the queue included. The worker stops the script just before it and answers timeout, so external.timeout means no worker answered at all. With script-node, set it through the timeout_ms input.

Limits

  • Not a sandbox. Scripts have the worker host's filesystem, network and environment. Run only code you trust.
  • Not deterministic. On a retry the script runs again with the real clock and random numbers. Pass any value that must stay stable through input.
  • Memory is not isolated. A script that runs out of memory takes down the whole worker.
  • Run-once is opt-in. If a worker dies mid-script, the task is claimed again and the script runs again. Mark the task only_once if your script has side effects.
  • Inline code needs escaping. When you write code directly in YAML rather than $import, write ${ as $${, because genroc reads ${ as interpolation. Scripts in .ts files need no escaping.

Links

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 @genroc/eval-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

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Vulnerability Insights

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

Frame 2085668439 (1)
Group 1261154229