MCP
OpenReviewOpenReview
Submission and review
Published: May 9, 2026
v2
ICML 2026 accepted

Your Cursor is Not Secure: Command Line Interface Agent Can Expose Realistic Risks Through Tactics, Techniques, and Procedures

Abstract
Command Line Interface (CLI) agents powered by large language models (LLMs) are rapidly maturing as assistants that operate within a computer's CLI, capable of understanding natural language requests, planning tasks, executing commands, and modifying files and code. Among their most critical applications is operating system (OS) control. As CLI agents in the OS domain become increasingly embedded in daily operations, it is imperative to examine their real-world security implications, specifically whether they can be misused to perform realistic, security-relevant attacks. Existing works exhibit four major limitations: Missing attacker-knowledge model on tactics, techniques, and procedures (TTP), incomplete coverage for end-to-end kill chains, unrealistic environment without multi-host and encrypted user credentials, and unreliable judgment dependent on LLM-as-a-Judge. To address these gaps, we propose AdvCLI, the first benchmark aligned with real-world TTPs in MITRE ATT&CK Enterprise Matrix, which comprises 140 tasks, including 40 direct malicious tasks, 74 TTP-based malicious tasks, and 26 end-to-end kill chains, systematically evaluates CLI agents under a realistic OS security threat in a multi-host environment sandbox by hard-coded evaluation. We evaluate the existing six mainstream CLI agents, including ReAct, AutoGPT, Gemini CLI, Cluade Code, Cursor CLI, and Cursor IDE based on 9 foundation LLMs. The results highlight critical vulnerabilities in current frontier CLI agents, underscoring the urgent need for future research to address alignment vulnerabilities in CLI agents regarding OS security-centric threats.
0
AI overview
Reviews
Citation graph
Structured
This paper does not have an AI preview yet
Rating
No ratings yet
Rate
ICML-2026-WORKSHOP-AIWILD
—
No reviews yet
accepted
Community rating
—
/ 5
No ratings yet
Rating
—
Soundness
—
Presentation
—
Contribution
—
Confidence
—
Discussion
Top
Newest
Questions
Replication
Author
No comments yet — be the first