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

@rsc-kit/core

Latest version: v0.48.0

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: ramon10
7 Stars
1 Forks
145 Versions
11.4K Downloads
TypeScript Repo language

Scan summary

@rsc-kit/core was last scanned on 29 Nov 2026 at version 0.48.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 145 versions; the latest 5 were published within 2 days (28 and 29 Nov 2026).
  • Findings: No rules fired in version 0.48.0.
  • Downloads: 11,352 downloads.

Versions

145 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.48.0 LATEST 29 Nov 2026 No rules fired
0.47.0 29 Nov 2026 No rules fired
0.46.1 28 Nov 2026 No rules fired
0.46.0 28 Nov 2026 Not shown
0.45.4 28 Nov 2026 Not shown

No rules fired in 0.48.0

Findings

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

README

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

@rsc-kit/core

React Server Components as a Vite plugin: it discovers the route tree, renders it, and serves it. Nitro builds the server around it, so there is no server file to write.

This is the library. Most people start with bun create rsc-kit@latest my-app (a new app) or bunx rsc-kit@latest init (an existing project).

bun create rsc-kit@latest my-app

Why not just use Next?

The routing conventions here are Next's — app/, page/layout/loading, @slot, (.) interception, "use client", server actions, generateMetadata — so there is no translation table to learn. The difference is underneath:

  • It is a Vite plugin, not a bundler. You keep your vite.config.ts and your plugins. Adding RSC is one entry in the plugins array.
  • It deploys wherever Nitro does. Nitro builds the server around the route tree, so the target is a preset — Bun, Node, Cloudflare Workers, Vercel, Netlify, Deno.
  • A page ships no JavaScript until something on it needs some. No client component and no server action in its tree means stored HTML, with no React in the browser (guide).
  • It can sit in front of a backend you already have. With Laravel or Go behind it, a server component calls the backend with await rpc('Orders.recent'), typed from the backend's own signatures. See Backend-Answered Pages.
  • It compiles to a single binary with bun build --compile, assets and frozen pages inside it. A file in src/commands is a release step or a worker in the same binary: ./app migrate (guide).

Setup

// vite.config.ts
import { defineConfig } from 'vite'
import { nitro } from 'nitro/vite'
import react from '@vitejs/plugin-react'
import { rscKit } from '@rsc-kit/core/vite'

export default defineConfig({
  plugins: [nitro({ preset: 'bun', serveStatic: 'inline' }), rscKit(), react()],
})

React 19.2+ and Vite 8 are peer dependencies. The full walk-through is Installation.

With a backend, rscKit({ hostManifest: { command, cwd, watch } }) runs the backend's manifest command — php artisan rsc:host-manifest, or a Go program calling reg.WriteManifest — when dev or a build starts, and again under dev when something in a watch directory changes. It writes rsc-host.json ({ actions, functions, types, defs }), from which the build generates typed rpc() overloads and server action stubs.

What you get

  • File-based routing with layouts (which receive params), loading boundaries, parallel routes and route interception
  • Streaming SSR with Suspense, and partial prerendering — the static shell is stored, the part that needs the request is rendered per visit
  • Server actions, with an optional builder (@rsc-kit/core/action) for validation (any Standard Schema library — Zod, Valibot, ArkType) and middleware; <Form> with field errors and formError, and useAction for calls without a form
  • API routes in app/**/route.ts — a Request in, a Response out, frozen at build time when they read nothing from the request
  • Typed urls: params, searchParams and request bodies arrive parsed through a schema you export beside the route
  • Typed routes: every build writes the routes it found, so a link to a page that does not exist stops compiling
  • middleware.ts that runs before every render below it; notFound() there answers 404
  • Request and response access — headers(), cookies(), responseHeaders()
  • Offline and installable: a generated service worker, a web manifest, icons found by name, and a place to put your own push handlers
  • Testing without a browser: createTestApp({ host, backend }) from @rsc-kit/core/testing fetches any url, with hostReply to fake backend answers (guide)
  • A build that explains itself — why each route is dynamic, what it ships, and a build-report.json that @rsc-kit/mcp answers questions from

Commands

  • rsc-kit-typegen writes the generated types without starting Vite; --check exits non-zero when the committed rsc-host.json or types are stale (typed routes).

  • rsc-kit-conformance checks a backend adapter against the host-call contract (your own backend):

    npx -y -p @rsc-kit/core rsc-kit-conformance \
      --endpoint http://127.0.0.1:8123/__rsc/host-call --secret test --manifest rsc-host.json

Status

0.x. The API will change before 1.0, and @vitejs/plugin-rsc — which this builds on — is itself pre-1.0. It has had an adversarial security review and runs a real documentation site in production. See SECURITY.md for the threat model and how to report something.

Docs: https://docs.rsc-kit.dev

Licence

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 @rsc-kit/core

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?

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Frame 2085668439 (1)
Group 1261154229