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

@molecule/app-chatbot-tester-react

Latest version: v4.0.4

Overview

Last scanned
24 Nov 2026
Published
24 Nov 2026
npm package Publisher: vialoh
45 Stars
4 Forks
9 Versions
2.1K Downloads
TypeScript Repo language

Scan summary

@molecule/app-chatbot-tester-react was last scanned on 24 Nov 2026 at version 4.0.4. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 9 versions; the latest 2 were published within 6 days (19–24 Nov 2026).
  • Findings: No rules fired in version 4.0.4.
  • Downloads: 2,149 downloads.

Versions

9 versions published
Versions and the rules that fired in each
VersionPublishedStatus
4.0.4 LATEST 24 Nov 2026 No rules fired
4.0.3 19 Nov 2026 No rules fired
4.0.2 16 Nov 2026 No rules fired
4.0.1 13 Nov 2026 Not shown
4.0.0 12 Nov 2026 Not shown

No rules fired in 4.0.4

Findings

Findings for v4.0.4. 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 4.0.4; other versions have their own rules, not their own score.

README

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

@molecule/app-chatbot-tester-react

@molecule/app-chatbot-tester-react — sandbox UI shell for live-testing conversational AI: optional bot picker, message transcript, input row, error display.

Stateless about transport. The consumer owns the message array, send handler, and bot list; the package handles the layout and composition.

Extracted from the ai-chatbot-builder TestChat page; usable for any "preview your bot live" UI.

Auto-generated, AI-first package reference for the molecule.dev ecosystem. It is written to be read by coding agents as much as by people, and is generated from this package's source — edit src/index.ts JSDoc, not this file.

Quick Start

import { ChatbotTester, type TesterMessage } from '@molecule/app-chatbot-tester-react'

const [messages, setMessages] = useState<TesterMessage[]>([])
const handleSend = async (text: string) => {
  setMessages((prev) => [...prev, { id: Date.now(), role: 'user', content: text }])
  const reply = await http.post(`/api/conversations/${conversationId}/messages`, { content: text })
  setMessages((prev) => [...prev, { id: reply.id, role: 'assistant', content: reply.content }])
}

;<ChatbotTester
  messages={messages}
  onSend={handleSend}
  loading={sending}
  bots={bots}
  botId={botId}
  onBotChange={setBotId}
  error={error}
/>

Type

feature

Installation

npm install @molecule/app-chatbot-tester-react @molecule/app-react @molecule/app-ui @molecule/app-ui-react react
npm install -D @types/react

API

Interfaces
ChatbotTesterProps

Props for {@link ChatbotTester}.

interface ChatbotTesterProps {
  messages: TesterMessage[]
  loading?: boolean
  /** When provided, send invokes this with the composer text. */
  onSend: (text: string) => void | Promise<void>
  /** Optional bot list — when length >= 2, a picker is rendered. */
  bots?: TesterBotOption[]
  botId?: string
  onBotChange?: (id: string) => void
  /** Last error message — rendered in a `role="alert"` paragraph. */
  error?: ReactNode
  /** Empty-state slot when there are no messages yet. */
  emptyState?: ReactNode
  /** Bot picker's label — an explicit node overrides `t('chatbotTester.label.testBot')`. */
  botPickerLabel?: ReactNode
  /** Composer placeholder — an explicit value overrides `t('chatbotTester.placeholder.message')`. */
  inputPlaceholder?: string
  /** Send button label — an explicit value overrides `t('chatbotTester.label.send')`. */
  sendLabel?: string
  className?: string
}
ChatbotTesterInputProps

Props for {@link ChatbotTesterInput}.

interface ChatbotTesterInputProps {
  value: string
  onChange: (next: string) => void
  onSend: () => void
  loading?: boolean
  /** Composer placeholder — an explicit value overrides `t('chatbotTester.placeholder.message')`. */
  placeholder?: string
  /** Send button label — an explicit value overrides `t('chatbotTester.label.send')`. */
  sendLabel?: string
}
ChatbotTesterMessagesProps

Props for {@link ChatbotTesterMessages}.

interface ChatbotTesterMessagesProps {
  messages: TesterMessage[]
  loading?: boolean
  emptyState?: React.ReactNode
}
TesterMessage

A single chat message displayed in the chatbot tester sandbox UI.

interface TesterMessage {
  id: string | number
  role: 'user' | 'assistant' | 'system'
  content: string
  timestamp?: string
}
TesterBotOption

A selectable bot/agent option shown in the chatbot tester sandbox UI.

interface TesterBotOption {
  id: string
  name?: string
}
Functions
ChatbotTester(props)

Full chatbot tester sandbox.

function ChatbotTester({
  messages,
  loading,
  onSend,
  bots,
  botId,
  onBotChange,
  error: errorProp,
  emptyState,
  botPickerLabel: botPickerLabelProp,
  inputPlaceholder,
  sendLabel,
  className,
}: ChatbotTesterProps): JSX.Element
ChatbotTesterInput(props)

Message composer + send button.

function ChatbotTesterInput({
  value,
  onChange,
  onSend,
  loading,
  placeholder,
  sendLabel,
}: ChatbotTesterInputProps): JSX.Element
ChatbotTesterMessages(props)

Scrollable transcript pane.

function ChatbotTesterMessages({
  messages,
  loading,
  emptyState: emptyStateProp,
}: ChatbotTesterMessagesProps): JSX.Element

Injection Notes

Requirements

Peer dependencies:

  • @molecule/app-react ^4.13.0
  • @molecule/app-ui ^1.3.11
  • @molecule/app-ui-react ^4.0.0
  • react ^18.0.0 || ^19.0.0
Runtime Dependencies
  • @molecule/app-react
  • @molecule/app-ui
  • @molecule/app-ui-react
  • react

Built-in labels (botPickerLabel "Test bot", inputPlaceholder "Type a message…", sendLabel "Send") go through t() with the chatbotTester.* keys of the companion locale bond @molecule/app-locales-chatbot-tester; an explicit prop still overrides them. Enter sends; Shift+Enter inserts a newline. The bot picker renders only when bots has 2+ entries. Styling includes Tailwind classes with Material-3 tokens (bg-surface-container-high, border-outline-variant, text-on-primary, …) — the app's Tailwind theme must define those tokens (the default molecule Tailwind ClassMap bond does); with a non-Tailwind ClassMap the bubbles/borders lose their styling.

Translations

Translation strings are provided by @molecule/app-locales-chatbot-tester.

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 @molecule/app-chatbot-tester-react

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

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

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

Microsoft's Official agent framework Hijacked
AI & VibeSec

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

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

Frame 2085668439 (1)
Group 1261154229