OpenClaw Contextual Vulnerabilities

Arxiv pdf 2026-05-01T00:00:00
arXiv Paper — PDF not available. Only the Executive Summary is available here. To read or download the full paper, visit the arXiv abstract page.

Abstract

Agentic language-model systems increasingly rely on mutable execution contexts, including files, memory, tools, skills, and auxiliary artifacts, creating security risks beyond explicit user prompts. This paper presents DEEPTRAP, an automated framework for discovering contextual vulnerabilities in OpenClaw. DEEPTRAP formulates adversarial context manipulation as a blackbox trajectory-level optimization problem that balances risk realization, benign-task preservation, and stealth. It combines risk-conditioned evaluation, multi-objective trajectory scoring, rewardguided beam search, and reflection-based deep probing to identify high-value compromised contexts. We construct a 42-case benchmark spanning six vulnerability classes and seven operational scenarios, and evaluate nine target models using attack and utility grading scores. Results show that contextual compromise can induce substantial unsafe behavior while preserving userfacing task completion, demonstrating that finalresponse evaluation is insufficient. The findings highlight the need for execution-centric security evaluation of agentic AI systems. Our code is released at: https://github.com/ZJUIC SR/DeepTrap.

Loading executive summary...

LINK COPIED TO CLIPBOARD