-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
AI/MLenhancementNew feature or requestNew feature or requesthacktoberfest-acceptedhelp wantedExtra attention is neededExtra attention is neededhigh-priority
Description
While utilizing the Naive Bayes classifier to detect brute force attacks, validate inputs, identify insecure authentication, and analyze security headers, the model currently trains separately for each JavaScript test file (.js, .jsx, .tsx, etc.). This process can be streamlined by generating a single (or multiple depending upon the vulnerability) weighted pickle model, which can be reused each time a JavaScript file is tested for vulnerabilities, improving efficiency and consistency.
Steps to be considered by the contributor:
- Organizing data and cleaning data.
- Training a model.
Files to be referred/altered for this change:
- DetectBruteForceAttack.ts
- DetectInputValidation.ts
- InsecureAuthentication.ts
- AnalyzeSecurityHeaders.ts
- Vulnerability.ts
Make sure the end user/developer (who downloads the NPM package) is able to smoothly run the NPM package after these changes.
Metadata
Metadata
Assignees
Labels
AI/MLenhancementNew feature or requestNew feature or requesthacktoberfest-acceptedhelp wantedExtra attention is neededExtra attention is neededhigh-priority