Security architecture and transparency
Review trust boundaries, cloudflared transport, Dashboard 2.0 server-side filtering, verifiable npm and Docker build provenance, inspectable code, and Public Beta compliance status.
On this page
Trust boundaries & data flow
NR Connect splits responsibilities between your self-hosted Node-RED runtime, the Cloudflare edge proxy, and the NR Connect control plane:
Scroll sideways to view all columns.
| Component | Where it runs | What it handles |
|---|---|---|
| Node-RED plugin & cloudflared | Your own host | Runs flows locally, establishes an outbound-only encrypted tunnel to Cloudflare, verifies per-request HMAC-SHA256 signatures bound to HTTP method, path, and timestamp within a bounded replay window, and enforces Dashboard 2.0 page filtering and Require secure access. Never grants NR Connect shell or OS access. |
| NR Connect edge proxy | Cloudflare edge network | Terminates HTTPS, validates the signed HTTP-only session cookie, enforces instance ACLs, per-instance sign-in method policies, same-origin CSRF/CSWSH checks, and Admin vs. Operator path boundaries, strips any untrusted client identity headers, and signs forwarded HTTP/WebSocket requests. |
| NR Connect Portal | Managed cloud infrastructure | Stores workspace/instance metadata, ACLs, discovered Dashboard 2.0 page IDs and names, SHA-256 hashed webhook secret keys, and push device tokens. Does not store your Node-RED flows or local credentials. |
TLS termination model
cloudflared tunnel to your host. It is not end-to-end client-to-host encryption.What endpoints are protected
Remote access is default-deny: unauthenticated requests are blocked at the edge unless they match an explicitly configured public webhook prefix. When Require secure access is enabled, the local plugin also blocks unsigned non-loopback HTTP and WebSocket traffic across httpAdmin, httpNode, and RED.server upgrades.
Scroll sideways to view all columns.
| Endpoint | Admins | Operators | Notes |
|---|---|---|---|
| Flow Editor & Admin APIs (httpAdmin, /comms) | Full remote access | Blocked (403) | Direct LAN access is also blocked when Require secure access is enabled. |
| FlowFuse Dashboard 2.0 (/dashboard/*) | Full access | Allowed (page-filtered) | Server-side filtering strips unpermitted pages, groups, widgets, and meta.wysiwyg from Socket.IO ui-config and GET /dashboard/_setup; drops outbound msg-input:*, widget-load:*, and widget-sync:* broadcasts and sanitizes ui-control:* per socket; drops forged inbound widget actions (onAction, onChange, onSend, onLoad); and returns 403 on restricted /_debug/datastore/:id and /_debug/statestore/:id routes. |
| Dashboard 1 (/ui/*) | Full access | Allowed (perimeter auth) | Protected by sign-in, ACL, and Editor isolation; no per-page RBAC or msg._client.user injection. |
| http-in / http-response & UIBUILDER | Full access | Blocked (403) | Default-deny remotely. Individual http-in prefixes can be exposed via Public webhook/API routes (open or Bearer SHA-256 secret key). Operator access is currently scoped to /dashboard/*, /ui/*, and /resources/*. |
Dashboard 2.0 caveat: Dashboard-wide (ui-scoped) widgets not bound to a specific page or group—such as app-bar widgets or built-in ui-notification—are shared across pages by design, so flows should not push page-restricted data into a UI-wide widget.
Outbound connector (cloudflared) & updates
The outbound tunnel connector is the official open-source cloudflared binary downloaded from Cloudflare's GitHub releases (https://github.com/cloudflare/cloudflared/releases/download/). The plugin manages updates according to where cloudflared is installed:
- Plugin-managed (
<userDir>/bin/): Downloads are verified against pinned SHA-256 digests and smoke-tested in a staging directory before atomically swapping the binary. Heartbeat check-ins receivelatestandminimumversion advisories, surfacing a one-click Update connector button in the sidebar. SetNR_CONNECT_AUTO_UPDATE_CONNECTOR=truefor automatic background updates (versions below the minimum supported release also update automatically). - Host-managed (
PATH): Ifcloudflaredis already installed via your OS package manager or container image, the plugin never downloads or overwrites it and displays a host-managed update notice instead.
See Update the plugin and connector for step-by-step instructions.
Supply-chain integrity & build provenance
Every artifact that runs on your Node-RED host is built in public GitHub Actions workflows and can be verified end-to-end before installation or deployment:
Scroll sideways to view all columns.
| Artifact | Build & signing | How to verify |
|---|---|---|
npm package (@nr-connect/node-red) | Built and published from github.com/nr-connect/node-red via GitHub Actions Trusted Publishing (OIDC) with Sigstore/npm provenance. | Inspect the npm provenance ledger or run npm audit signatures. |
Docker image (ghcr.io/nr-connect/node-red) | Multi-arch (amd64 / arm64) GitHub Actions builds with SLSA build provenance (mode=max), an attached SBOM, and Trivy vulnerability scanning. | Inspect GitHub build attestations or run gh attestation verify. |
Outbound connector (cloudflared) | Official Cloudflare GitHub release binaries verified against pinned SHA-256 digests and smoke-tested in a staging directory before atomic swap. | Managed binaries match the pinned SHA-256 checksums in connectorManifest.json inside @nr-connect/node-red. |
# Verify npm package provenance signatures in your Node-RED userDir
cd ~/.node-red && npm audit signatures
# Verify the Docker image SLSA build provenance attestation
gh attestation verify oci://ghcr.io/nr-connect/node-red:latest -o nr-connectOpen vs. proprietary code & compliance status
- Inspectable on your host:
@nr-connect/node-redis MIT-licensed and published as plain, unminified JavaScript on npm and on GitHub at github.com/nr-connect/node-red—so all signature verification, Express/Socket.IO interception, and Dashboard 2.0 filtering running inside Node-RED can be audited directly. The tunnel daemon is the official open-sourcecloudflaredbinary. - Closed-source SaaS components: The NR Connect portal and edge proxy enforcing sessions, ACLs, and request signing are proprietary services.
Public Beta — no independent security certifications yet
To report a security vulnerability privately, sign in at NR Connect Support and choose the Security issue category, or email support@nr-connect.com with [SECURITY] in the subject line.