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

@nestjs/websockets

Latest version: v11.2.12

Overview

Last scanned
25 Nov 2026
Published
25 Nov 2026
npm package Publisher: nestjscore
77,159 Stars
8,651 Forks
36 Versions
16.1M Downloads
TypeScript Repo language

Scan summary

@nestjs/websockets was last scanned on 25 Nov 2026 at version 11.2.12. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 36 versions; the latest 3 were published within 6 days (20–25 Nov 2026).
  • Findings: No rules fired in version 11.2.12.
  • Downloads: 16,094,200 downloads.

Versions

36 versions published
Versions and the rules that fired in each
VersionPublishedStatus
11.2.12 LATEST 25 Nov 2026 No rules fired
12.6.1 25 Nov 2026 No rules fired
12.6.0 20 Nov 2026 No rules fired
11.2.11 18 Nov 2026 Not shown
12.5.1 16 Nov 2026 Not shown

No rules fired in 11.2.12

Findings

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

README

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

Description

Nest is a TypeScript framework for building backends on Node.js, from a small API in one file to an enterprise-grade system with many teams. It gives an application modules, dependency injection, and one place each for validation, authentication and error handling, so a project keeps its shape as it grows.

It runs on Express, Fastify or Node's own node:http, and its first-party packages cover most of what a backend needs, so you can start small and add them as you go.

On node:http, through the NodeAdapter, Nest handles about 3% fewer requests per second than plain Fastify and about 50% more than Express (benchmark).

Quick start

npx @nestjs/cli new my-api
cd my-api
npm run start:dev

A coding agent or a script can create the project in the current folder with npx @nestjs/cli new . --skip-git --package-manager npm, which asks nothing when stdin isn't a terminal and adds an AGENTS.md for the agent to read.

Add --minimal to start from a single file. An application can be this small:

import { Controller, Get } from '@nestjs/common';
import { NestFactory } from '@nestjs/core';

@Controller()
class AppController {
  @Get()
  hello() {
    return 'Hello, Nest!';
  }
}

const app = await NestFactory.create({ controllers: [AppController] });
await app.listen(3000);

The object passed to NestFactory.create() is the root module's metadata, so imports and providers work there too. Move it into a @Module() class when the root module needs middleware, or for nest generate to register what it creates.

Run it with npm run start:dev, like any other Nest project. The Nest CLI compiles it with the decorator metadata that constructor injection by type and ValidationPipe rely on. Tools that don't emit that metadata, such as tsx, leave injected dependencies undefined.

First-party packages

What you need Package
Language models, tools as provider methods, agents, streaming to the browser @nestjs/ai
MCP servers @nestjs/mcp
Sign-in, sessions, tokens, two-factor, API keys @nestjs/authentication
Permissions @nestjs/authorization
Email @nestjs/mail
Files, S3 included @nestjs/storage
Translations @nestjs/i18n
Databases @nestjs/typeorm, @nestjs/drizzle, @nestjs/mongoose, @nestjs/sequelize
Retries, timeouts, circuit breakers @nestjs/resilience
Idempotency keys @nestjs/idempotency
Transactional outbox @nestjs/outbox
Webhooks, sending and receiving @nestjs/webhooks
Running a job on one instance, locks @nestjs/locks
Processes that take days @nestjs/workflows
Queues and scheduled jobs @nestjs/bullmq, @nestjs/schedule
GraphQL, WebSockets, microservices GraphQL, gateways, microservices
OpenAPI @nestjs/swagger
Configuration, caching, rate limiting, health checks @nestjs/config, @nestjs/cache-manager, @nestjs/throttler, @nestjs/terminus

Moving to Nest

Using a coding agent

The whole documentation is available as markdown, with an index at docs.nestjs.com/llms.txt. Projects from nest new come with an AGENTS.md that lists the packages above, since most models were trained before they existed.

The official NestJS agent skills teach an agent the current APIs and the mistakes that still pass tests. They cover starting a project, features, authentication and authorization, data, testing and production. Add them to a project with:

npx @nestjs/skills add

This copies them into .agents/skills, which Codex and Cursor read. Add --agent claude for Claude Code, or --agent all for both. Claude Code can also install them as a plugin: claude plugin marketplace add nestjs/agent-skills, then claude plugin install nestjs@nestjs.

Philosophy

Getting started

Questions

For questions and support please use the official Discord channel. The issue list of this repo is exclusively for bug reports and feature requests.

Issues

Please make sure to read the Issue Reporting Checklist before opening an issue. Issues not conforming to the guidelines may be closed immediately.

Observability

NestJS Observe is the official observability platform for Nest applications. Install the @nestjs/observe SDK, pass an API key, and requests, background jobs, errors, logs, and distributed traces start streaming to a dashboard - no manual span wiring and no collector to run. Because the SDK hooks into Nest's own request lifecycle, a trace reads like a call graph of your controllers and providers instead of a bare HTTP route. Free for up to 300,000 events a month, and there is a live demo with no signup.

Consulting

With official support, you can get expert help straight from the Nest core team. We provide dedicated technical support, migration strategies, advice on best practices (and design decisions), PR reviews, and team augmentation. Read more about support here.

Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support from the amazing backers. If you'd like to join them, please read more here.

Principal Sponsors
Gold Sponsors
Silver Sponsors
Sponsors

Backers

Stay in touch

License

Nest is MIT licensed.

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 @nestjs/websockets

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

Vulnerability Insights

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

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

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Frame 2085668439 (1)
Group 1261154229