# WebSentinel Official repo of [WebSentinel: Detecting and Localizing Prompt Injection Attacks for Web Agents](https://arxiv.org/abs/2602.03792) ![WebSentinel](images/WebSentinel.png) # Quick Start ``` pip install openai export OPENAI_API_KEY="your key" cd demo python detection.py ``` # Running WebSentinel TBD # Citation If you find this work useful, please kindly cite ``` @article{wang2026websentinel, title={WebSentinel: Detecting and Localizing Prompt Injection Attacks for Web Agents}, author={Wang, Xilong and Liu, Yinuo and Wang, Zhun and and Song, Dawn and Gong, Neil}, journal={arXiv preprint arXiv:2602.03792}, year={2026} } ```