Scan your whole stack
From OX Research Newsroom
Are you using @deepagents/react-genai?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v7.41.0
@deepagents/react-genai was last scanned on 26 Nov 2026 at version 7.41.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 7.41.0 LATEST | 26 Nov 2026 | 1 rule fired |
| 7.40.0 | 26 Nov 2026 | Not shown |
| 7.39.1 | 26 Nov 2026 | Not shown |
| 7.39.0 | 26 Nov 2026 | Not shown |
| 7.38.2 | 26 Nov 2026 | Not shown |
Findings for v7.41.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 code obtains a function through a computed property lookup whose key is not a plain literal, calls it, and then calls the value it returns. Obfuscated loaders use this double indirection to reach the Function constructor without its name appearing in the source. This is a code shape, not evidence of intent, and is shown to help review obfuscated code.
MEDIUMThe score describes 7.41.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
React components that render AI SDK chat flows, trajectories, tools, citations, dynamic UI and interactive responses. A host is the app that renders these components. The host gives the transport, the tools and the clock.
npm i @deepagents/react-genai @zukhruf/ui @zukhruf/shadcn
The peer dependencies are @zukhruf/shadcn, @zukhruf/ui, react 19 and react-dom 19. Install @zukhruf/shadcn and @zukhruf/ui yourself. npm does not install them for you when legacy-peer-deps is set.
Import the stylesheets in the Tailwind CSS v4 file of the host, after Tailwind. Use plain @import statements, without layer():
@import 'tailwindcss';
@import '@zukhruf/shadcn/styles.css';
@import '@zukhruf/ui/styles.css';
@import '@deepagents/react-genai/styles.css';
@deepagents/react-genai/styles.css imports the stylesheet of @deepagents/react-input and names the built components of both packages with @source, so Tailwind generates the classes they use. The host writes no @source for either package.
Import TheButton directly from @zukhruf/ui. This package does not export it.
A component of this package that waits on a timer gets its clock from useClock of @zukhruf/ui, which throws at its first render when no ClockProvider is above it. These components wait: AssistantSnapshot (its TheButton and its copied label), CodeBlockCopyButton, TipLine, the copy buttons of a message, the spinner of a running tool, and ChatComposer (its Composer of @deepagents/react-input reads the clock for the time of a submission). They render inside the tree of the host, so this package gives no clock. The tree has one clock, and the host gives it.
The root of the host gives globalThis:
import { ClockProvider } from '@zukhruf/ui';
import { createRoot } from 'react-dom/client';
createRoot(container).render(
<ClockProvider clock={globalThis}>
<App />
</ClockProvider>,
);
A test gives createClock() of @sinonjs/fake-timers:
import { createClock } from '@sinonjs/fake-timers';
import { ClockProvider } from '@zukhruf/ui';
const clock = createClock();
render(
<ClockProvider clock={clock}>
<AssistantSnapshot message={message} renderContent={renderContent} />
</ClockProvider>,
);
The host and this package must use the same copy of @zukhruf/ui. Each copy has its own React context. A ClockProvider of one copy does not reach a TheButton of the other copy, and the button throws No clock set, use ClockProvider to set one. For this reason @zukhruf/ui is a peer dependency. npm refuses an install when the version of the host is out of the range.
Version 7.5.2 lists @zukhruf/ui as a dependency, with the range ^0.8.10. An install with no lockfile gets a version of @zukhruf/ui that has the clock. Then AssistantSnapshot throws No clock set, use ClockProvider to set one at render.
Do these steps:
@zukhruf/ui to the dependencies of the host.ClockProvider above the components of this package, at the root of the host.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.