HYDRA: A Hybrid Heuristic-Guided Deep Representation Architecture for Predicting Latent Zero-Day Vulnerabilities in Patched Functions
Mohammad Farhad, Sabbir Rahman, Shuvalaxmi Dass

TL;DR
HYDRA is a hybrid deep learning architecture that combines heuristics and embeddings to detect latent zero-day vulnerabilities in patched functions, improving security testing by uncovering hidden risks.
Contribution
HYDRA introduces a novel combination of rule-based heuristics, GraphCodeBERT embeddings, and VAE for unsupervised detection of post-patch latent vulnerabilities.
Findings
HYDRA predicts 13.7%, 20.6%, and 24% of functions as containing latent risks in Chrome, Android, and ImageMagick.
HYDRA outperforms baseline models relying solely on regex features or embeddings.
HYDRA uncovers risky code variants aligned with heuristic patterns, revealing hidden vulnerabilities.
Abstract
Software security testing, particularly when enhanced with deep learning models, has become a powerful approach for improving software quality, enabling faster detection of known flaws in source code. However, many approaches miss post-fix latent vulnerabilities that remain even after patches typically due to incomplete fixes or overlooked issues may later lead to zero-day exploits. In this paper, we propose , a brid heuristic-guided eep epresentation rchitecture for predicting latent zero-day vulnerabilities in patched functions that combines rule-based heuristics with deep representation learning to detect latent risky code patterns that may persist after patches. It integrates static vulnerability rules, GraphCodeBERT embeddings, and a Variational Autoencoder (VAE) to uncover anomalies often missed by symbolic or neural models alone. We evaluate HYDRA in an…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
