Scan your whole stack
From OX Research Newsroom
Are you using stream-connect-sdk?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.8.6
stream-connect-sdk was last scanned on 24 Nov 2026 at version 0.8.6. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.8.6 LATEST | 24 Nov 2026 | No rules fired |
| 0.8.5 | 20 Sep 2026 | No rules fired |
Findings for v0.8.6. 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.8.6; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Security release: axios is upgraded to 1.20.0 and DOMPurify to 3.4.17, and the zod dependency is removed, clearing every npm audit --omit=dev advisory against the SDK's runtime dependencies. No API or wire-format change. The X-SDK-Page-Path header is now read on each request instead of once at mount. The carrier credential form no longer invites the browser to fill in the login saved for the host site. Fix: a member who resubmits the same credentials while that validation is still running keeps the 2FA method picker or code prompt instead of sticking on "Connecting…" until a reload.
The entry screen's "Manage your carriers" tile now carries an "X logins need attention" pill (red if any critical problem exists, amber otherwise, hidden at zero), so members in portal mode see broken logins without clicking in. The SDK also reports the hosting page's pathname (X-SDK-Page-Path) so fix-credentials emails can route members of SDK-only tenants back to the portal page that embeds the widget.
Credential validations that outlive a single progress stream now keep reporting live. A stream connection is capped at about ten minutes server-side; the SDK reattaches to the running validation instead of showing "Still working on it" and going quiet, so members on slow carriers or long MFA waits see the flow finish rather than having to reload.
Fix: carriers whose credential form asks for a Date of Birth (Medical Mutual, SimplePay Health) could not be connected at all. The value was discarded before submit, so the server rejected the enrollment as missing a required field and no input format worked. Regression introduced in 0.8.0. Date fields now render as a native date input.
Patient Access API (OAuth) connections finish with a self-dismissing "Connected" toast and return the member to the carrier picker instead of dead-ending on a full-page end widget. Tapping an already-connected carrier opens a status view first. Fix: 2FA-required carriers reach the verification-method picker rather than a false "Connected". StreamConnect() refuses to mount on insecure (plain-HTTP) host pages.
Handle expired connectAccessToken cleanly. Long-lived pages no longer surface the misleading 422 when the ~60-minute server-side TTL elapses; integrations opt into transparent refresh via a new server-side endpoint hook, or a clean expiry callback as a fallback. See the Refreshing an expired token integration guide.
Polished default appearance, React 19 + TypeScript, real-time credential-validation streaming, and a substantial dependency cleanup. The init() contract is backward-compatible: every option supported in 0.7.7 keeps working, including the custom render props (renderChoosePayer, renderPayerForm, renderEndWidget).
This SDK embeds the EasyEnrollment platform into the host application's own pages. From 0.8.0 onward, the SDK ships with a polished default appearance so it looks good out of the box on any host page, with no required CSS work. Branding is configurable via theme.primaryColor, and the existing custom render props remain available for integrators who want full control over a particular step.
Latest highlights below. The full per-version changelog lives in CHANGELOG.md.
npm audit --omit=dev reports no advisories against the SDK's
runtime dependencies.X-SDK-Page-Path is read as each request is sent, not once at
mount, so a single-page host that changes route reports the page
the widget is actually on.origin_not_allowed error and an FAQ entry. TPA Stream support
turns the allowlist on.X-SDK-Page-Path,
letting the backend stamp the embed location per SDK token and
tenant and route fix-credentials emails back to the hosting portal
page. Older backends ignore the header.pending_async
is still there, but only for when reattach genuinely can't proceed.task_id + task_token
(stream #15091). Against an older backend the SDK falls back to the
previous pending_async behavior rather than failing.{"type": "string", "format": "date"} in the carrier
schema) now render as a native date input rather than a bare text
box, so the submitted value is always the ISO YYYY-MM-DD the
backend expects.stream-connect-sdk-hook) was never affected.realTimeVerification.StreamConnect() refuses to mount on insecure (plain-HTTP) host
pages; localhost / 127.0.0.1 / [::1] still work for local dev.connectAccessToken (the ~60-minute server-side
TTL) without the misleading 422. Opt in to transparent recovery by
wiring connectAccessTokenRefreshFn against a server-side refresh
endpoint (Flask + Express snippets in docs),
or use the onConnectAccessTokenExpired callback (and
tpastream-connect-token-expired window event) to render a
"session expired" UI as a fallback. Parallel-request stampede
guarded; notifications coalesced to one per expiry cycle.
Integrations that wire nothing see a cleaner error message but
still need a page reload to recover.theme.primaryColor init option recolors buttons, links, focus
rings, and progress bars.enableInterop -> enablePatientAccessAPI rename (legacy alias
kept indefinitely).realtimeTimeout and maxRetries accepted but @deprecated
no-ops (knobs for the deleted polling loop).fixCredentials accepted but @deprecated and ignored;
member-portal mode is derived from connectAccessToken presence.init() call site. See
docs/migration-0.7-to-0.8.md
for the upgrade story.Start with docs/ for a full table of contents.
Common entry points:
The separate React Native hook package (stream-connect-sdk-hook@0.6.2)
is soft-deprecated in favor of embedding the main SDK in a WebView.
The published 0.6.2 tarball on npm keeps working for existing
integrations; we're not republishing because the hook's source
imports from assets/shared/ which the 0.8 rewrite deleted, and
the right path for new integrations is the WebView pattern anyway.
See sdk-hook/docs/README.md for the
deprecation notice and recommended pattern;
Quickstart > Mobile
has end-to-end examples.
npm install # install dependencies
npm run build # build sdk.js (production bundle)
npm run format # biome check --write across assets/
npm test # lint + typecheck (runs both below)
npm run test:lint # biome check assets/
npm run test:types # tsc --noEmit
Bump the version in package.json with each release and update
CHANGELOG.md.
A dev-only /sdk-test route is wired into the stream webapp for
iterating on the SDK against a real backend. It mints a fresh
connect access token server-side per request and embeds the SDK with
a known-good fixture. See stream/views.py::sdk_test in the
stream repo for the
implementation, and stream/static/js/sdk-test.js for the bundled
SDK artifact it serves.
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.