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

@chatterfly/widget

Latest version: v0.8.0

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
npm package Publisher: anandkollam
2 Versions
73 Downloads

Scan summary

@chatterfly/widget was last scanned on 28 Nov 2026 at version 0.8.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 2 versions, all published within 2 days (27 and 28 Nov 2026).
  • Findings: No rules fired in version 0.8.0.
  • Downloads: 73 downloads.

Versions

2 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.8.0 LATEST 28 Nov 2026 No rules fired
0.7.0 27 Nov 2026 No rules fired

No rules fired in 0.8.0

Findings

Findings for v0.8.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 0.8.0; other versions have their own rules, not their own score.

README

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

@chatterfly/widget

Explicit waiting-event notifications

useWaitingEventNotifications({apiBase,runId,participantToken,enabled?}) is an opt-in headless reader of durable metadata addressed to this exact human participant by an authored AwaitEvent.notify_participants. It returns notifications, loading, error and a manual refresh(); there is no hidden polling, delivery, approval or memory tool. Missing credentials/disabled state make no request; changed credentials clear old metadata immediately. Notifications contain only wait_id, step_id, event, created_at; they grant no payload, transcript or audience access. Hosts may render these as explicit notices; ordinary run output retains its existing visibility contract.

Assistant workflows can opt into assistant_context:"source_summary" for bounded older original-source summaries plus recent originals. React and script/web-component assistants display the localized summary/omission notice; headless integrations receive the same optional assistant.context metadata and should show an equivalent notice. It contains coverage/IDs/hashes only, never private summary text. Interrupted pre-agent summary work automatically recovers with a frozen-source lease/CAS. Failed retryable context exposes retryAssistantContext(expectedAttempt,expectedGeneration); React/script render the same localized retry action without discarding drafts or restarting the run. No generic run event carries derived text. Summaries are fallible data, never approval, instructions or saved memory. Defaults/other surfaces and original-only finalization are unchanged. See limits and lifecycle.

Embeddable React participant widget for Chatterfly workflow runs.

Install

npm install @chatterfly/widget

Use (React)

Import the widget stylesheet once in your application, then render the component using either a public workflow or a server-created participant.

import "@chatterfly/widget/style.css";
import { ChatterflyWidget } from "@chatterfly/widget";

export function Participant() {
  return <ChatterflyWidget workflowId="workflow-id" apiBase="https://api.chatterfly.ai" />;
}

For private workflows, create the run and participant token on your server and pass runId and participantToken to the component. Never expose a management token or private workflow key in browser code.

apiBase is required — there is no localhost default.

Use (no build step)

For hosts without React or a bundler, load the self-contained embed bundle:

<script src="https://cdn.jsdelivr.net/npm/@chatterfly/widget/dist/embed.global.js"></script>
<chatterfly-widget
  workflow-id="workflow-id"
  api-base="https://api.chatterfly.ai"
></chatterfly-widget>

Or imperatively via Chatterfly.mount(el, options) / Chatterfly.unmount(el). Styles are injected automatically.

For multi-page portals combining WidgetSlots, FloatingWidgets, WikiExplorers, and RunHistoryLists (app.schema.json), import <ChatterflyApp /> in React or mount <chatterfly-app app-id="..." api-base="..."> from the same embed.global.js bundle (or Chatterfly.mountApp(el, options)). See docs/apps.md.

Customization

  • Theming: theme prop (typed CSS-variable overrides) or --cf-* custom properties; colorScheme="dark" | "auto" presets.
  • Participant Memory & Preferences Drawer: for persistent assistants (Agent[mode="assistant"]), built-in PersonalMemoryControls renders a themed slide-over drawer with a Concise | Balanced | Detailed response-style control, inline "I ..." + 256 UTF-8 byte pre-validation, privacy-fenced human-readable share_targets assistant/project pickers, and .json Blob export download (types PersonalMemoryShareTargets, PersonalMemoryExport exported for headless consumers).
  • Chrome slots: header, footer, emptyState, completedState, errorState, plus components={{ BotBubble, UserBubble }} overrides.
  • Floating launcher: mode="floating" for a docked chat bubble + panel.
  • i18n: strings prop overrides every built-in chrome literal.
  • Events & control: onEvent/onStatusChange/onSessionOpened/ onMessage callbacks and an imperative ref (restart/disconnect/ sendMessage).
  • Session persistence: persistSession (default true for serverless embeds — pass false to opt out) resumes a run across page refreshes; clickToStart gates auto-start behind a button; resumePrompt shows a continue/restart choice card for an active persisted session; showCompletedHistory (default true) replays a terminal persisted run read-only with a "Start new conversation" CTA.
  • Connection lifecycle: the widget sleeps idle conversations (active/dormant/hibernating) instead of holding every socket open forever, tunable via connectionPolicy (or "always-on" to disable); reconnects use jittered backoff and never blank an already-populated timeline; an expired participant token is transparently re-minted where possible, otherwise surfaced as the expired status.
  • Headless: useChatterflyRun() drives the connection/state machine with no UI, for hosts building a fully custom surface.

Full reference: docs/embedding.md (also served at $APP_URL/llms/embed.md for coding agents).

Explicit personal memory in text assistants

React, headless and script builds share participant-authorized Personal facts controls. A host-verified identity token and a currently authorized registered Agent are required; scope is the same verified user + registered Agent across authorized workflows. Ordinary chat never writes memory. Review exact benign first-person content, then explicitly consent; actual-content provider admission fails closed for sensitive/secret/third-party/uncertain data, with limitations rather than a sensitive-data detection guarantee. No automatic extraction or cross-user sharing.

Headless results expose personalMemories, recallAssistantMemories() and writeAssistantMemory({request_id,expected_revision:0,content,confirm:true}). Retain the same random request UUID on ambiguous add retries. Corrections use {id,expected_revision,content,confirm:true}; forget uses {id,expected_revision,forget:true,confirm:true}. Optional expires_at is future and within one year. Mutations pin the current open conversation, clear on account/ session switching, and report success only from a durable commit receipt. New session is not forget; forget is not deletion of source history/backups. Inline assistants retain only the original workflow/address-private response style. exportAssistantMemories() assembles the current source Agent's paginated facts/ tombstones and live grants; shareAssistantMemory(reviewedChange) supports grant, revoke and fence-pinned forget-all. Built-in controls review an exact fact/revision, Agent/project/workspace target and required expiry, with separate participant consent. Sharing serves only this same verified user in the same tenant; correction revokes grants and requires fresh review. Organizational knowledge remains independently owner/admin-authored, never promoted personal facts. Expiry is immediately excluded and periodic cleanup clears expired originals; non-content tombstones prevent stale retries. Exports/source history/backups have separate ownership/retention. Forget-all clears only this source Agent's facts. See the full embedding guide above for policy, limits and host exchange setup.

Development

From the repository root, pnpm dev builds the widget once and starts its watcher alongside the API and web app. To build only this package:

pnpm --filter @chatterfly/widget build

build runs two tsup passes: the primary ESM/CJS bundle (tsup.config.ts) and the script-tag/web-component IIFE bundle (tsup.embed.config.ts, dist/embed.global.js + dist/embed.css).

Publishing

See ../PUBLISHING.md for first-publish and repeat-release instructions.

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 @chatterfly/widget

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

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 (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Frame 2085668439 (1)
Group 1261154229