We developed MINES, a system for detecting anomalies in web applications by inferring explainable API invariants from the schema level instead of raw log instances. This approach effectively filters out log noise and identifies abnormal behaviors related to the database and session states. Our extensive evaluations demonstrate that MINES outperforms existing methods, achieving over 14% higher recall for anomaly detection with nearly zero false positives. The below image shows the overview of MINES. You can check more details from our paper or from the below links.
[News] The paper has just been accepted to ICSE 2026. The current source code is a review version. We are organizing the repository and will release the complete dataset, source code, and experimental results soon.
Authors: Wenjie Zhang, Yun Lin, Kwok Chun Fung Amos, Xiwen Teoh, Xiaofei Xie, Frank Liauw, Hongyu Zhang, Jin Song Dong