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

eslint-plugin-express-security

Latest version: v4.4.6

Overview

Last scanned
30 Nov 2026
Published
30 Nov 2026
npm package Publisher: ofriperetz
20 Stars
0 Forks
31 Versions
15.2K Downloads
TypeScript Repo language

Scan summary

eslint-plugin-express-security was last scanned on 30 Nov 2026 at version 4.4.6. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 31 versions; the latest 5 were published within 6 days (25–30 Nov 2026).
  • Findings: No rules fired in version 4.4.6.
  • Downloads: 15,162 downloads.

Versions

31 versions published
Versions and the rules that fired in each
VersionPublishedStatus
4.4.6 LATEST 30 Nov 2026 No rules fired
4.4.5 30 Nov 2026 No rules fired
4.4.4 29 Nov 2026 No rules fired
4.4.3 26 Nov 2026 Not shown
4.4.1 25 Nov 2026 Not shown

No rules fired in 4.4.6

Findings

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

README

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

Getting Started

npm install --save-dev eslint eslint-plugin-express-security
// eslint.config.mjs
import { configs } from 'eslint-plugin-express-security';

export default [configs.recommended];

recommended is the preset to start with. The others are listed under Configuration Presets below.

Using oxlint or Vite+? Install oxlint-plugin-express-security: the same rules under the same express-security/<rule> IDs, without ESLint. Its page has the setup.

Description

This plugin provides ESLint rules that flag permissive CORS, missing CSRF protection, missing helmet headers and insecure cookies in Express apps.

  • Why — a linter nobody reads protects nothing. We would rather miss a finding than spend your attention on one that was never real.
  • How — evidence, not names. A rule fires on what the code does, resolved through the AST and ESLint's own scope analysis.
  • What — every finding carries its fix, in prose for a human and as structured JSON for an agent. Security rules add a CWE mapping and, where assigned, a CVSS score.

That trade costs recall, and we measure it: methodology · results · a false positive is a bug.

⚙️ Configuration Presets

Preset Description
recommended Balanced security for Express projects (critical as error, others warn)
strict Maximum security enforcement (all rules as errors)
api HTTP/API security rules only (CORS, CSRF, cookies, rate limiting)
graphql GraphQL-specific security rules only

📚 Supported Libraries

Library npm Downloads Detection
express npm downloads Misconfig, DoS
helmet npm downloads Missing Security Headers
cors npm downloads Permissive CORS
csurf npm downloads Missing CSRF Protection

📦 Compatibility

Package Version
ESLint ^8.40.0 \|\| ^9.0.0 \|\| ^10.0.0
Node.js >=22.13.0

See the ESLint Version Support Policy — current ecosystem share data, the 20% gate, and the forward-looking exception that covers v10.

Supported library versions

The library ranges the rules were written against, as previously declared in peerDependencies. They are documentation only: this package installs and requires none of these libraries, and npm no longer warns on a mismatch.

  • express: ^4.0.0 || ^5.0.0
  • helmet: ^6.0.0 || ^7.0.0 || ^8.0.0
  • cors: ^2.0.0
  • csurf: ^1.0.0
  • express-rate-limit: ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0

Rules

Legend

Icon Description
💼 Recommended: Included in the recommended preset.
⚠️ Warns: Set to warn in recommended preset.
🔧 Auto-fixable: Automatically fixable by the --fix CLI option.
💡 Suggestions: Providing code suggestions in IDE.
🚫 Deprecated: This rule is deprecated.
🟢 Type-unaware: AST-only, runs in oxlint JS-plugin tier.
🟡 Type-aware (refining): pure-AST primary path; types refine precision.
🟠 Type-aware (graceful): requires TS program; silent without it.

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 eslint-plugin-express-security

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

Microsoft's Official agent framework Hijacked
AI & VibeSec

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

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?

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Frame 2085668439 (1)
Group 1261154229