Hub
Pricing About
WorkflowWorkflow

JavaScript Vulnerability Detection using Random Forest with Stratified Sampling

Machine learningPredictionAnalyticsKNIMERandom forest
+2
hpalma profile image
Draft Latest edits on 
Sep 1, 2024 5:33 AM
Drag & drop
Like
Download workflow
Workflow preview
This KNIME workflow leverages a machine learning approach, specifically the Random Forest algorithm, to identify potential vulnerabilities in JavaScript code. It operates on a dataset ("JSVulnerabilityDataSet-1.0.csv") comprising features extracted from JavaScript code snippets, such as code complexity metrics (e.g., cyclomatic complexity, lines of code) and Halstead complexity measures. The dataset also includes a binary target variable Vuln, indicating the presence (1) or absence (0) of a vulnerability.

External resources

  • Challenging Machine Learning Algorithms in Predicting Vulnerable JavaScript Functions
Loading deploymentsLoading ad hoc jobs

Used extensions & nodes

Created with KNIME Analytics Platform version 5.2.2
  • Go to item
    KNIME Base nodesTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.2.2

    knime
  • Go to item
    KNIME Ensemble Learning WrappersTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.2.0

    knime
  • Go to item
    KNIME JavasnippetTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.2.0

    knime

Legal

By using or downloading the workflow, you agree to our terms and conditions.

KNIME
Open for Innovation

KNIME AG
Talacker 50
8001 Zurich, Switzerland
  • Software
  • Getting started
  • Documentation
  • Courses + Certification
  • Solutions
  • KNIME Hub
  • KNIME Forum
  • Blog
  • Events
  • Partner
  • Developers
  • KNIME Home
  • Careers
  • Contact us
Download KNIME Analytics Platform Read more about KNIME Business Hub
© 2025 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Data Processing Agreement
  • Credits