A security researcher discovered that Anthropic’s Claude extension for Visual Studio Code displays deceptive approval prompts This article explores code permission threat. . Users who approve these prompts may inadvertently grant the AI agent unauthorized access to sensitive files on the system.

Claude Prompts Conceal Access Adversa discovered that the Claude Code CLI required approval when interacting with files via symlinks, which act as shortcuts to other locations.

This change was reportedly made by Anthropic a few weeks ago, altering the CLI to show the resolved path after a symlink. The Command Line Interface (CLI) reveals the actual file locations and alerts users when a symlink points outside a trusted folder. A malicious agent or one manipulated by a prompt injection attack can exploit this to trick users into granting access outside the workspace.

It also mentions that symlinks are outside Claude Code’s permission threat model, but the researcher notes that the public program guide does not explicitly exclude this scenario, ultrastrike added. Adversa identified a similar pattern across six AI coding agents, indicating a broader design issue. Join 16,000+ SOC teams using ANY.RUN to streamline threat investigations and reduce manual effort.

Explore for your team.