Looking for contributors to help debug an AI-powered Network Traffic Analyzer (FastAPI + Scapy)

●2 ●6 ●17
calendar_today • schedule1 min read

Hi everyone,

I've been building NetGuard, an open-source AI-powered Network Traffic Analyzer and Active Defense Platform built with FastAPI, Scapy, SQLite, and a Random Forest model trained on the NSL-KDD dataset.

The project currently includes:

  • Live packet capture
  • Rule-based IDS
  • Traffic visualization dashboard
  • AI traffic classification
  • Automatic IP blocking using iptables
  • Threat remediation recommendations

Most of the architecture is working, but I'm currently stuck on a few integration issues.

The biggest one:

  • The orchestrator successfully receives HTTP 200 OK from the classifier, but ai_result is always null. I suspect a payload mismatch or response parsing issue inside call_classifier().

There are also a couple of other issues involving SQLite alert persistence and PDF report generation.

I've documented everything in the README, including reproduction steps and setup instructions.

GitHub:
https://github.com/GulrezQayyum/netguard

If anyone enjoys debugging FastAPI, async Python, networking, or ML integrations, I'd really appreciate your feedback or pull requests.

Thanks!

Want more #python & #opensource deep dives?

Join 6,165+ developers sharing real benchmarks, code breakdowns, and projects. Free forever.

6 Comments

3 votes
3 votes
2 votes
2
1 vote
2

More Posts

Dashboard Operasional Armada Rental Mobil dengan Python + FastAPI

Masbadar - Mar 12

What Security Teams Want From AI Agents Before They Let Them Act Alone

Tom Smithverified - Nov 18

The Sovereign Vault — A Comprehensive Guide to Protocol-Driven AI

Ken W. Algerverified - Jun 4

AAIF Hits 10 Projects. Its CTO on What to Adopt Now and the Security Gaps Left Open

Tom Smithverified - Oct 23

I Wrote a Script to Fix Audible's Unreadable PDF Filenames

snapsynapseverified - Apr 20
chevron_left
792 Points • 25 Badges
3Posts
4Comments
4Connections
Software Engineering student working on Flutter apps and Machine Learning projects.

Related Jobs

View all jobs →

Commenters (This Week)

5 comments
1 comment
1 comment

Contribute meaningful comments to climb the leaderboard and earn badges!