# eslint-community/eslint-plugin-security

ESLint rules for Node Security

Repository: https://github.com/eslint-community/eslint-plugin-security
Canonical: https://ross.abutalabs.com/products/eslint-plugin-security
Language: JavaScript
License: Apache-2.0
License Family: permissive
Topics: eslint, eslint-plugin
Last push: 2026-08-20T23:38:15+00:00

## Health v2 (maintenance only)
Score: 86/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 64, longevity 100
- inputs: {"age_days": 3959, "days_push": 13, "days_rel": 82, "gap_med": 112, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2372, forks 111 (observed 2026-08-28T04:06:41.884999+00:00)

## What it is
An ESLint plugin providing security-focused linting rules for Node.js code. It flags potential security hotspots like eval usage, unsafe child_process calls, and trojan source attacks, though it produces false positives requiring human triage.

## Use cases
- lint node.js code for security issues
- detect eval with dynamic expressions
- find unsafe child_process exec calls
- detect trojan source bidi character attacks
- add security rules to eslint config
- catch buffer noassert misuse

## When to choose
- you use ESLint and want automated security checks in CI
- you want to flag common Node.js security anti-patterns early
- you maintain a Node.js codebase and want defense-in-depth code review

## When to avoid
- you need precise vulnerability scanning with low false positives
- you don't use ESLint or JavaScript/Node.js
- you need runtime security monitoring rather than static analysis

## Facets
- artifact type: plugin
- maturity: active
- function: security, linter, static-site-generator
- domain: security, developer-tools, web-development
- platform: -
- tags: eslint-plugin, node-security, code-analysis, vulnerability-detection, nodejs, javascript

## Member repositories
- eslint-community/eslint-plugin-security (main) score 86

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:41.884999+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:35:09.498842+00:00, confidence not recorded.
  - readme: https://github.com/eslint-community/eslint-plugin-security (fetched 2026-08-28T04:06:41.884999+00:00, sha 806ba0d75b4d)
  - registry_npm: https://registry.npmjs.org/eslint-plugin-security (fetched 2026-08-29T10:16:24.694993+00:00, sha 820fce8ad66f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
