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

@deepagents/react-genai

Latest version: v7.41.0

Overview

Last scanned
26 Nov 2026
Published
26 Nov 2026
npm package Publisher: ezzabuzaid
6 Stars
0 Forks
74 Versions
10.7K Downloads
TypeScript Repo language

Scan summary

@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.

  • Releases: 74 versions; the latest 5 were published on 26 Nov 2026.
  • Findings: 1 rule fired in version 7.41.0 (1 medium). The score describes this version only.
  • Downloads: 10,672 downloads.

Versions

74 versions published
Versions and the rules that fired in each
VersionPublishedStatus
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

Rules fired in 7.41.0: 1

Findings

1 Medium

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.

Function reached through a chain of indirect calls

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.

MEDIUM
Checking access…

🔒 Create a free account to see all 1 finding with descriptions and instance counts

The score describes 7.41.0; other versions have their own rules, not their own score.

README

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

@deepagents/react-genai

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.

Install

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.

Stylesheets

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.

The clock

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>,
);

One copy of @zukhruf/ui

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.

Move from 7.5.2

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:

  1. Add @zukhruf/ui to the dependencies of the host.
  2. Put a ClockProvider above the components of this package, at the root of the host.

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 @deepagents/react-genai

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

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?

Vulnerability Insights

Compromised Claude Code extensions (versions 2.1.312 & 2.1.313) in Cursor try to install a backdoor

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Frame 2085668439 (1)
Group 1261154229