Scan your whole stack
From OX Research Newsroom
Are you using @molecule/app-chatbot-tester-react?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v4.0.4
@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.
| Version | Published | Status |
|---|---|---|
| 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 |
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.
The publisher’s own README, as collected from the registry.
@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.tsJSDoc, not this file.
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}
/>
feature
npm install @molecule/app-chatbot-tester-react @molecule/app-react @molecule/app-ui @molecule/app-ui-react react
npm install -D @types/react
ChatbotTesterPropsProps 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
}
ChatbotTesterInputPropsProps 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
}
ChatbotTesterMessagesPropsProps for {@link ChatbotTesterMessages}.
interface ChatbotTesterMessagesProps {
messages: TesterMessage[]
loading?: boolean
emptyState?: React.ReactNode
}
TesterMessageA single chat message displayed in the chatbot tester sandbox UI.
interface TesterMessage {
id: string | number
role: 'user' | 'assistant' | 'system'
content: string
timestamp?: string
}
TesterBotOptionA selectable bot/agent option shown in the chatbot tester sandbox UI.
interface TesterBotOption {
id: string
name?: string
}
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
Peer dependencies:
@molecule/app-react ^4.13.0@molecule/app-ui ^1.3.11@molecule/app-ui-react ^4.0.0react ^18.0.0 || ^19.0.0@molecule/app-react@molecule/app-ui@molecule/app-ui-reactreactBuilt-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.
Translation strings are provided by @molecule/app-locales-chatbot-tester.
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.