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

@reinsjs/eval

Latest version: v0.5.0

Overview

Last scanned
25 Nov 2026
Published
25 Nov 2026
npm package Publisher: adrate-io, choodie
1 Stars
0 Forks
19 Versions
2.3K Downloads
TypeScript Repo language

Scan summary

@reinsjs/eval was last scanned on 25 Nov 2026 at version 0.5.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 19 versions; the latest 5 were published within 7 days (19–25 Nov 2026).
  • Findings: No rules fired in version 0.5.0.
  • Downloads: 2,334 downloads.

Versions

19 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.5.0 LATEST 25 Nov 2026 No rules fired
0.4.13 24 Nov 2026 No rules fired
0.4.12 24 Nov 2026 No rules fired
0.4.11 23 Nov 2026 Not shown
0.4.10 19 Nov 2026 Not shown

No rules fired in 0.5.0

Findings

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

README

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

@reinsjs/eval

The eval harness reins uses to decide its own defaults with numbers instead of taste. Real sessions become fixtures; recorded tools replay deterministically so every arm faces the same world; arms (a baseline, a threshold-only fallback, or a full brain configuration) run side by side on real models; metrics come straight from the timelines; a gate says pass or fail.

pnpm add -D @reinsjs/eval
import { compact, perception } from "@reinsjs/brain"
import { checkGate, noneArm, renderReport, runEval, thresholdArm, withContextWindow } from "@reinsjs/eval"
import { anthropic } from "@reinsjs/lowering-pi"

const bound = anthropic("claude-sonnet-5", { apiKey: process.env.ANTHROPIC_API_KEY ?? "" })

const report = await runEval({
  fixtures,                                 // EvalFixture[]: seed log + task + graders (+ `maxResumes`, default 0: a budget pause counts as "did not finish"); see `recording.ts` for turning a real JSONL into one
  arms: [noneArm(), thresholdArm(), { name: "compact", sockets: [compact(), perception()] }],
  lowering: withContextWindow(bound.lowering, 32_000),   // shrink what the mechanisms *believe* the window is
  model: bound.model,
  repeats: 3,
})
console.log(renderReport(report))
const gate = checkGate(report, { candidate: "compact", reference: "threshold" })

The reference CLI is examples/eval/run.ts in the repository; copy from it rather than from memory.

Pieces

module what
jsonl read/write event JSONL; reading goes through the schema registry (unknown or unupgradable events fail loudly)
recording turn a real recording into fixture material: re-attach spilled blobs, redact deterministically
recorded-tools tools that answer from the recording so arms compare like with like
metrics pure functions over a timeline: tokens and cache hits, turns / tool calls / duplicate calls, compaction count and streaks, governance decay windows
arms noneArm, thresholdArm, withCapabilities / withContextWindow lowering wrappers; brain-driven arms are assembled by the caller from @reinsjs/brain
runner fixture × arm × repeat runner with approval auto-answering, budget resumes, handoff following and a forked probe question at the end
gate the four hard rules from the PRD (§7 threshold 2 / P8), candidate against reference: total tokens (≤ reference × ratio), completion (≥), recall (≥), governance (the candidate's own violation rate does not rise after compaction)
report Markdown tables

Zero node:*: file I/O and the CLI live in the caller (examples/eval in the repository is the reference CLI and holds the fixtures reins itself is measured on).

Read the numbers correctly

  • withContextWindow changes only what the mechanisms are told; the real window is untouched. It measures how the mechanism behaves in a narrow window, not what overflow does.
  • The probe question keeps brain tools (an arm with compact can recall, one with spill can fetch_blob) and drops host tools — so the recall cell is intentionally not the same exam for a baseline arm.
  • The governance rule compares the candidate against itself before and after its first compaction, and only over the runs that still had model actions after it (ArmSummary.violations.compactedRuns); runs that never compacted would otherwise dilute the after-rate towards zero. Both the per-run mean and the rate pooled over actions (pooledBefore / pooledAfter) must not rise, since either alone can be skewed by how actions are spread over runs. Two of the four gate rules can pass on "no information" — recall without planted facts, governance without such runs — and both say so in a note.
  • checkGate throws unless the reference and candidate arms cover exactly the same fixture × repeat cells, each once, and each arm's summary.runs matches its cells in outcomes (keep outcomes when you build a report by hand; strip timelines, not cells). Every rule compares per-run means, so a cell missing from one arm (a crashed process when arms run separately) would compare the arms on different exams.
  • Behavioural defects only show on real models. Scripted lowerings prove mechanics, not that a model will use them.

Documentation

docs/archive/implementation-plans/2026-09-08-技术方案v1.0.md §13, docs/系统全景图_模块盘点/eval.md, the E1–E4 reports under docs/archive/ — in Chinese.

MIT © 2026 NewRate Limited.

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

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

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

Vulnerability Insights

Compromised Claude Code extensions (versions 2.1.312 & 2.1.313) in Cursor try to install a backdoor

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Frame 2085668439 (1)
Group 1261154229