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

Ilaria Campestrini, Stefano Zanero, Engin Kirda
10/22/2026
cs.CRcs.LG

No confident code implementation found for this paper.

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{campestrini2026wade,
  title  = {WADE: An LSTM-Based Anomaly Detection Engine for WebAssembly Applications},
  author = {Ilaria Campestrini and Stefano Zanero and Engin Kirda},
  year   = {2026},
  eprint = {2610.31984},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.31984v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.31984.svg)](https://codeofpaper.com/paper/2610.31984)

Discussion