# WADE: An LSTM-Based Anomaly Detection Engine for WebAssembly Applications

arXiv: https://arxiv.org/abs/2610.31984 · HTML: https://mlsanity.com/paper/2610.31984/

## Key facts

- No citing papers in the map yet (data through 26 Nov 2026).
- Builds on 6 of its 24 references that are in the map.
- Submitted 22 Oct 2026.

## Builds on (most cited first, 6 of 6)

- [Evaluation: from precision, recall and F-measure to ROC, informedness, markedness and correlation](https://mlsanity.com/paper/2010.16061/) (2020)
- [Cross-Entropy Loss Functions: Theoretical Analysis and Applications](https://mlsanity.com/paper/2304.07288/) (2023)
- [Wasabi: A Framework for Dynamically Analyzing WebAssembly](https://mlsanity.com/paper/1808.10652/) (2018)
- [Security Risks of Porting C Programs to WebAssembly](https://mlsanity.com/paper/2112.11745/) (2021)
- [Wasmizer: Curating WebAssembly-driven Projects on GitHub](https://mlsanity.com/paper/2303.09623/) (2023)
- [WebAssembly and Security: a review](https://mlsanity.com/paper/2407.12297/) (2024)

## Abstract (arXiv)

WebAssembly (Wasm) enables near-native performance for web applications through a portable and sandboxed execution model. However, its limited runtime protection mechanisms (e.g., the lack of stack canaries and address space layout randomization (ASLR)) leave Wasm applications vulnerable to traditional attacks. We present WADE (WebAssembly Anomaly Detection Engine), a system that detects anomalous runtime behaviors in browser-executed WebAssembly applications. WADE monitors function-level execution traces collected under benign conditions and trains a Long Short-Term Memory (LSTM) network to learn the normal execution behavior of each application. At runtime, the model flags deviations from these learned patterns as potential attacks. Unlike signature-based approaches, WADE builds application-specific behavioral models, enabling detection of both known and previously unseen attacks without per-vulnerability signatures. We evaluate WADE on a dataset of 67 WebAssembly applications spanning ten vulnerability classes, achieving zero false negatives and a 0.42% false positive rate.
