You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,12 +65,12 @@ It is important to maintain the performance of winkNLP, whenever a change is mad
65
65
#### Security Considerations
66
66
Our security review/testing is inspired from the recommendations in [OWASP's NodeJS Security Cheat Sheet](https://cheatsheetseries.owasp.org/cheatsheets/Nodejs_Security_Cheat_Sheet.html) that are applicable to winkNLP — since it is a library used by developers to create NLP web/mobile/CLI apps/tools, only Platform Security specific recommendations apply. We follow the guidelines outlined below:
67
67
68
-
1.Never depend on any external package.
69
-
1.ESLint is used as a Static Analysis Security Testing (SAST) tool.
68
+
1.Stay away from using any external package — winkNLP has 0 external dependency.
69
+
1.Use ESLint as a Static Analysis Security Testing (SAST) tool.
70
70
1. Never use `eval()` function.
71
-
1. Avoid prototype pollution possibilities by using objects created via**`Object.create( null )`**.
71
+
1. Avoid prototype pollution by using objects created via **`Object.create( null )`**.
72
72
1. Perform input validation with defined default behavior.
73
-
1.Review regex thoroughly to avoid ReDoS by testing them properly using [regex 101](https://regex101.com) on Chrome browser (Latest stable version), Node.js (LTS version). They are also evaluated using tools like [regexploit](https://github.com/doyensec/regexploit).
73
+
1.Use tools like [regexploit](https://github.com/doyensec/regexploit)to detect potential ReDoS apart from reviewing regexes using [regex 101](https://regex101.com) on Chrome browser (Latest stable version), Node.js (LTS version).
74
74
75
75
### Committing
76
76
We follow [commit guidelines](https://github.com/angular/angular.js/blob/master/DEVELOPERS.md#commits) from Google's [Angular Project](https://angular.io/), whose documentation is licensed under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). See important excerpts for quick reference below:
0 commit comments