Skip to content

trebedea/CWE_Scanner

 
 

Repository files navigation

CWE_Scanner

CWE classifier using Word Embeddings

Files named as dir_list.txt contain the names of directories where CWE vulnerable code is located (in Juliet testcases)

Scripts named list_dir.sh, list_dir_NV.sh creates the files with CWEXX vulnerable/not vulnerable samples, per each CWEXX in Juliet testcases

Script mutare_csv.sh moves between folders and concatenate csv tokenized files per each CWE, and creates files X_CWEXX (both for HAC and KMEANS)

Script creare_Y.sh creates files Y_CWEXX (identical for HAC and KMEANS), starting with value 0 (per line) for non-vulnerable samples, and 1 for vulnerable samples (at the end)

About

CWE classifier using Word Embeddings

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%