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

@trpc/server

Latest version: v11.30.3

Overview

Last scanned
23 Nov 2026
Published
23 Nov 2026
npm package Publisher: juliusmarminge, katt, nick-lucas
40,850 Stars
1,750 Forks
41 Versions
33.7M Downloads
TypeScript Repo language

Scan summary

@trpc/server was last scanned on 23 Nov 2026 at version 11.30.3. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 41 versions; the latest 5 were published on 23 Nov 2026.
  • Findings: No rules fired in version 11.30.3.
  • Downloads: 33,748,722 downloads.

Versions

41 versions published
Versions and the rules that fired in each
VersionPublishedStatus
11.30.3 LATEST 23 Nov 2026 No rules fired
11.30.2 23 Nov 2026 No rules fired
11.30.1 23 Nov 2026 No rules fired
11.30.0 23 Nov 2026 Not shown
11.29.12 23 Nov 2026 Not shown

No rules fired in 11.30.3

Findings

Findings for v11.30.3. 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 11.30.3; other versions have their own rules, not their own score.

Known vulnerabilities

2 CVEs · last 16 Dec 2025

0 CRITICAL 2 HIGH 0 MEDIUM 0 LOW

Versions

  • ≥ 11.8.0
  • ≥ 11.1.1, < 11.8.0 1 HIGH
  • ≥ 11.0.0, < 11.1.1 2 HIGH
  • ≥ 10.45.3, < 11.0.0
  • ≥ 10.27.0, < 10.45.3 1 HIGH
  • < 10.27.0

Vulnerabilities

  • CVE-2025-68130 High 16 Dec 2025 tRPC has possible prototype pollution in `experimental_nextAppDirCaller` Fixed in 10.45.3, 11.8.0
  • CVE-2025-43855 High 24 Apr 2025 tRPC 11 WebSocket DoS Vulnerability Fixed in 11.1.1

README

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

@trpc/server

Create tRPC routers and connect them to a server.

Documentation

Full documentation for @trpc/server can be found here

Installation

# npm
npm install @trpc/server

# Yarn
yarn add @trpc/server

# pnpm
pnpm add @trpc/server

# Bun
bun add @trpc/server

We also recommend installing zod to validate procedure inputs.

Basic Example

import { initTRPC } from '@trpc/server';
import {
  CreateHTTPContextOptions,
  createHTTPServer,
} from '@trpc/server/adapters/standalone';
import { z } from 'zod';

// Initialize a context for the server
function createContext(opts: CreateHTTPContextOptions) {
  return {};
}

// Get the context type
type Context = Awaited<ReturnType<typeof createContext>>;

// Initialize tRPC
const t = initTRPC.context<Context>().create();

// Create main router
const appRouter = t.router({
  // Greeting procedure
  greeting: t.procedure
    .input(
      z.object({
        name: z.string(),
      }),
    )
    .query(({ input }) => `Hello, ${input.name}!`),
});

// Export the app router type to be imported on the client side
export type AppRouter = typeof appRouter;

// Create HTTP server
const { listen } = createHTTPServer({
  router: appRouter,
  createContext,
});

// Listen on port 2022
listen(2022);

Sponsors

If you enjoy working with tRPC and want to support us, consider giving a token appreciation by GitHub Sponsors!

Silver partners
Backers

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 @trpc/server

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

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

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?

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