Socket
Socket
Sign inDemoInstall

RFDetect

Package Overview
Dependencies
0
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    RFDetect

a python package to use Random Forest module to detect XSS.


Maintainers
1

Readme

RandomForest

RandomForest module for detecting xss payload
make sure to install DataProcess in the same project path

#train the mode: train(X_train,Y_train)

#load the saved model loadfile()

#detect the user input: detect_userinput(USER_INPUT_VALUE,rfmodel)
#if return value equals 0, it means this is a XSS attack payload #if return value equals 1, it means this is a benign user input

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc