Scan your whole stack
Are you using @genroc/eval-node?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.0.0-edge.ca9df025
@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.
| Version | Published | Status |
|---|---|---|
| 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 |
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.
The publisher’s own README, as collected from the registry.
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.
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.
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]
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.node:fs, …) stay as imports and resolve
on the worker.tsconfig.json. To use Node globals and
builtins, add "types": ["node"] to it.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.
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.
input.only_once if your script has side effects.code directly in YAML rather than
$import, write ${ as $${, because genroc reads ${ as interpolation. Scripts in .ts
files need no escaping.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.