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

@noctcore/eslint-plugin-observability

Latest version: v1.1.0

Overview

Last scanned
1 Dec 2026
Published
1 Dec 2026
npm package Publisher: shironex
0 Stars
0 Forks
8 Versions
4.1K Downloads
TypeScript Repo language

Scan summary

@noctcore/eslint-plugin-observability was last scanned on 1 Dec 2026 at version 1.1.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 8 versions; the latest was published on 1 Dec 2026.
  • Findings: No rules fired in version 1.1.0.
  • Downloads: 4,084 downloads.

Versions

8 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.1.0 LATEST 1 Dec 2026 No rules fired
1.0.0 10 Nov 2026 No rules fired
0.3.4 24 Sep 2026 No rules fired
0.3.3 24 Sep 2026 Not shown
0.3.2 22 Sep 2026 Not shown

No rules fired in 1.1.0

Findings

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

README

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

@noctcore/eslint-plugin-observability

Structured-logging discipline rules: context objects over interpolated messages, no sensitive fields in logs, no error-detail loss, and declared event identifiers.

Docs: noctcore.github.io/eslint-plugins/packages/observability

Not a good fit for a codebase that logs through console by design, or whose logger cannot carry a context object.

Requirements

  • ESLint 9 or 10, flat config (eslint.config.js) only.
  • configs.recommended registers the plugin and sets rule severities, nothing else. It sets no files and no parser, so it applies to whatever files the rest of your config lints. To lint TypeScript, add a files pattern and @typescript-eslint/parser, as in the quick start.

Install

bun add -D @noctcore/eslint-plugin-observability @typescript-eslint/parser   # or npm i -D / pnpm add -D

Quick start

// eslint.config.js
import tsParser from '@typescript-eslint/parser';
import observability from '@noctcore/eslint-plugin-observability';

export default [
  {
    ...observability.configs.recommended,
    files: ['**/*.{ts,tsx}'],
    languageOptions: { parser: tsParser },
  },
  // Optional: tune a preset rule's options.
  {
    files: ['**/*.{ts,tsx}'],
    rules: {
      'noctcore-observability/structured-log-arguments': ['error', { loggers: ['log', 'audit'] }],
    },
  },
];

Opt-in rules

Three rules are left out of recommended. audit-pii-declared is inert until auditCallees names your audit writes. require-event-field and typed-event-names enforce a convention (a declared event identifier on every log line) rather than a defect every codebase has, and typed-event-names needs the module that declares the names:

// eslint.config.js
export default [
  // ...the quick start's entries, then:
  {
    files: ['**/*.{ts,tsx}'],
    languageOptions: { parser: tsParser },
    rules: {
      'noctcore-observability/audit-pii-declared': ['error', {
        auditCallees: ['auditService.log'],
        registeredFields: ['email', 'newEmail'],
      }],
      'noctcore-observability/require-event-field': 'error',
      'noctcore-observability/typed-event-names': ['error', {
        eventNamesModule: 'src/log-events.ts',
      }],
    },
  },
];

Rules

✅ on in recommended (error) · 🔘 opt-in: not on in recommended, enable it yourself · ⚙️ needs options · 🔧 --fix · 💡 suggestions · 💭 needs type info · ❌ deprecated

Rule Description Preset ⚙️ 🔧 💡 💭
audit-pii-declared A PII-shaped key written into an audit payload must be declared, either registered for scrubbing on purge or declared non-PII. 🔘 ⚙️
no-error-detail-loss A catch block that reports a failure must not reduce the error to only e.message / String(e) / ${e}. Log the error itself so its stack and cause survive. ✅
no-sensitive-fields-in-logs A logger call must not reference an identifier, property, or object key whose name matches a sensitive-field denylist (password, token, secret, ...). Redact it before logging. ✅
require-event-field A logger call must carry a stable event identifier in its structured payload, so log searches, dashboards and alerts do not match on message text. 🔘
structured-log-arguments A logger call must not interpolate dynamic values into the message string (a template literal with expressions). Pass a static message and a structured context object instead. ✅
typed-event-names The event field of a logger call must be a name declared in the project event names module, so a typo or a stale name fails at lint time. 🔘 ⚙️

Severity policy

Every rule is error or off, never warn: a warning is a rule nobody obeys. See the severity policy.

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 @noctcore/eslint-plugin-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

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

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Frame 2085668439 (1)
Group 1261154229