Scan your whole stack
From OX Research Newsroom
Are you using @42ch/spoke-operations?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.19.0
@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.
| Version | Published | Status |
|---|---|---|
| 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 |
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.
The publisher’s own README, as collected from the registry.
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.
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.
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
}
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
SpokeRejectCode.CAPABILITY_PORT_MISSING. HostManifestPort is baseline-required — not gated behind that code.SpokeResult / SpokeReject / SpokeRejectCode — unified reject envelope (stable code strings shared with Rust)mergeExtensionMaps, preserveExtensionMapsisValidFindingStatusTransition, transitionFindingStatusvalidatePromoteRequest, applyPromoteAcceptanceknowledgeEntryToAssembleEntry, buildAssemblePacketvalidateMindState (wire-shape gate for the optional spoke-cognition capability)listBodyAttributes, filterBodyAttributesByTraitType, findBodyAttribute — read/filter body.attributes by trait_typefilterTimelineEventsByMomentScale, orderTimelineEventsByIds, orderTimelineEventsByPrecedes — filter and order moment-scale TimelineEvents from caller-supplied setsKnowledgeEntryPort … HostManifestPort … FullAdapter, CheckRunInput, orchestrateUpsert … orchestrateForkAssembleReference 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.
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.