Scan your whole stack
From OX Research Newsroom
Are you using hydraloop-diagram-react?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v1.0.0
hydraloop-diagram-react was last scanned on 24 Nov 2026 at version 1.0.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 1.0.0 LATEST | 24 Nov 2026 | No rules fired |
| 0.0.0 | 23 Nov 2026 | Not shown |
| 0.0.0-stage | 23 Nov 2026 | Not shown |
Findings for v1.0.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 1.0.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
React flow diagram of a Hydraloop H600, and the model that works out what the device is doing from its signals
Try it with any state in the playground: https://hydraloop-diagram.gr2m.dev/
The diagram shows the inlet and bypass, both treatment trains (T1 and T2 of A and B), UV-C, the T3 storage, the T4 backup and the outlets. Pipes are colored and animated while a routine, valve, pump or sensor signal shows water moving through them. Hover a valve, pump, sensor or tank for its raw value.
The model (stateAt) derives that state from tank levels, IO signals, HDM routines and firmware behaviors, as loaded from the internal HDM API with hydraloop-internal. See the H600 dashboard for how the H600 was found to work.
[!WARNING] The model is derived from the data of one H600 (firmware 9.24), not documented by Hydraloop. Its results may change as the inference improves.
npm install hydraloop-diagram-react
React 19 or newer is a peer dependency. The components have no hooks or browser-only code, so they also render as React Server Components.
import {
DiagramLegend,
FlowDiagram,
FlowSummary,
stateAt,
type Dataset,
} from "hydraloop-diagram-react";
import "hydraloop-diagram-react/styles.css";
export function H600({ dataset, t }: { dataset: Dataset; t: number }) {
const state = stateAt(dataset, t);
return (
<figure>
<FlowDiagram state={state} device={dataset.device} />
<FlowSummary state={state} />
<figcaption>
<DiagramLegend />
</figcaption>
</figure>
);
}
<FlowDiagram state device />: the diagram as an <svg> that fills the width of its container. state is a DeviceState from stateAt(), device is dataset.device, used for the outlets that are connected.<FlowSummary state />: the flows the diagram animates, as a sentence, e.g. "Water moving: Greywater → train A · T3 → toilets".<DiagramLegend />: the colors of the pipes.activeFlows(state): the flows of <FlowSummary> as an array of strings.Times in the tooltips use the runtime's locale and time zone. As they can differ between server and browser, their <title> elements have suppressHydrationWarning.
hydraloop-diagram-react/model exports the model without React, e.g. for a server or a CLI. The package root exports it, too.
stateAt(dataset, t): the DeviceState at time t (milliseconds since epoch): tank levels and trends, IO values, the phase of each train and how it was determined, T3, T4, the supply of the outlets, and room.roomAt(dataset, t): how many liters of greywater the H600 can take before they are bypassed to the sewer.routineAt(dataset, side, t), fillingTrain(dataset, t), isScheduledRestart(dataset, interval), ventedLevels(dataset, side), onIntervals(points, from, until), stepAt(points, t), valueAt(points, t)IO: the names of the IO signals with known roles. sideIo(name, side) adds the _b suffix of train B.caption(captions, name), humanize(text), capacityNote(level): labelsDataset, DeviceState, DeviceInfo, TankLevel, TrainState, Room, …Dataset holds the data of a time range. All times are milliseconds since epoch, and all series are sorted by time:
| Field | Content |
|---|---|
device |
Name, type and online state, and which outlets are connected |
from, until |
The range |
tanks |
Levels in liters of t1a, t2a, t1b, t2b and t3 (local.graph.getData(), converted with local.graph.getDeviceLevels()) |
tankMax |
The scale of each tank in liters |
io |
Points per IO name, one per change, including the last one before from (local.graph.getIo()) |
manual |
Whether an IO was switched manually, same shape as io (optional) |
routines |
Routine changes per side, including the last one before from (local.graph.getRoutineData()) |
behaviors |
Firmware behaviors that overlap the range (behavior of local.graph.getIo()) |
outages |
Outages, to tell the scheduled restart from a full H600 (local.connectivity.getOutageSummaries(), optional) |
ventedBefore |
T2 at the last venting of each train before from (optional) |
captions |
IO captions from local.graph.getGraphConfig() |
demo, fetchedAt, warnings, … |
Not used by the model |
The H600 dashboard builds it in lib/hdm.ts and keeps it up to date from the device socket in lib/live.ts.
Import hydraloop-diagram-react/styles.css once. All class names, custom properties and keyframes are prefixed with hl-, so they don't collide with the page's styles.
The colors are custom properties on :root without specificity, so the page can override them, e.g. to use its own theme:
:root {
--hl-bg: var(--background);
--hl-fg: var(--foreground);
--hl-grey: #b26a00; /* greywater */
--hl-clean: #16893f; /* treated water */
}
| Property | Used for |
|---|---|
--hl-bg |
Background of tanks, valves and pumps, and the gaps where pipes cross. Must match the page's background |
--hl-fg, --hl-muted, --hl-subtle |
Text, outlines and unknown states |
--hl-border |
Hatching of tanks without level data |
--hl-border-strong |
Tank outlines, and pipes with unknown state |
--hl-focus |
Focused valves, pumps and tanks |
--hl-grey, --hl-clean, --hl-mains, --hl-waste, --hl-air, --hl-uv |
The kinds of water, air and UV-C |
--hl-pipe-idle, --hl-pipe-open |
Pipes without water moving, closed and open |
--hl-font-family |
The diagram's text. Inherits the font if unset |
The dark colors apply with prefers-color-scheme: dark, unless <html data-theme="light">, and with <html data-theme="dark">. Animations stop with prefers-reduced-motion: reduce.
The playground at https://hydraloop-diagram.gr2m.dev/ renders the diagram for any state, from the source in apps/hydraloop-diagram.gr2m.dev. The image above is its "Receiving greywater" preset, rendered with npm run readme-svg in that folder.
ISC
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.