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

@kubb/renderer-jsx

Latest version: v0.0.0-canary-20261127235559

Overview

Last scanned
27 Nov 2026
Published
27 Nov 2026
npm package Publisher: stijnvanhulle
1,864 Stars
152 Forks
567 Versions
580.8K Downloads
TypeScript Repo language

Scan summary

@kubb/renderer-jsx was last scanned on 27 Nov 2026 at version 0.0.0-canary-20261127235559. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 567 versions; the latest 5 were published on 27 Nov 2026.
  • Findings: No rules fired in version 0.0.0-canary-20261127235559.
  • Downloads: 580,825 downloads.

Versions

567 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.0.0-canary-20261127235559 LATEST 27 Nov 2026 No rules fired
5.28.3 27 Nov 2026 No rules fired
0.0.0-canary-20261127232802 27 Nov 2026 No rules fired
0.0.0-canary-20261127200807 27 Nov 2026 Not shown
0.0.0-canary-20261127192707 27 Nov 2026 Not shown

No rules fired in 0.0.0-canary-20261127235559

Findings

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

README

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

@kubb/renderer-jsx

JSX-based renderer for Kubb

Provides a JSX runtime and built-in components (File, Function, Type, Const) for component-based, type-safe code generation inside Kubb plugins. An alternative for the ast.factory syntax.

Installation

bun add @kubb/renderer-jsx
# or
pnpm add @kubb/renderer-jsx
# or
npm install @kubb/renderer-jsx

Usage

Use the built-in components inside a Kubb plugin to emit generated files:

import { jsxRenderer } from '@kubb/renderer-jsx'
import { File, Function, Type } from '@kubb/renderer-jsx'

const renderer = jsxRenderer()

await renderer.render(
  <File baseName="petStore.ts" path="src/gen/petStore.ts">
    <Type export name="Pet">
      {'{ id: number; name: string }'}
    </Type>
    <Function export name="getPet" async>
      {"return fetch('/pets')"}
    </Function>
  </File>,
)

const files = renderer.files

Built-in Components

Component Description
<File> Declares a generated output file with its path and optional imports/exports
<Code> A printed declaration inside a <File>, with name, export and type
<Raw> Text inside a <File> that declares nothing, such as a statement or JSON
<Origin> Sets the input location of the sources inside it, such as a JSON pointer
<Function> Generates a TypeScript function declaration
<Type> Generates a TypeScript type alias
<Const> Generates a const variable declaration
<Jsx> Renders JSX expressions inside generated output
<Callout> Generates a callout block in markdown output
<Frontmatter> Generates a frontmatter block in markdown output
<Heading> Generates a heading in markdown output
<List> Generates a list in markdown output
<Paragraph> Generates a paragraph in markdown output

API

jsxRenderer()

Creates a renderer instance with render, files, and stream:

const renderer = jsxRenderer()
await renderer.render(<MyComponent />)
const files = renderer.files  // FileNode[]

Use stream(element) instead of render to consume files one at a time as they are produced.

JSX Runtime

@kubb/renderer-jsx ships its own JSX runtime (jsx-runtime and jsx-dev-runtime). Configure your tsconfig.json to use it:

{
  "compilerOptions": {
    "jsx": "react-jsx",
    "jsxImportSource": "@kubb/renderer-jsx"
  }
}

Supporting Kubb

Kubb is an open source project, and its development is funded entirely by sponsors. If you would like to become a sponsor, please consider:

License

MIT

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 @kubb/renderer-jsx

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

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

PolinRider Returns
Research

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

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Frame 2085668439 (1)
Group 1261154229