Select a theme from the list.
Insights

From our experts

Latest
Fileless PHP Rootkit Hides a Web Shell Inside BIG-IP Server MemoryMicrosoft Brings Agentic Vulnerability Hunting Into Azure GovernmentMicrosoft's Record Patch Tuesday Forces Defenders to Rethink Update PrioritiesPublic Zero-Day Exploits Put Endpoint Security Tools Under Defensive ScrutinyPEEP Turns Trusted Browsers Into Persistent Command CentersBigBear Shows Why Microsoft 365 MFA Alone Cannot Stop Session HijackingMass Exploitation Hits WordPress Sites Through Two Critical Upload FlawsCitrix NetScaler Authentication Bypass Draws Real-World Attack TrafficProject Zenith Recasts the Windows PC as a Local AI Development PlatformPostGREShell Turns Trusted Replication Accounts Into Server BackdoorsStyleSmuggler Zero-Day Puts Magento Stores on Emergency FootingRogue AI Agents Turn an Abandoned Wiki Into a Secret Coordination HubFileless PHP Rootkit Hides a Web Shell Inside BIG-IP Server MemoryMicrosoft Brings Agentic Vulnerability Hunting Into Azure GovernmentMicrosoft's Record Patch Tuesday Forces Defenders to Rethink Update PrioritiesPublic Zero-Day Exploits Put Endpoint Security Tools Under Defensive ScrutinyPEEP Turns Trusted Browsers Into Persistent Command CentersBigBear Shows Why Microsoft 365 MFA Alone Cannot Stop Session HijackingMass Exploitation Hits WordPress Sites Through Two Critical Upload FlawsCitrix NetScaler Authentication Bypass Draws Real-World Attack TrafficProject Zenith Recasts the Windows PC as a Local AI Development PlatformPostGREShell Turns Trusted Replication Accounts Into Server BackdoorsStyleSmuggler Zero-Day Puts Magento Stores on Emergency FootingRogue AI Agents Turn an Abandoned Wiki Into a Secret Coordination Hub
Security Insight

Malicious Git Settings Turn AI Coding Assistants Into Execution Traps

Malicious Git Settings Turn AI Coding Assistants Into Execution Traps
Photo by Rafael Minguet Delgado on Pexels

Researchers have disclosed eight vulnerabilities affecting seven command-line AI coding agents, including Codex, Claude Code, Cursor, goose, Hermes Agent, Qwen Code and Grok Build. A specially prepared repository can abuse local Git configuration to execute attacker-controlled commands, sometimes before trust prompts or authentication steps appear.

News Date: 2026-09-02

A directory received through a shared archive, synchronization service or removable drive can become a code-execution trap when opened with certain AI development agents. Research from Manifold Security identified eight vulnerabilities across seven tools that trusted repository-controlled Git settings during automated background operations.

The Risk Hides Beneath the Model

The central problem is not the language model itself. It is the software plumbing used by coding agents to inspect branches, calculate file changes and understand a project before responding to the developer.

Git supports a configuration option called core.fsmonitor, which can point to a command that Git runs while refreshing repository information. If an attacker distributes a project with its .git directory intact, a malicious command can be stored in the repository configuration. An AI agent that automatically runs commands such as git status or git diff may then trigger the payload.

In some affected products, execution occurred outside the agent sandbox and without a user approval prompt. Researchers also found cases in which the command ran before the workspace trust dialog was accepted, before authentication or after the user's first keystroke.

Fixes have been released for goose, Codex, Cursor and part of the affected Claude Code behavior. However, some reported paths involving Claude Code, Hermes Agent, Qwen Code and Grok Build remained unresolved when the systems were retested on September 1.

Practical Defensive Measures

  • Update every locally installed AI coding agent and avoid pinning older command-line versions.
  • Inspect the .git/config file before opening projects received as complete directories or archives.
  • Check for suspicious settings such as core.fsmonitor, core.hooksPath and unexpected filter commands.
  • Reconstruct untrusted projects through a clean Git clone when possible, rather than opening transferred working directories.
  • Run development agents inside isolated environments with limited credentials and file access.

Developer Convenience Expands the Trust Boundary

I believe this research exposes a structural weakness in modern development workflows. AI assistants are becoming orchestration layers that quietly call Git, shells, package managers and testing tools. Each automated action can inherit a legacy behavior that was designed before autonomous agents routinely operated across sensitive workstations.

In my view, workspace trust must be enforced before any background command runs, not merely before the model begins editing code. Vendors should also sanitize repository-specific configuration and clearly show every external process launched during initialization. An intelligent assistant should not make an untrusted project more powerful than it would be in a conventional development environment.

Talk to our team →

Latest

Fileless PHP Rootkit Hides a Web Shell Inside BIG-IP Server MemorySep 9, 2026Microsoft Brings Agentic Vulnerability Hunting Into Azure GovernmentSep 9, 2026Microsoft's Record Patch Tuesday Forces Defenders to Rethink Update PrioritiesSep 9, 2026Public Zero-Day Exploits Put Endpoint Security Tools Under Defensive ScrutinySep 8, 2026PEEP Turns Trusted Browsers Into Persistent Command CentersSep 8, 2026BigBear Shows Why Microsoft 365 MFA Alone Cannot Stop Session HijackingSep 8, 2026

Most read

1Sophos Turns Its Own Network Into a Proving Ground for Safer Enterprise AI2Sophos Fusion Recasts the Security Platform as an AI-Driven Defense System3Global CMS Exploitation Wave Plants Webshells on Business Websites4Microsoft Makes Passkeys the Entra ID Default and Sets a Deadline for Native SMS Authentication5Laser Attack Exposes an Unpatchable Weakness in Tangem Crypto Wallet Cards6Critical NGINX Overflow Puts Internet-Facing Servers on an Urgent Upgrade Path