Interlace ESLint
ESLint Interlace
MongoDB

Overview

MongoDB and Mongoose security rules for NoSQL injection prevention

eslint-plugin-mongodb-security

npm version npm downloads License: MIT codecov

16 specialized rules — LLM-optimized error messages with CWE, OWASP, and CVSS metadata.

Installation

npm install --save-dev eslint-plugin-mongodb-security

Configuration

import mongodbsecurity from 'eslint-plugin-mongodb-security';

export default [mongodbsecurity.configs.recommended];

Available Presets

PresetDescription
recommendedBalanced security for most projects
strictMaximum enforcement (all rules as errors)

Rules

Browse all rules with CWE and OWASP references:

Loading rules...

Initializing articles...

On this page