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

@opengeni/react

Latest version: v6.42.2-canary.46215620633001

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: benyhh, davletdz, jorgensandhaug
229 Stars
23 Forks
416 Versions
31.1K Downloads
TypeScript Repo language

Scan summary

@opengeni/react was last scanned on 29 Nov 2026 at version 6.42.2-canary.46215620633001. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 416 versions; the latest 5 were published within 2 days (28 and 29 Nov 2026).
  • Findings: No rules fired in version 6.42.2-canary.46215620633001.
  • Downloads: 31,052 downloads.

Versions

416 versions published
Versions and the rules that fired in each
VersionPublishedStatus
6.42.2-canary.46215620633001 LATEST 29 Nov 2026 No rules fired
6.42.2-canary.46212353262001 29 Nov 2026 No rules fired
6.42.2-canary.46209805821001 29 Nov 2026 No rules fired
6.42.2-canary.46198876537001 28 Nov 2026 Not shown
6.42.2-canary.46176952817001 28 Nov 2026 Not shown

No rules fired in 6.42.2-canary.46215620633001

Findings

Findings for v6.42.2-canary.46215620633001. 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 6.42.2-canary.46215620633001; other versions have their own rules, not their own score.

README

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

@opengeni/react

React hooks and styled components for Opengeni, built on @opengeni/sdk: live session streaming, a chat composer, a message timeline that renders streaming deltas / tool calls / spawned-worker status, session status badges, and fleet tiles for workspace overviews. Two opt-in surfaces layer on top: a sandbox workspace workbench (files, terminal, diff, and an optional desktop stream) and, at the @opengeni/react/machines subpath, the Connected Machines dashboard + enrollment flow.

The default root import (@opengeni/react) is the clean sandbox-agnostic surface — the chat/timeline hooks and components plus the sandbox workspace suite. Advanced chat-composer composition lives under @opengeni/react/composer; Connected-Machine UI lives under @opengeni/react/machines; realtime voice controls live under the lazily loadable @opengeni/react/realtime subpath. (The root barrel still re-exports the machines island for back-compat, deprecated per #144.)

Design-system-first: every visual decision routes through CSS-variable tokens (styles/tokens.css) — color, typography, radius, shadow, motion. Dark mode is the first-class token default; light is an opt-in via data-og-theme="light" on any ancestor. The embedded chat roots (OpenGeniChat, SessionConversation) resolve light or dark from the host page instead; see Conversation UI. Components are styled with Tailwind v4 utilities mapped onto the tokens, Radix primitives for behavior, and Motion for state-communicating animation. Override the tokens to rebrand everything.

Embedded connections and Sites

For a child chat's capability selection, prepareSessionCapabilityAccess reads an ancestor-to-child access plan without writing. Show the parent chats whose request is non-null and obtain an explicit confirmation before calling applySessionCapabilityAccess. The plan preserves existing choices, applies version-fenced updates root first, and grants no authority: each ordinary API request still authorizes its caller. Invalidate the review on actor/workspace changes. A partial failure may leave approved parent changes saved; prepare a new plan for retry instead of rolling them back. Existing attachSessionCapability remains a single-chat operation and never changes parents implicitly.

Optional @opengeni/react/connect exports useConnect, ConnectChooser, ConnectSetup, ConnectAccounts, and the composed ConnectPanel. Inject one @opengeni/connect controller per authenticated actor/workspace and dispose it when that scope changes. The controller uses your authenticated backend proxy; never place an organization key in browser props. Import @opengeni/react/connect.css for opt-in, scoped styles without Tailwind. DeviceAuthorization also accepts an optional render callback for host presentation; it receives shared copy state, the copy action, and the validated verification URL. Omitting it preserves the default embedded presentation.

CapabilityCatalogRow gives connections, skills, and plugins one consistent icon/name/description button with a decorative plus/check and visible exception states. Supply onOpen and an explicit status; the host owns setup and installation. ConnectionCatalog accepts the same states through each option's state. Older callers that omit state keep their visible status labels, so provider warnings are not hidden during migration.

PluginDiscovery accepts defaultProvider="openai" or "anthropic" to choose the initial registry. Omitting it starts with All. Users can still switch among All, OpenAI, and Anthropic; changing the search preserves their selection. The Opengeni Plugins page starts with OpenAI.

import { ConnectPanel } from "@opengeni/react/connect";
import "@opengeni/react/connect.css";

<ConnectPanel
  controller={controller}
  returnUrl={hostSelectedReturnUrl}
  onAuthorize={hostAuthorizeFromClick}
  finishInPopup // when onAuthorize opens the sign-in in a popup
/>;

The host owns synchronous popup/full-redirect navigation and pending-attempt recovery. Backend state, not a popup message or URL query, proves completion. With finishInPopup, a popup sign-in returns to a small page that closes itself instead of loading returnUrl inside the popup; leave it unset for full-page redirects. When the provider ends a sign-in with an administrator approval link on the attempt (an organization that must approve the app), the panel keeps that help visible, including after a cancel, until the person tries again or goes back to the list. Operation installation uses explicit selection; OAuth success alone is not installation. Account disconnect requires an observed version and confirmation, revokes local Opengeni access only, and never silently retries an unknown outcome. Provider readiness is deployment-dependent; use the server catalog rather than assuming every OAuth application or operator-managed provider is configured.

Optional @opengeni/react/sites exports SiteList, SiteDetail, and SiteClient. Pass the public SDK client through your host proxy. onOpen owns list navigation. Authoring buttons and prompts belong to the host and use the ordinary session SDK; they are not part of the Site component API. SiteDetail reuses PublishedHtmlArtifactFrame, accepts an optional authenticated/filtered tool bridge, and removes the frame after read-authority refresh failure. Loaded Sites revalidate every 15 seconds; downloaded HTML cannot be recalled and every tool call still needs live authority.

canPublish is only a presentation hint. Version-checked rollback/archive/restore remain subject to backend artifacts:publish permission. Sites stay workspace shared, even if a source session is private. See examples/embedded-product for the runnable loopback host reference. Native route reuse and full visual acceptance are not implied by these optional package surfaces.

Conversation UI

For an account-aware header, useLastStartedTurnPolicy(sessionId, { events, includeServingModel: true }) overlays the latest lease-backed serving receipt only when it belongs to the last started turn. This requires the optional getSessionModelAccount client method. Without the option, the hook continues to return the accepted turn policy. Neither mode changes the composer's preferred model. useSessionModelAccount reads authorized accounts and choices; pass provider so Automatic resets only that provider's choice. Its optional choice.serving is the last committed placement, not a queued next-turn choice. The timeline renders neutral account-switch events without exposing account identity or duplicating provider compatibility events.

OpenGeniChat and SessionConversation are the default product integration. Back them with createSessionProxyHandler from @opengeni/sdk, mounted on your server, and pass its mount as baseUrl. No provider, client, or workspace id is needed: the component creates the browser client and uses the workspace the proxy resolved for the signed-in user (from the proxy's client config).

import "@opengeni/react/compiled.css";

<OpenGeniChat baseUrl="/api/opengeni" />;
// or one conversation: <SessionConversation baseUrl="/api/opengeni" sessionId={sessionId} />

To give people one Send and nothing to learn, pass busySend: "steer":

<SessionConversation sessionId={sessionId} composerOptions={{ busySend: "steer" }} />
// OpenGeniChat: conversationProps={{ composerOptions: { busySend: "steer" } }}

A message sent while the agent works is then read as soon as it can, usually within seconds. There is no Queue choice beside Send and no Queue or Steer words; a message sent while the workstream is paused waits and shows as a waiting message. Add offerQueue: true to offer Queue beside Send again. The server makes the steer-or-start choice when the message arrives (delivery: "steer_or_send"), so a message reaches the running turn even if the page's view of the session is a few seconds old.

An open conversation marks itself read for the signed-in person while they can see it: its timeline is on screen, the page is visible, the window is focused, and it shows the live end of the conversation. Each delivered reply, question or failure is acknowledged once (never per streamed token) through updateSessionAttention with acknowledgedThroughSequence, so a late request never hides a newer reply. Unread state, and notifications your server derives from it (for example a turn.completed webhook that skips sessions where session.unread is false), then leave out replies the person already watched. A timeline your layout hides (for example a collapsed bar that keeps only the composer), a background tab, or an unfocused window acknowledges nothing. Pass readAcknowledgement={false} when viewing must not count as reading. Behind createSessionProxyHandler this uses its PUT …/attention route, which accepts only { unread: false }. Custom layouts around useSessionConversation call useSessionReadAcknowledgement (from @opengeni/react/session) with their own active signal.

Bearer-token apps pass headers (a function runs per request) or a custom fetch; a client passed with baseUrl replaces the one the component creates:

<OpenGeniChat baseUrl="/api/opengeni" headers={() => ({ Authorization: `Bearer ${getToken()}` })} />

The provider form keeps working, for example for several components sharing one client or the headless hooks:

<OpenGeniProvider client={new OpenGeniClient({ baseUrl: "/api/opengeni" })} workspaceId={workspaceId}>
  <SessionConversation sessionId={sessionId} />
</OpenGeniProvider>

Compose MessageTimeline and ChatComposer with the session hooks only when the product needs a materially different interaction model. These components do not consume the text-only @opengeni/sdk/chat fallback protocol.

OpenGeniChat adds the user's chat list to the conversation: a sidebar when the component is wide and a drawer behind a menu button when narrow (measured on its own container, so it works inside panels), a new-chat composer that creates the session from its first message, and inline rename and archive. It is composed from SessionList and SessionConversation, which you can also mount separately. Pass conversationProps for message rendering and tool renderers, createSession to create chats through your own endpoint, or sessionId / onSessionChange to control the selection (for example from the URL).

Live voice is opt-in, because a call spends your credits and asks the browser for the microphone. Turn it on with realtimeVoice={true} (via OpenGeniChat's conversationProps too). The composer then shows a voice button when the workspace offers an available voice model (for example hosted GPT Live with credits): the user talks, the voice model answers and hands work to the agent in the same chat, and the transcript lands in the timeline. It stays hidden when no model is available or when you pass realtimeVoice={false}. The voice code loads lazily on first display. The voice button never names the voice model (the model menu does, when shown), and neither does the React Native call screen. To name the action after your assistant, set its text through messages: on the web, "realtime.realtimeControl.startVoice": "Talk to Ava", with "realtime.realtimeControl.tryVoiceAgain" and "realtime.realtimeControl.talkLiveWithTheAgent" for the retry label and the idle hint; on React Native, "native.timeline.messages.startACall".

The working indicator before the first reply says "Thinking…". Pass genieLoading (phrases, messages, orb, or a whole render) to use your own copy or visual. File attachments follow the client config: a session proxy reports them off for anonymous visitors (visitor: true from resolve) unless it sets visitorUploads: true, and attachments={false} hides them.

SessionConversation and OpenGeniChat are built to look native inside someone else's product with zero styling:

  • Theme follows the host, not the OS: an enclosing data-og-theme, then class="dark"/data-theme (and similar) on <html>/<body>, the host's color-scheme, then the luminance of the background the chat sits on. Pass theme="light" | "dark" to force one.
  • Surfaces blend into the host (surface="host", default): backgrounds and cards are opaque mixes of the host background, so a navy app gets navy cards. Host-customized --og-color-* tokens are kept; surface="theme" uses the token surfaces as they are.
  • Run control is Stop, not Pause: a Stop control appears only while a response runs, and the next message continues a stopped conversation. Opt into the console's workstream Pause with composerProps={{ runControl: "pause" }} ("none" hides both).
  • No model picker by default: end users rarely choose models. Pass modelPicker, or report modelSelection: true from the proxy (createSessionProxyHandler({ modelSelection: true })); modelSelection: false also fixes the policy server-side.
  • Agent signals can be hidden: the goal pill (and any agents or commands segments you pass in chromeProps) show how the agent works. For end users to whom a paused goal or a helper-agent count means nothing, pass agentSignals={false} (conversationProps={{ agentSignals: false }} on OpenGeniChat). Queued messages, approvals and the agent's questions still show, and the goal is not read at all. Turn rows then show only their status, and an automation run shows as its one line and its answer. To hide only some of it, pass an object of switches, each true unless set: agentSignals={{ goal: false }} drops the goal pill and keeps queued messages, helper agents and turn-row detail (your turnSummary facets and the live step). The switches are goal, agents, commands and turnDetail.
  • The session row lines up with the composer: queue, wait, goal and agents chips sit in the composer's readable column in a wide panel; a chromeProps.className is added to that row and isn't needed to center it.
  • Automation runs read as what happened: a run shows one line, the automation's name and what the event that started it says, never its instructions. A run whose answer is exactly NO_REPLY (nothing for the person) is not drawn at all.

Attachments appear when the deployment enables uploads (attachments={false} opts out), the microphone appears when it reports voice input available (voiceInput={false} opts out), generated images, video, published files and screenshots display through the conversation's session scope, Site previews are hidden when the client config reports artifacts: false, the session goal shows with Pause/Resume/Clear, sub-agent cards open the child through onOpenSession (OpenGeniChat opens it in place), pending tool approvals render Approve/Reject, a yes/no question renders as two buttons, a failed load offers Try again, and toolRegistry customizes tool rendering.

The root keeps all existing exports, including workbench components, but never imports their optional peers. Conversation-only Next.js/Vite hosts do not need terminal, desktop, editor, or diff packages. Hosts mounting those surfaces opt in through the per-surface setup entries.

Highlighted diffs use the optional @pierre/diffs peer only after an explicit opt-in, so a host without it still builds with any bundler (Turbopack resolves every reachable import()). Hosts that install it call enablePierreDiffs() once; call it from the lazily loaded route that renders diffs to keep the peer out of your initial bundle. Views already on screen upgrade when it registers:

import { enablePierreDiffs } from "@opengeni/react/diffs";
enablePierreDiffs();

Without it, diffs and file views render as plain text.

OpenGeniProvider never blocks or reloads the host page when Opengeni deploys a new API contract revision. The stock Opengeni console opts into that stale-tab protection with reloadOnApiContractChange; embedded products should leave it off.

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 @opengeni/react

References

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

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Frame 2085668439 (1)
Group 1261154229