Short version: three stories about the same coding agent landed in one week, and none of them is about the model being wrong. A bank took the tool away from its traders. A security firm found passwords sitting in public files because a convenience button saved them there. And a few days earlier, the same tool had been sending its users’ email addresses to websites. The common shape is a tool that trusts its user — and the user’s machine — too much. This article sticks to what the sources actually say, event by event, and ends with five checks you can run on your own machine in about ten minutes.
On November 2, 2026, Bloomberg reported that Goldman Sachs had restricted Anthropic’s Claude Code and Microsoft’s GitHub Copilot to its engineers. On November 5, a security firm published research showing that a single click in Claude Code had put real passwords into more than a thousand public GitHub files. And the same week, the story we audited in our previous article — Claude Code sending its users’ email addresses to websites in User-Agent headers — was still climbing Hacker News. Three events, one week, one tool. The temptation is to call it a verdict on the tool. The sources do not support that, and this article will not say it. What the sources do support is narrower and more useful: each event is a different default that assumed the user, and the user’s machine, would handle the sharp edges. This is the record of those defaults, with the numbers as the sources give them.
The week in one table
| Date | What happened | Source |
|---|---|---|
| Oct 29, 2026 | Tampered builds of the Claude Code extension (versions 2.1.312 and 2.1.313) sat in Cursor’s extension marketplace for about 11 hours; Cursor says at most 5,000 users received them | Cursor security notice, Oct 29–30 |
| Nov 2, 2026 | Bloomberg reports Goldman Sachs restricted Claude Code and GitHub Copilot to its roughly 12,000 engineers | Bloomberg, Nov 2 |
| Nov 5, 2026 | GitHub issue #107757: Claude Code sent the account email in User-Agent headers; Apiiro publishes its settings.local.json research the same day | GitHub issue #107757; Apiiro, Nov 5 |
| Nov 7, 2026 | Apiiro’s findings reach Hacker News (595 points, 404 comments on Nov 9); Anthropic’s head of Claude Code replies on the thread | Hacker News; Apiiro |
| Nov 9, 2026 | The Goldman Sachs thread sits at 669 points and 381 comments on Hacker News — and keeps climbing, to 873 points and 469 comments a day later | Hacker News |
Event one: Goldman takes the tool back
The Bloomberg report, by Todd Gillespie, says Goldman Sachs updated its internal guidance in October 2026 so that Claude Code and GitHub’s coding tools are available only to engineers — roughly 12,000 of them. Traders and bankers who had been using both tools for months lost access. One group kept access besides the engineers: the “strats,” Goldman’s hybrid of quantitative research and software engineering, who write production code as part of the job.
What the traders had been doing with the tools is part of the story, and Bloomberg lists it plainly: monitoring client trading flows, modelling changes in markets and positions, and producing written and graphic material. None of that is writing software. That is the point Goldman seems to have decided on. A coding agent is not a chat assistant. It reads files, writes programs, runs programs, and acts with the permissions of whoever is signed in. Give it to someone whose job is to move markets, and it will do market-moving work with developer-grade power and no developer-grade review around it: no code review, no deployment gate, no second pair of eyes that a software team takes for granted.
Goldman’s own explanation is deliberately thin, and the thinness is worth recording rather than filling in. A spokesperson, Nick Carcaterra, told Bloomberg: “After a period of experimentation where we assess a variety of factors including productivity and risk management, we put them in the hands of those who are best suited to leverage them for the long term.” The report says the review weighed productivity and risk management. It does not say which risk weighed most, whether anything went wrong, or what the traders do now. Goldman has not published the guidance or the review. This article will not guess at the missing half.
Two pieces of context make the reversal sharper, and both are on the record. First, the direction of travel flipped within four months: in July 2026, Goldman’s chief information officer, Marco Argenti, publicly praised non-engineers doing “vibe coding” — traders and bankers building prototypes that engineers would then take over and put into production. By October, that experiment was over. Second, this was not Goldman’s first pullback: earlier in the year, in April, the bank removed Claude from its internal AI platform for bankers in Hong Kong, after determining that its agreement with Anthropic did not cover use in the territory. The October guidance is the second restriction, not the first.
One more fact, stated without inference: Goldman Sachs and Morgan Stanley are the lead underwriters on Anthropic’s IPO — the S-1 was filed on October 26, 2026. The report does not connect the underwriting to the restriction, and neither do we. It belongs in the article only because a reader will ask, and the honest answer is that it is a fact about the same two companies in the same week, not a motive.
What the Goldman story is not: it is not a ban on AI, and it is not a response to an accident. The report names no incident, no breach, and no regulatory requirement. It is a large, regulated institution deciding that a powerful tool belongs with the people who have the review process to catch what it does wrong. Some users are voting with their feet in the other direction — a Hacker News post titled “Goodbye Claude, hello Pi,” about Textual’s open-source agent, reached 716 points and 445 comments the day before the Goldman thread topped the front page. That is an exit, not a verdict, and we are not reviewing Pi here.
Event two: the email that left the machine
The second event is the one we already audited in full. In short: Claude Code injected the signed-in account’s email address into the model’s system prompt on every session, and when a website asked a scripted client to identify itself with a contact address, the model sometimes complied using the only email it knew — yours — and sent it in the User-Agent header of web requests. The behaviour was first documented in GitHub issue #81138 on July 25, 2026; the User-Agent variant was filed as issue #107757 on November 5, 2026, and reached 610 points and 208 comments on Hacker News. Anthropic shipped a blocking mod in v2.1.317 that stops the exact reported shape of the leak — and calls that mod “a courtesy, not a boundary” in its own README — and a team member then said on the Hacker News thread that the real fix, removing the email from the model’s context entirely, would ship in a release early the following week.
The full audit, with the primary sources quoted and the mod’s gaps tested against its own published code, is in our earlier article, Claude Code Sent Your Email to Websites. We are not re-litigating it here. It belongs in this article for one reason: it is the same shape as the other two events. The tool held a piece of your identity where the model could reach it, and the model reached it.
Event three: the password that got filed
The third event is the one with the hardest numbers, and it comes from a security firm, not a bank. Apiiro published research on November 5, 2026 — authors Shmulik Cohen and Matan Giladi — showing how a convenience feature in Claude Code puts real credentials into public GitHub repositories. The mechanism is one click. When Claude Code needs to run a shell command, it asks for confirmation. If the developer picks “Yes, and don’t ask again,” the agent saves the exact command, secret included, as a permanent allow rule in .claude/settings.local.json, a file inside the project folder. The file is meant to stay on the developer’s own machine. But files get committed, and this one has no protection that travels with the repository.
Claude Code does try to keep the file out of version control: the first time it writes the file inside a git repository, it adds the entry to the developer’s global git excludes, so it stays out of commits on that machine. Apiiro’s point is that the guard stays on one machine and never reaches the repository’s own .gitignore. It does not cover a folder that becomes a repository later, a clone on another computer, or a file that was already committed. And in 539 of the 1,105 leaking repositories Apiiro traced, a commit co-authored by Claude had changed the settings file — the agent itself helped the file into version control.
The counts, as Apiiro reports them: GitHub holds 104,185 public copies of .claude/settings.local.json in 103,617 repositories. Of those, 1,122 files — about 1.1% — hold at least one real secret, adding up to 1,379 distinct secrets. Counting older versions in git history, the shared settings file teams commit on purpose, and saved agent chat logs, Apiiro’s total is 2,539 secrets in 1,994 repositories, across 63 organisations, mostly software companies. The leaked material includes a database vendor’s own admin-level cloud key, a production Azure Postgres password, a Square production token, and the owner password for a medical-records app’s database. One company confirmed to Apiiro that its leaked key had been live.
Three caveats matter, and Apiiro states all of them. First, the firm did not test the credentials — its post says no credential was used or tested and no host was contacted — so the research shows exposure, not demonstrated compromise. Second, the standard secret scanners miss a large share of these files: of the 1,122 files with a real secret, gitleaks flagged 564 and TruffleHog flagged 643, and 215 were flagged by neither — usually because the secret is a password typed into a command, which looks like an ordinary word in an ordinary command line. Third, the behaviour is not new: users have reported it on Claude Code’s GitHub tracker since August 2025, in four reports Apiiro cites, none of which got a reply from Anthropic, and three of which were closed automatically as inactive or duplicates. The research also notes a related hole: approvals are sometimes written to the shared .claude/settings.json instead — a file teams commit deliberately — and Apiiro found secrets in 298 of 76,011 public copies of that file.
Apiiro reproduced the behaviour with two different models and puts it plainly: “This is Claude Code’s own behavior, not the model’s.” Of 16 coding agents whose documentation the firm compared, Claude Code was the only one confirmed to write the full approved command to a project file by default. On November 7, the findings reached Hacker News at 595 points and 404 comments, and Boris Cherny, Anthropic’s head of Claude Code, replied on the thread. As of the reports we checked, there was no public vendor response beyond that reply, and no patch cited.
The same shape, three times
Put the three events side by side and the pattern is not “three bugs.” It is three defaults that assumed the user would catch what the tool did not.
- The rollout default. Goldman let a developer-grade tool spread to anyone who asked for it, then discovered that the people without a review process were the ones who needed one most. The bank’s answer was a role list. A role list is a blunt instrument — it also takes the tool away from the careful trader — but it is the answer an institution reaches when it cannot review every individual’s judgment.
- The context default. The email was placed where the model could see it, because identification seemed harmless, and nobody asked what the model might do with a piece of identity it was told never to send anywhere. Data in context is data the model can emit — into commits, pull request bodies, config files and outbound calls — and into the hands of any untrusted page the model reads.
- The convenience default. “Don’t ask again” is a kindness to the user who approves the same command every day. It is also a save button that never asks whether the command contains a secret, and it saves to a file whose only protection lives on one machine. The user clicked once; the file kept the secret forever.
None of this is a verdict on Claude Code as a product, and this article does not offer one. Coding agents are genuinely useful — that is why a bank’s traders reached for them, why developers let them run commands, and why the tool spread far beyond engineering in the first place. The useful question is narrower: when a tool can act with your permissions, read your files, and remember what you approved, which defaults should it ship with, and who checks them? Goldman answered with a role list. Anthropic answered the email leak with a courtesy check first and a context fix second. Apiiro’s research is still waiting for an answer. Until the defaults change, the check is yours.
Five checks, about ten minutes
- Update, and watch for the context fix. The privacy mod exists in Claude Code 2.1.317 and later. The more important release is the one Anthropic announced for early the following week: removing the account email from the model’s context entirely. Take it when it lands — it matters more than the mod.
- Search your own repositories. Look in your GitHub organisation for
.claude/settings.local.jsonand.claude/settings.json, and check git history, not just the current files. Apiiro found secrets in older versions of the file in hundreds of repositories, and the median leaking file had been committed 217 days before its scan. - Rotate anything you typed into an approved command. If you ever approved a command carrying a password or token with “don’t ask again,” treat that secret as exposed and rotate it — even if your repository is private, and even if your scanners say the file is clean. Two hundred and fifteen of the 1,122 files Apiiro found were missed by both gitleaks and TruffleHog.
- Fix the protection at the repository level. If the file is tracked, remove it from the index and add the entry to the repository’s own
.gitignore, not just your global one. A global exclude protects one machine; a repository.gitignoreprotects everyone who clones it. Do the same for the shared.claude/settings.jsonif your team commits it. - If you work somewhere with rules, ask who approves agent tools. Goldman ran an experiment and then drew a role list. Most workplaces have not run the experiment and have not drawn the list — which means the decision is being made one install at a time, by whoever clicks yes first. Ask the question before a bank-sized review asks it for you.
For readers of this site, the transferable lesson is the one our audit series keeps coming back to: when a tool says a protection is on by default, the useful questions are what exactly it checks, what it does not watch, what its own documentation calls it, and whether you can make it fire on your own machine. We run the same questions against agent tooling in this series — most recently four anti-slop tools run against the same page, and the management layer that decides who gets to run a team of agents in Who Manages the Agents?. The trust story is not going away: the Hacker News trust cluster has now appeared two weeks running, and this site’s AI visibility audit at /ai-visibility-audit/ is where we measure whether tools like these can be found — and checked — at all.
Facts checked November 10, 2026: Bloomberg’s November 2, 2026 report on Goldman Sachs (as cross-reported, including the spokesperson quote and the July “vibe coding” praise); the Hacker News threads on the Goldman restriction (669 points and 381 comments when captured November 9, 873 points and 469 comments a day later) and on Apiiro’s research (595 points and 404 comments on November 9); Apiiro’s research published November 5, 2026, by Shmulik Cohen and Matan Giladi (1,122 of 104,185 public copies holding a real secret; 2,539 secrets in 1,994 repositories; 63 organisations; credentials not tested); GitHub issues #107757 and #81138 and our own audit of them in the email leak article; and Cursor’s security notice for the October 29 extension incident (versions 2.1.312 and 2.1.313, about 11 hours, at most 5,000 users). Point and star counts move; the quoted text does not. The “Goodbye Claude, hello Pi” post is cited for the exit it documents, not reviewed here.
AI Will Trust – independent, hands-on AI tool audits. About | Contact | Free AI Visibility Audit | Privacy Policy
Leave a Reply