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

stream-connect-sdk

Latest version: v0.8.6

Overview

Last scanned
24 Nov 2026
Published
24 Nov 2026
npm package Publisher: tpastreamorg
6 Stars
5 Forks
2 Versions
16.1K Downloads
TypeScript Repo language

Scan summary

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.

  • Releases: 2 versions; the latest was published on 24 Nov 2026.
  • Findings: No rules fired in version 0.8.6.
  • Downloads: 16,094 downloads.

Versions

2 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.8.6 LATEST 24 Nov 2026 No rules fired
0.8.5 20 Sep 2026 No rules fired

No rules fired in 0.8.6

Findings

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.

README

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

Stream Connect JavaScript SDK

Version

0.8.6

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.

0.8.5

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.

0.8.4

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.

0.8.3

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.

0.8.2

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.

0.8.1

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.

0.8.0

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).

Philosophy

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.

Change Log

Latest highlights below. The full per-version changelog lives in CHANGELOG.md.

0.8.6 highlights
  • Fix: a member who submits the same credentials again while that validation is still running keeps the 2FA method picker or code prompt. Before, the widget stuck on "Connecting…" until the page was reloaded.
  • Dependency security upgrades: axios 1.20.0 and DOMPurify 3.4.17. zod is removed; the carrier credential form is now checked by a small built-in validator with the same rules and messages. 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.
  • The validation hero no longer sits flush against the step below it when a member returns to the carrier picker or the fix-credentials screen after a validation.
  • New docs for the per-key embed origin allowlist: the origin_not_allowed error and an FAQ entry. TPA Stream support turns the allowlist on.
  • The carrier username and password fields opt out of autofill. Because the SDK runs inside the host's page, the browser used to offer the login saved for the host site, and a customer reported a member's host-site login being filled into the carrier form.
0.8.5 highlights
  • "X logins need attention" pill on the entry screen's Manage tile: combined critical + warning count from the same severity classification the carrier list uses, red when any critical problem exists, amber otherwise, absent at zero. Updates live as validations complete, with no extra requests.
  • The widget reports the page it is mounted on via 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.
0.8.4 highlights
  • A validation that outlives one progress-stream connection keeps streaming. The server caps a single SSE connection at roughly ten minutes, but the validation behind it can run far longer: the post-MFA claims pull is usually what takes the time. The SDK now re-fetches the policy holder for a fresh stream token and resubscribes, up to ten times, covering the validation's whole observable lifetime.
  • Members who used to dead-end on "Still working on it" until they reloaded the page now watch the connection complete. pending_async is still there, but only for when reattach genuinely can't proceed.
  • Dropped connections take the same path behind a backoff, so an SSE blip no longer ends a validation's live reporting.
  • Requires the policy-holder GET to serve task_id + task_token (stream #15091). Against an older backend the SDK falls back to the previous pending_async behavior rather than failing.
0.8.3 highlights
  • Fix: a carrier whose credential form includes a Date of Birth field — Medical Mutual, SimplePay Health — could not be connected. Whatever the member typed was dropped before the request left the browser, so the server rejected the enrollment as missing a required field and returned a validation error no input format could clear. Introduced in 0.8.0 by a spread-order change; ten weeks in the field.
  • Date fields ({"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.
  • The React Native hook (stream-connect-sdk-hook) was never affected.
0.8.2 highlights
  • Patient Access API (OAuth) connections end with a self-dismissing "Connected" toast in the floating panel 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 (status, last-synced, masked username, claim-sync summary) with credentials gated behind an explicit "Update sign-in info" / "Reconnect".
  • Fix: 2FA-required carriers reach the verification-method picker rather than a false "Connected" — the realtime flow keys off a live validation task rather than realTimeVerification.
  • StreamConnect() refuses to mount on insecure (plain-HTTP) host pages; localhost / 127.0.0.1 / [::1] still work for local dev.
0.8.1 highlights
  • Handle expired 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.
0.8.0 highlights
  • Polished default appearance; no host-page CSS required.
  • theme.primaryColor init option recolors buttons, links, focus rings, and progress bars.
  • React 19, full TypeScript port; substantial dependency cleanup (Bootstrap, jQuery, FontAwesome, react-jsonschema-form, react-popup, react-select, query-string and others removed).
  • Non-blocking credential validation: SSE-driven progress in a hero element + corner panel, parallel validations, inline 2FA, no modal/full-screen takeover.
  • 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.
  • Backward-compatible with 0.7.7 at the init() call site. See docs/migration-0.7-to-0.8.md for the upgrade story.

Example Page

Here!

Package

Here!

Additional Documentation

Start with docs/ for a full table of contents. Common entry points:

  • Quickstart
  • Client Usage: full init option reference
  • Migrating from 0.7.x to 0.8
  • SDK Flow
  • Two-Factor Authentication
  • Fix Credentials
  • Patient Access API (Interop)
  • Theme
  • Connect Access Token
  • Errors
  • FAQ

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.

Development Commands

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.

Local sandbox

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.

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 stream-connect-sdk

References

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

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

PHP2Shell, Day 5 93.6% of Measurable Instances Still Unpatched (1)
Vulnerability Insights

PHP2Shell, Day 5: The Panic Hasn’t Turned Into Patching

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Frame 2085668439 (1)
Group 1261154229