Gathering detailed insights and metrics for eslint-plugin-security-node
Gathering detailed insights and metrics for eslint-plugin-security-node
Gathering detailed insights and metrics for eslint-plugin-security-node
Gathering detailed insights and metrics for eslint-plugin-security-node
npm install eslint-plugin-security-node
99.4
Supply Chain
100
Quality
78.4
Maintenance
100
Vulnerability
100
License
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
101 Stars
219 Commits
13 Forks
3 Watching
7 Branches
12 Contributors
Updated on 06 Oct 2024
JavaScript (100%)
Cumulative downloads
Total Downloads
Last day
21.3%
7,631
Compared to previous day
Last week
10.3%
39,148
Compared to previous week
Last month
4.4%
156,259
Compared to previous month
Last year
-0.2%
1,606,955
Compared to previous year
3
ESLint plugin containing Node.js security rules
This plugin will help to identify potential threats and prevent attacks.
1npm install --save-dev eslint-plugin-security-node
Add the following configuration to your .eslintrc
file:
"plugins": [
"security-node"
],
"extends": [
"plugin:security-node/recommended"
]
Type the following to test all the rules:
1$ npm test
Type the following to test a particular rule:
1$ ./node_modules/.bin/mocha tests/lib/rules/rule_name
detect non literal regular expr
For details check the documentation file non-literal-reg-expr
detect absence of property:name in express-session
For details check the documentation file detect-absence-of-name-option-in-exrpress-session
detect Buffer unsafe allocation
For details check the documentation file detect-buffer-unsafe-allocation
detect exec of child_process with non-Literal argument
For details check the documentation file detect-child-process
detect crlf attack
For details check the documentation file detect-crlf
detect dangerous redirects
For more information check the documentation file detect-dangerous-redirects
detect-eval-with-expr
For more information check the documentation file detect-eval-with-expr
detect-html-injection
For more information check the documentation file detect-html-injection
detect-insecure-randomness
For more information check the documentation file detect-insecure-randomness
detect-non-literal-require-calls
For more information check the documentation file detect-non-literal-require-calls
detect-nosql-injection
For more information check the documentation file detect-nosql-injection
detect-option-multiplestatements-in-mysql
For more information check the documentation file detect-option-multiplestatements-in-mysql
detect-option-rejectunauthorized-in-nodejs-httpsrequest
For more information check the documentation file detect-option-rejectunauthorized-in-nodejs-httpsrequest
detect-option-unsafe-in-serialize-javascript-npm-package
For more information check the documentation file detect-option-unsafe-in-serialize-javascript-npm-package
detect-possible-timing-attacks
For more information check the documentation file detect-possible-timing-attacks
detect-runinthiscontext-method-in-nodes-vm
For more information check the documentation file detect-runinthiscontext-method-in-nodes-vm.
detect-security-missconfiguration-cookie
For more information check the documentation file detect-security-missconfiguration-cookie
detect-sql-injection
For more information check the documentation file detect-sql-injection
disable-ssl-across-node-server
For more information check the documentation file disable-ssl-across-node-server
detect-improper-exception-handling
For more information check the documentation file detect-improper-exception-handling
detect-unhandled-async-errors
For more information check the documentation file detect-unhandled-async-errors
detect-unhandled-event-errors
For more information check the documentation file detect-unhandled-event-errors
All notable changes to this project will be documented in this file. Dates are displayed in UTC.
Generated by auto-changelog
.
#63
0520676
922ded3
#74
#73
#72
#71
#70
#69
#62
#78
#60
#61
#2
#59
#1
#58
#57
#54
#53
#50
#49
#48
#46
#44
#43
#1
b0f2d6a
0ca48df
ce7d04d
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
dependency not pinned by hash detected -- score normalized to 5
Details
Reason
5 existing vulnerabilities detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
Found 1/12 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
license file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2024-11-18
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More