Skip to content
Venom Vault

Venom Vault

Detect and Prevent

Created on 8th March 2026

•

Venom Vault

Venom Vault

Detect and Prevent

The problem Venom Vault solves

Venom Vault solves the problem of data poisoning attacks on ML/AI models.

In short: attackers can inject subtly corrupted images into training datasets (e.g., Nightshade-style perturbations) to make AI models learn wrong things — misclassifying objects, producing bad outputs, or creating backdoors. These poisoned images often look normal to the human eye.

What our project does:

Red Team — simulates the attacker, injecting poisoned images into the pipeline
Blue Team — defends by detecting poisoned images (using local variance analysis) and cleaning them (Gaussian + median filtering)
Dashboard — shows everything in real-time: what was uploaded, what was detected as poisoned, what was cleaned, accuracy metrics, and alerts
MLflow + Alerts — logs every detection to MLflow for audit trails and sends Slack/Discord alerts when attacks are intercepted

Challenges we ran into

Based on our development journey, here are the key challenges we faced:

Disk Space Crisis — C: drive hit 0 GB free, blocking the entire dashboard from starting. Had to purge npm, pip, and conda caches to recover ~5 GB.

Folder Upload Support — The browser's <input type="file"> doesn't natively support folder uploads. Had to implement the webkitGetAsEntry / FileSystemDirectoryEntry API with recursive directory traversal for drag-and-drop.

Image Format Conversion — Real-world images (varying sizes, formats, color modes) needed to be converted to the exact 64×64 RGB float32 format the detection models expect — without breaking the pipeline.

SSE Event Delivery Bug — Blue Team events weren't reaching the dashboard. Root cause: asyncio.Queue is single-consumer, so when HMR/reconnects created multiple SSE connections, events got consumed by dead connections. Fixed with a broadcast pattern (

SSEBroadcaster
).

Real-Time Pipeline Coordination — Keeping three async systems (Red Team bot, Blue Team detector/cleaner, dashboard SSE) synchronized through shared queues without race conditions or data loss.

Corrupted Source File —

data_set.py
had a Unicode arrow (→) instead of Python's ->, and eventually became empty (0 bytes), requiring recovery.

Dashboard UX — Making the UI feel professional and not "AI-generated" while clearly separating uploaded dataset results from bot-generated events — required a full layout redesign with dedicated tracking panels.

Discussion

Builders also viewed

See more projects on Devfolio