You are browsing as a guest. Sign up (or log in) to start making projects!

Vulnerability Detector for Source Code using ML

  • 1 Devlogs
  • 1 Total hours

Analyze the source code and output probability for vulnerability utilizing machine learning.

Open comments for this post

35m 59s logged

I’ve been building a small ML project that tries to detect vulnerabilities in source code. It uses a real dataset (Big-Vul) and a simple TF-IDF + Random Forest model to classify code as safe or vulnerable. After fixing a lot of dataset and file path issues, I finally got the full pipeline working end-to-end with around 94% accuracy on the test split. Most of the work so far wasn’t even the model itself, but getting the data loading and training pipeline stable. Next I want to turn it into a real tool that can scan files directly, highlight risky lines, and eventually improve the model to detect different types of vulnerabilities.

0
0
9

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…