Evaluating the Safety of LLM-Based Agents: A User-Centered Study of OpenClaw
Abstract
This treatise conducts an evaluation of OpenClaw, an artificial intelligence agent grounded in large language models (LLMs), from a user-centered perspective through a light-weight real-world experiment. The study is designed to analyze the system's behavior under different categories of tasks, including benign, risk-sensitive, and adversarial scenarios. The results demonstrate that OpenClaw shows dependable working capability in ordinary tasks, producing structured and accurate outputs, while also exhibiting a certain level of basic safety awareness in adversarial situations such as prompt injection and harmful command requests. However, limitations become apparent when users encounter risk-sensitive situations. The system may still generate potentially dangerous outputs, even when warnings are provided, indicating that its safety mechanisms rely more on notification rather than strict prevention. In addition, the behavior of the system is found to vary depending on how user inputs are phrased, revealing sensitivity to prompt formulation. These findings suggest that, although OpenClaw has practical usability as a general-purpose assistant, there remains a clear need for stronger and more reliable safety control mechanisms in LLM-based agents to ensure secure real-world deployment.
References
- Wang, L., Ma, C., Feng, X., Zhang, Z., Yang, H., Zhang, J. and Wen, J. (2024) A Survey on Large Language Model Based Autonomous Agents. Frontiers of Computer Science, 18, 186345.
- Achiam, J., Adler, S., Agarwal, S., Ahmad, L., Akkaya, I., Aleman, F.L. and McGrew, B. (2023) GPT-4 Technical Report. arXiv, arXiv: 2303.08774.
- Wang, Y., Chen, X., Jin, X., Wang, M. and Yang, L. (2026) OpenClaw-RL: Train Any Agent Simply by Talking. arXiv, arXiv: 2603.10165.
- Yao, S., Zhao, J., Yu, D., Du, N., Shafran, I., Narasimhan, K.R. and Cao, Y. (2022) ReAct: Synergizing Reasoning and Acting in Language Models. International Conference on Learning Representations (ICLR).
- Castelfranchi, C. (1998) Modelling Social Action for AI Agents. Artificial Intelligence, 103, 157-182.
- Shan, Z., Xin, J., Zhang, Y. and Xu, M. (2026) Don't Let the Claw Grip Your Hand: A Security Analysis and Defense Framework for OpenClaw. arXiv, arXiv: 2603.10387.
- Huang, X., Liu, W., Chen, X., Wang, X., Wang, H., Lian, D. and Chen, E. (2024) Understanding the Planning of LLM Agents: A Survey. arXiv, arXiv: 2402.02716.
- Zhao, A., Huang, D., Xu, Q., Lin, M., Liu, Y. J., & Huang, G. (2024, March). Expel: Llm agents are experiential learners. InĀ Proceedings of the AAAI Conference on Artificial IntelligenceĀ (Vol. 38, No. 17, pp. 19632-19642).
- Li, Y., Wen, H., Wang, W., Li, X., Yuan, Y., Liu, G. and Liu, Y. (2024) Personal LLM Agents: Insights and Survey about the Capability, Efficiency and Security. arXiv, arXiv: 2401.05459.
- Goel, N. and Gupta, N. (2025) Extending STRIDE and MITRE ATLAS for AI-Specific Threat Landscapes. Well Testing Journal, 34, 181-196.
- Amershi, S., Weld, D., Vorvoreanu, M., Fourney, A., Nushi, B., Collisson, P. and Horvitz, E. (2019) Guidelines for Human-AI Interaction. Proceedings of the CHI Conference on Human Factors in Computing Systems, 1-13.