Package
eslint-plugin-security
Security rules for eslint
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 3.4m
- +207% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 1
- Direct, from package.json
- Last release
- 3 months ago
- v4.0.1
- GitHub stars
- 2.4k
- 113 forks
- Open issues / PRs
- 10 / 11
- Contributors
- -
- Commits, last 52 weeks
- 22
Downloads
Last week 2026-09-15 to 2026-09-21
3,411,672 downloads last week, 15,968,951 in the last month. The 12-month change of +207% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 216 in total
- Latest version
- 4.0.1, 12 Jun 20263 months ago
- First published
- 15 Nov 2015
- Last push to GitHub
- 16 Sept 20268 days before the snapshot
- Repository archived
- No
- Open issues
- 10
- Open pull requests
- 11
- Commits, last 52 weeks
- 22
- Dependents on npm
- 620
Major versions
- v4 first release 4.0.0, 19 Feb 2026
- v3 first release 3.0.0, 10 Apr 2024
- v2 first release 2.0.0, 13 Dec 2023
- v1 first release 1.0.0, 15 Nov 2015
Recent releases
| Version | Published |
|---|---|
| 4.0.1 | 12 Jun 2026 |
| 4.0.0 | 19 Feb 2026 |
| 3.0.1 | 14 Jun 2024 |
| 3.0.0 | 10 Apr 2024 |
| 2.1.1 | 14 Feb 2024 |
| 2.1.0 | 15 Dec 2023 |
| 2.0.0 | 13 Dec 2023 |
| 1.7.1 | 2 Feb 2023 |
| 1.7.0 | 26 Jan 2023 |
| 1.6.0 | 11 Jan 2023 |
| 1.5.0 | 18 Apr 2022 |
| 1.4.0 | 13 Jun 2017 |
| 1.3.0 | 9 Feb 2017 |
| 1.2.0 | 22 Jan 2016 |
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- ^18.18.0 || ^20.9.0 || >=21.1.0
- Runtimes
- -
- Unpacked size (npm)
- 145 kB
- Dependencies (1)
safe-regex
npm install eslint-plugin-security- jsDelivr
https://cdn.jsdelivr.net/npm/eslint-plugin-security@4.0.1/ - unpkg
https://unpkg.com/eslint-plugin-security@4.0.1/ - esm.sh
https://esm.sh/eslint-plugin-security@4.0.1
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| eslint-plugin-security-node | 36k | - | 2 years ago | CommonJS | - |
| @rushstack/eslint-plugin-security | 82.2k | - | 10 days ago | ESM + CommonJS | - |
| eslint-plugin-no-secrets | 201.6k | - | 6 months ago | CommonJS | - |
| eslint-plugin-redos | 54.3k | - | 1 year ago | CommonJS | - |
| eslint-plugin-no-unsanitized | 702.6k | - | 7 months ago | CommonJS | - |
| @typescript-eslint/types | 131.4m | - | 3 days ago | CommonJS | - |
| @typescript-eslint/visitor-keys | 125.5m | - | 3 days ago | CommonJS | - |
| @typescript-eslint/scope-manager | 121.2m | - | 3 days ago | CommonJS | - |
Indexability: Indexed.