Goldman Sachs recently announced that its bankers and traders can no longer use Anthropic’s Claude Code or Microsoft’s GitHub coding extensions, while a subset of quantitative staff remain exempt. The move, reported by Bloomberg and echoed by Replit’s CEO, signals a growing concern in finance about the security posture of AI coding agents running on employee machines.
Why financial firms are tightening AI coding agent usage
According to a Goldman spokesperson, the decision balances productivity gains against perceived risks. Replit’s Amjad Masad describes the restriction as part of a “widespread” crackdown across the sector, driven by supply‑chain attack vectors and the potential for credential leakage when agents operate on uncontrolled endpoints.
Endpoint‑run agents: concrete risk factors
Running AI coding agents locally introduces several attack surfaces:
- Credential exposure: Agents can read long‑lived keys stored on a workstation and reuse them elsewhere.
- Malicious instruction injection: An attacker who compromises the agent’s prompt or model can cause it to perform out‑of‑scope actions.
- Compromised dependencies: Recent incidents, such as a poisoned Claude Code extension in the Cursor marketplace, demonstrate how a single malicious package can propagate through a developer’s toolchain.
These concerns have already manifested in broader ecosystem events, including a large‑scale GitHub account hijack that affected tens of thousands of repositories.
Recommended architecture: cloud‑controlled isolation
Replit’s advisory suggests moving AI coding agents into dedicated, organization‑controlled cloud environments. The key elements of that pattern are:
- Run agents in isolated compute instances that expose only the resources required for a given task.
- Manage credentials with short‑lived tokens, a practice that Vercel recently enforced for its suppliers.
- Separate audit logging and approval workflows from the developer’s workstation, ensuring a clear trail of agent activity.
By keeping the agent off the endpoint, a firm can enforce tighter access controls and reduce the blast radius of a compromised model or extension.
Related CloudNinjas coverage: AI engineering.
What This Means For Practitioners
Engineers responsible for platform, DevOps, or security should evaluate the following actions:
- Inventory any AI coding agents currently installed on developer laptops and assess whether they can be migrated to a managed cloud sandbox.
- Review credential storage practices; replace long‑lived keys with short‑lived tokens wherever possible.
- Implement centralized logging for agent‑generated code and API calls to maintain an audit trail independent of the user’s device.
- Stay informed about supply‑chain incidents involving AI extensions, and enforce strict vetting of third‑party plugins before they reach production environments.
Adopting a cloud‑first isolation model does not eliminate the need for AI assistance, but it aligns the tooling with the security expectations of regulated industries and reduces the risk of inadvertent data leakage or malicious code execution.



