This repository contains the official implementation of the paper, "AdInject: Real-World Black-Box Attacks on Web Agents via Advertising Delivery". The paper introduces AdInject, a novel, real-world black-box attack method that leverages internet advertising delivery to inject malicious content into Web Agents' environments, misleading them into clicking ads with high success rates (often >60%, sometimes approaching 100%).
-
For ad server, see AD_SERVER_README.
-
For OSWorld, see OSWORLD_README.
-
For VisualWebArena, see VWA_README
If you find this work useful, please consider citing the following paper:
@misc{wang2025adinjectrealworldblackboxattacks,
title={AdInject: Real-World Black-Box Attacks on Web Agents via Advertising Delivery},
author={Haowei Wang and Junjie Wang and Xiaojun Jia and Rupeng Zhang and Mingyang Li and Zhe Liu and Yang Liu and Qing Wang},
year={2025},
eprint={2505.21499},
archivePrefix={arXiv},
primaryClass={cs.CR},
url={https://arxiv.org/abs/2505.21499},
}
