[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$faY5YOJGxe9kdPeuZy6QoyldIstTK2NumneQeMnO3xZw":3},{"lesson":4},{"id":5,"slug":6,"article_id":7,"title":8,"body":9,"prevention":10,"framework_refs":11,"framework_notes":17,"status":23,"created_at":24,"published_at":25,"article":26,"tags":30,"podcasts":43,"controls":44},"83c71d14-6ab6-47f3-b090-edc96668c9b5","claude-code-vs-code-extension-leaks-files-outside-trusted-workspaces-via-symlink-trick","442cf3af-0293-44a4-b8a8-0b0034b6da1f","Claude Code VS Code Extension Leaks Files Outside Trusted Workspaces via Symlink Trick","The Claude Code VS Code extension, with over 29 million installs, can be manipulated through symlinks to access files outside a user's trusted workspace — without the permission prompt accurately disclosing the true file location. This is a classic path traversal variant: users believe they are granting limited access, but are actually exposing sensitive system files. The root issue lies in insufficient input validation and misleading permission UI within a widely distributed third-party extension. Because Anthropic does not classify this as a security issue, no patch is forthcoming, leaving tens of millions of users exposed. This highlights the broader risk of implicitly trusting popular extensions without scrutinizing their file system access behaviors.","**Immediate actions:**\n- Audit all installed VS Code extensions for excessive file system permissions and remove or restrict those that are not essential.\n- Enable OS-level controls (e.g., AppArmor, SELinux, or sandbox profiles) to restrict the file system access available to IDE processes and extensions.\n\n**Long-term improvements:**\n- Establish a vetting process for third-party extensions before organizational deployment, including review of permission scopes and vendor security posture.\n- Treat widely deployed IDE extensions as supply chain components and include them in your software inventory and risk assessments.\n- Advocate for or require that extension vendors implement accurate permission disclosure that reflects resolved file paths, not symlink aliases.\n\n**Detection measures:**\n- Monitor file system access logs for IDE processes reading files outside designated workspace directories.\n- Use endpoint detection tools to alert on symlink-based path traversal patterns initiated by editor or extension processes.",[12,13,14,15,16],"MITRE ATT&CK T1083: File and Directory Discovery","OWASP A01:2021 Broken Access Control","NIS2 Article 21(2)(d)","CIS Control 2: Inventory and Control of Software Assets (v8)","NIST SP 800-53 AC-3: Access Enforcement",{"NIS2 Article 21(2)(d)":18,"OWASP A01:2021 Broken Access Control":19,"NIST SP 800-53 AC-3: Access Enforcement":20,"MITRE ATT&CK T1083: File and Directory Discovery":21,"CIS Control 2: Inventory and Control of Software Assets (v8)":22},"The vulnerability originates in a third-party extension with 29 million installs, making supply chain security controls — specifically vetting and monitoring third-party software components — directly relevant.","The extension fails to enforce workspace boundaries, allowing symlinks to bypass the intended access restrictions — a direct instance of broken access control.","This control requires that systems enforce approved authorizations for access to resources; the extension's failure to resolve symlinks before presenting permission prompts undermines this enforcement.","The symlink exploitation enables the extension to access and read sensitive files outside the intended workspace boundary, matching this technique's description of adversary-driven file system reconnaissance.","Organizations with no inventory of installed IDE extensions cannot assess exposure to this vulnerability or enforce policies restricting unsafe extensions.","published","2026-11-16T17:20:22.133162+00:00","2026-11-16T17:20:22.111+00:00",{"id":7,"url":27,"slug":28,"title":29},"https:\u002F\u002Fcybersecuritynews.com\u002Fclaude-code-vs-code-extension\u002F","researchers-reveal-how-claude-code-vs-code-extension-can-access-files-outside-tr-24eed2","Researchers Reveal How Claude Code VS Code Extension Can Access Files Outside Trusted Workspaces",[31,37],{"id":32,"name":33,"slug":34,"description":35,"color":36},"1ec88fde-2d0f-4ed8-932a-33f5ccc0fdc7","Access Control","access-control","Excessive privileges, missing MFA, weak auth","#f97316",{"id":38,"name":39,"slug":40,"description":41,"color":42},"f0c2a0af-58aa-4128-87c9-6acd30f2dc48","Supply Chain","supply-chain","Third-party risk, compromised dependencies","#8b5cf6",[],[45,49],{"slug":46,"name":47,"problem":48},"endpoint-detection-response","Endpoint detection and response (EDR and XDR)","Malware and hands-on-keyboard attackers on laptops and servers get spotted and stopped.",{"slug":50,"name":51,"problem":52},"security-awareness-training","Security awareness training and phishing simulation","People recognise and report attacks instead of falling for them."]