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

@nathapp/nestjs-observability

Latest version: v4.7.0

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
npm package Publisher: skywills87
18 Versions
1.3K Downloads

Scan summary

@nathapp/nestjs-observability was last scanned on 28 Nov 2026 at version 4.7.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 18 versions; the latest 5 were published within 6 days (23–28 Nov 2026).
  • Findings: No rules fired in version 4.7.0.
  • Downloads: 1,277 downloads.

Versions

18 versions published
Versions and the rules that fired in each
VersionPublishedStatus
4.7.0 LATEST 28 Nov 2026 No rules fired
4.6.1 27 Nov 2026 No rules fired
4.6.0 27 Nov 2026 No rules fired
4.5.1 24 Nov 2026 Not shown
4.5.0 23 Nov 2026 Not shown

No rules fired in 4.7.0

Findings

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

README

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

@nathapp/nestjs-observability

First-party metrics (Prometheus) and distributed tracing (OpenTelemetry) for NestJS, joined to the nathapp correlation-id context so logs, metrics, and traces share one id.

Status: scaffolded. Behaviour is implemented per docs/superpowers/specs/2026-07-07-nestjs-observability-design.md — files under lib/** currently throw not implemented and are filled in by the TDD plan.

What it provides

  • RED HTTP metrics — request count, error count, and a duration histogram (labelled method/route/status) via a global interceptor, plus default Node/process metrics.
  • /metrics scrape endpoint — powered by @willsoto/nestjs-prometheus. Path is configurable. Exposure and authz are the consumer's concern (no auth is applied).
  • Distributed tracing — an OpenTelemetry NodeSDK with HTTP + express/fastify auto-instrumentation, OTLP/console exporters, and a configurable sampling ratio.
  • Correlation bridge — the request correlation id (nestjs-logging RequestContextService) is set on each span, and the active trace_id/span_id are written back into the logging context so log lines carry them.
  • Manual spans — a TraceService and a @Trace() method decorator.
  • Custom metrics — makeCounterProvider / makeGaugeProvider / makeHistogramProvider / makeSummaryProvider / InjectMetric are re-exported so you never depend on @willsoto/nestjs-prometheus directly.

Usage

Tracing must start before any framework import, so call initTracing() first in main.ts:

// main.ts — very first lines
import { initTracing } from '@nathapp/nestjs-observability';
initTracing({ serviceName: 'my-api', otlpUrl: process.env.OTLP_URL });

// ...then the normal bootstrap
import { NestFactory } from '@nestjs/core';
import { AppModule } from './app.module';

async function bootstrap() {
  const app = await NestFactory.create(AppModule);
  await app.listen(3000);
}
bootstrap();

Register the module for metrics + in-app trace helpers:

import { ObservabilityModule } from '@nathapp/nestjs-observability';

@Module({
  imports: [
    ObservabilityModule.register({
      metrics: { path: '/metrics', ignoreRoutes: ['/metrics', '/health'] },
      tracing: { correlationBridge: true },
    }),
  ],
})
export class AppModule {}

Metric resources use prom-client's process-wide registry. Each Nest application that enables metrics still receives its own /metrics controller and HTTP interceptor, while registrations with the same full metric names reuse the existing counters and histogram. A repeated name must keep the same metric type, help text, labels, and histogram buckets; incompatible configuration throws an error naming the metric and the conflicting setting. Different prefixes create separate metric names. Default Node/process collectors start once when the first enabled registration requests them.

Peer dependencies

  • @nestjs/common, @nestjs/core, rxjs — the framework.
  • @nathapp/nestjs-logging — soft; only the correlation bridge uses its RequestContextService. Without it the bridge is inert (everything else still works).

Scope (v1)

Metrics are pure Prometheus; OpenTelemetry is tracing-only. OTel metrics, OTLP logs, DB/Redis/queue instrumentation, exemplars, and dashboards are deferred follow-ups.

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 @nathapp/nestjs-observability

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

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Copy of Template Design OX Blog (2)
Research

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

Frame 2085668439 (1)
Group 1261154229