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

@42ch/spoke-operations

Latest version: v0.19.0

Overview

Last scanned
25 Nov 2026
Published
25 Nov 2026
npm package Publisher: btspoony
6 Stars
0 Forks
17 Versions
3.1K Downloads
Rust Repo language

Scan summary

@42ch/spoke-operations was last scanned on 25 Nov 2026 at version 0.19.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 17 versions; the latest 4 were published within 6 days (20–25 Nov 2026).
  • Findings: No rules fired in version 0.19.0.
  • Downloads: 3,078 downloads.

Versions

17 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.19.0 LATEST 25 Nov 2026 No rules fired
0.18.1 24 Nov 2026 No rules fired
0.18.0 23 Nov 2026 No rules fired
0.17.0 20 Nov 2026 Not shown
0.16.1 16 Nov 2026 Not shown

No rules fired in 0.19.0

Findings

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

README

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

@42ch/spoke-operations

Hand-written TypeScript lifecycle helpers for SPOKE: extension merge/preserve, Finding status transitions, promote acceptance gates, Scope/upsert/relate validators, body.attributes read helpers, timeline sequence helpers, AssemblePacket builders, capability-sliced adapter ports, and injection orchestration.

Depends on @42ch/spoke-schemas for wire types. Behavioral parity with the Rust crate spoke-operations.

Install

pnpm add @42ch/spoke-schemas @42ch/spoke-operations
# Pin both to the same lockstep SemVer (e.g. @X.Y.Z)

Pin both packages to the same lockstep SemVer.

Usage — pure helpers

import type { PromoteRequest } from "@42ch/spoke-schemas";
import {
  validatePromoteRequest,
  applyPromoteAcceptance,
  buildAssemblePacket,
  transitionFindingStatus,
  mergeExtensionMaps,
  SpokeRejectCode,
} from "@42ch/spoke-operations";

const request: PromoteRequest = { candidate /* KnowledgeEntry */ };
const gate = validatePromoteRequest(request);

if (gate.ok) {
  const accepted = applyPromoteAcceptance(request);
  // Persist via your product adapter
} else {
  console.error(gate.code, gate.message); // e.g. SpokeRejectCode.CANDIDATE_NOT_PROVISIONAL
}

Usage — adapter ports and orchestration

Implement capability-sliced ports (KnowledgeEntryPort, RelationPort, ScopeQueryPort, FindingPort, RuleQueryPort, HostManifestPort, plus optional ComputablePort / ForkTimelineQueryPort) on one adapter type. Ergonomic composed-port aliases (BaselineAdapter, ComputableAdapter, ForkAdapter, FullAdapter) name the same intersections as BaselinePorts, ComputablePorts, ForkPorts, and FullPorts. Then call the matching orchestrator:

import type { CheckRequest, UpsertRequest } from "@42ch/spoke-schemas";
import {
  orchestrateUpsert,
  orchestrateCheck,
  spokeOk,
  type BaselinePorts,
  type CheckRunInput,
} from "@42ch/spoke-operations";

declare const ports: BaselinePorts;
declare const upsertRequest: UpsertRequest;
declare const checkRequest: CheckRequest;

async function runBaseline() {
  const upserted = await orchestrateUpsert(ports, upsertRequest);

  const checked = await orchestrateCheck(ports, checkRequest, (_input: CheckRunInput) => {
    // Product-owned checker; library loads scope data and persists findings via ports
    return spokeOk([]);
  });
}

Optional capabilities use the composed port types (ComputablePorts, ForkPorts) with orchestrateProject / orchestrateCompute and orchestrateForkCheck / orchestrateForkAssemble.

Integrator notes

  • Adapters own transaction boundaries for multi-entry upsert and other multi-write sequences.
  • Active-uniqueness helpers take caller-supplied peer sets. Orchestration supplies batch-local peers; pass a store-wide snapshot when product uniqueness must span the whole store.
  • Absent optional ports at a dynamic boundary surface SpokeRejectCode.CAPABILITY_PORT_MISSING. HostManifestPort is baseline-required — not gated behind that code.

Helper families

  • SpokeResult / SpokeReject / SpokeRejectCode — unified reject envelope (stable code strings shared with Rust)
  • mergeExtensionMaps, preserveExtensionMaps
  • isValidFindingStatusTransition, transitionFindingStatus
  • validatePromoteRequest, applyPromoteAcceptance
  • knowledgeEntryToAssembleEntry, buildAssemblePacket
  • Scope matchers, OCC revision assert, KnowledgeEntry status/uniqueness, upsert/relate gates, computable validators, validateMindState (wire-shape gate for the optional spoke-cognition capability)
  • listBodyAttributes, filterBodyAttributesByTraitType, findBodyAttribute — read/filter body.attributes by trait_type
  • filterTimelineEventsByMomentScale, orderTimelineEventsByIds, orderTimelineEventsByPrecedes — filter and order moment-scale TimelineEvents from caller-supplied sets
  • Adapter ports + orchestration: KnowledgeEntryPort … HostManifestPort … FullAdapter, CheckRunInput, orchestrateUpsert … orchestrateForkAssemble

Reference FullAdapter implementation: fixtures/toy-world/ (ToyWorldAdapter in TypeScript src/adapter/).

Helpers and orchestrators are pure relative to host I/O — all reads and writes go through injected ports. Normative behavior: spoke-operations.md.

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 @42ch/spoke-operations

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

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?

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

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Frame 2085668439 (1)
Group 1261154229