‘SymJack’ Attack Turns AI Coding Agents Into Supply Chain Attack Delivery Systems
Source SecurityWeek
Description
The SymJack attack exploits trust in AI coding agents by using malicious repositories and disguised symbolic links (symlinks) to silently install attacker-controlled MCP servers. These servers can steal secrets, compromise continuous integration (CI) pipelines, and deploy malicious code without user awareness. The attack manipulates the coding process by renaming symlinks to appear innocuous, tricking developers into approving harmful file operations. This leads to attacker code running with user privileges, potentially exfiltrating sensitive credentials and damaging production assets. The attack is not a bug in the AI agents themselves but a consequence of automation trust and user approval of seemingly benign actions. Some AI coding agents have started mitigating this by resolving symlinks before approval and displaying real paths to users. No official patch is confirmed yet, but mitigation can be achieved by cautious user behavior and improved agent prompts.