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

@xpert-ai/chatkit-primitives

Latest version: v0.30.0

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
npm package Publisher: tiven.wang
9 Stars
3 Forks
1 Versions
396 Downloads
TypeScript Repo language

Scan summary

@xpert-ai/chatkit-primitives was last scanned on 28 Nov 2026 at version 0.30.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: First and only release on 28 Nov 2026.
  • Findings: No rules fired in version 0.30.0.
  • Downloads: 396 downloads.

Versions

1 version published
Versions and the rules that fired in each
VersionPublishedStatus
0.30.0 LATEST 28 Nov 2026 No rules fired

No rules fired in 0.30.0

Findings

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

README

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

ChatKit primitives

Shared shadcn/Radix controls for ChatKit and the A2UI React renderer. The implementation originates in ChatKit's components/ui; the old paths re-export this package during migration.

import {
  Input,
  Button,
  PrimitiveThemeProvider,
} from '@xpert-ai/chatkit-primitives';
import '@xpert-ai/chatkit-primitives/styles.css';

The package owns basic controls, variants, density sizing, surface tokens and themed portals. It must not import ChatKit UI, the Xpert SDK, Agent state, A2UI or application translations. PrimitiveThemeProvider accepts the owning theme root, a theme revision and translated labels. Portals render outside message clipping while retaining that surface's resolved tokens. Updating the theme preserves controls, values and open portals.

React and React DOM are peer dependencies. The stylesheet requires Tailwind 4 and includes an @source entry for the shipped component classes; it does not load another reset or overwrite the host's color palette. Import it once in the host stylesheet. Use package exports, including /button, /input, /select, etc., rather than source paths. Standalone consumers supply their own semantic color/font variables and may use the provider without ChatKit.

The A2UI adapters preserve scalar/array values, binding paths, actions and the public class-map theme override API. They do not maintain a second default control skin. Component sizing follows --chat-density-scale; radius follows --chat-item-radius and --chat-panel-radius.

Verification covers ESM/CJS exports, CSS packaging, isolated portal tokens, live density changes, keyboard navigation, A2UI binding/action regressions and browser checks for focus clipping. Update the shared components here; do not copy implementations back into consumers.

The consumer components.json routes shadcn UI and utility generation to this package using the workspace aliases. Add or update shadcn components from packages/chatkit-primitives so its local components.json owns generated source. Add matching package exports and any compatibility re-export in ChatKit; do not copy generated source into the old ChatKit UI folder. The preview at /widget-preview/ on the ChatKit Vite development server compares host and A2UI controls with live theme switches.

For a standalone surface, apply getSurfaceThemeStyle(theme) to the element referenced by rootRef; the provider reads that root’s resolved colors and fonts for portals. Pass a new theme or increment revision when host CSS variables change. ChatKit performs this bridge automatically.

Workspace generator routing follows the shadcn monorepo alias contract. shadcn info --json in ChatKit UI resolves UI components, utilities and CSS into this package.

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 @xpert-ai/chatkit-primitives

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

Copy of Template Design OX Blog (2)
Research

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

Vulnerability Insights

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

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Frame 2085668439 (1)
Group 1261154229