Home / Insights / Software Partner Selection
Software Partner Selection
Your Development Partner’s AI Coding Tools Are Now Part of Your Supply Chain: 12 Controls to Require in 2027
On 29 October 2026 a tampered copy of a widely used AI coding extension sat on Cursor’s extension marketplace for about 11 hours and planted an SSH backdoor on developer machines. If an outside team writes your software, machines like those hold your source code and your credentials. This guide explains what changed in the autumn of 2026 and sets out twelve controls and the contract terms to ask any development partner for before 2027.
Key takeaways
- The tool is now the entry point. On 29 October 2026 tampered copies of the Claude Code extension were served from Cursor’s marketplace for about 11 hours. Cursor says at most 5,000 users may have received them.
- Instructions have become executable. A text file that a coding agent reads can change what it does. In October 2026 researchers showed a web page dropping such a file into a Downloads folder and steering two leading agents.
- Your partner’s laptops are inside your perimeter. They hold your repositories, your cloud credentials and an agent allowed to run commands. Verizon’s 2026 breach report puts third-party involvement at nearly half of all breaches.
- Ask for evidence, not policy. Each of the twelve controls below comes with something a partner can show you in a screen share: a configuration file, a log or a list.
- IP protection now includes prompts and traces. Your contract should name the AI tools allowed on your code, their retention settings and who must tell you when a tool vendor has an incident.
On this page
- What happened between August and November 2026
- Three new routes into a developer machine
- What the 2026 reports add
- Twelve controls to require, and the evidence for each
- Match the controls to the level of autonomy
- Where your source code goes: the IP terms to add
- Ten questions to send your partner this week
- Red flags in the answers
- A 30-day plan
- Frequently asked questions
- Sources and methodology
What happened between August and November 2026
For years the advice on vendor security was about networks, laptops and access to production. The developer’s editor was treated as a neutral tool. Four events in roughly three months show why that assumption no longer holds.
- 4 August: a worm that writes agent configuration. Microsoft published its analysis of a self-propagating npm worm it calls ChainDrop, which affected more than 400 packages across unrelated publishers. It ran from an install hook, collected npm, GitHub and cloud credentials, and could use stolen GitHub access to add files to Claude and Visual Studio Code configuration paths in repository branches, so that the next developer who opened the project became the next host.
- 22 October: a text file as an attack. Forever Security showed that a web page can silently save an instruction file such as
AGENTS.mdorCLAUDE.mdinto a Downloads folder. When a coding agent is started in that folder it reads the file as trusted project context. In their tests OpenAI Codex ran the planted payload in more than 90% of attempts, and Claude Code was redirected to an attacker-controlled endpoint about half the time. The researchers argue there is nothing for either vendor to patch, because the agents behaved as designed. - 29 October: a tampered extension on an official marketplace. Cursor reported that unauthorized copies of Anthropic’s Claude Code extension, versions 2.1.312 and 2.1.313, had been served from its extension marketplace for about 11 hours. Microsoft’s analysis the next day described what the copy did: it added an SSH key labelled as telemetry to the user’s authorized keys, tried to open a reverse SSH tunnel to the workstation and installed persistence on macOS, Linux and Windows. Anthropic did not publish the copy and its own systems were not compromised.
- 13 November: the follow-up. Cursor’s update said at most 5,000 users who requested those cached versions on 29 October could have received the malicious build, and warned that uninstalling the extension alone may not be enough. Its account is that the attacker placed the files using a credential obtained from exposed internal data, in a chain that began with an access key issued to a service provider. Cursor then rotated credentials across its internal systems and rebuilt the marketplace.
None of these needed a careless developer in the usual sense. Nobody clicked a strange attachment. A developer updated a trusted extension from the official source, opened a repository, or started an agent in the wrong folder. That is the shift a buyer has to price in: the tools that make a team faster have become a delivery route for attackers, and the route runs through people doing their job correctly.
Microsoft was careful about one point, and so should we be. Its analysis found that the callback from the tampered extension sent the names of environment variables, not their values, and says this does not demonstrate theft of the secrets stored in them. Cursor also reported that the SSH access failed on most macOS and Windows hosts. The incident was contained quickly. The lesson is about the route, which worked, and less about the damage, which appears limited.
Three new routes into a developer machine
If you buy software development from an outside team, the practical question is where your code and credentials sit while the work is done. In 2026 the honest answer is: on a developer machine, next to an AI agent that is allowed to read files and run commands. Three routes into that machine are new or newly important.
| Route | How it works | Why older controls miss it | 2026 example |
|---|---|---|---|
| The tool’s own distribution channel | A tampered extension, plugin or tool server arrives through the normal update path | Antivirus and review trust the publisher name and the official marketplace | Tampered Claude Code extension on Cursor’s marketplace, 29 October |
| Instruction files | A markdown or settings file tells the agent what to do; the agent treats it as project context | It is text, so nothing scans it as code and nobody reviews it as code | Instruction file dropped into a Downloads folder, 22 October |
| Dependencies that write agent configuration | A compromised package steals tokens, then plants agent and editor settings in repositories | Dependency scanning looks at the package and misses what it wrote elsewhere | ChainDrop npm worm, 4 August |
The common factor is permission. A coding agent inherits what the developer can do: read every repository cloned on the machine, use the cloud credentials in the shell and push code. An attacker who can steer the agent, or who replaces the tool around it, gets the same reach without stealing a password. This is the same class of problem I described in prompt injection in agentic systems, moved from a product you ship to the machines that build it.
What the 2026 reports add
Incidents make headlines. The yearly reports show whether they are exceptions. Three sets of figures are worth having in front of you when you speak to a partner.
- Third parties are in nearly half of breaches. Coverage of Verizon’s 2026 Data Breach Investigations Report, published in May, records that third-party involvement rose 60% year on year and now appears in nearly half of all breaches. The same report lists the use of unapproved AI tools as the third most common non-malicious insider action in its data-loss dataset, a fourfold increase on the year before.
- Credentials leak faster where AI writes the code. GitGuardian’s State of Secrets Sprawl 2026 counted about 29 million new secrets on public GitHub in 2025, up 34%. Commits made with Claude Code leaked secrets at about 3.2%, roughly twice the baseline. Leaks of credentials for AI services rose 81% to 1,275,105, and the study found 24,008 unique secrets in the tool-server configuration files it examined.
- Leaked credentials stay live. In the same report, 64% of the valid secrets found in 2022 had still not been revoked in 2026, and internal repositories were about six times more likely than public ones to contain hardcoded secrets.
Put together: the place attackers now aim at is the place where credentials are most likely to be lying around, and those credentials often stay valid for years. A partner’s private repositories and laptops are covered by the phrase “internal”. That is the reason to ask about them directly.
Twelve controls to require, and the evidence for each
A security policy document tells you what a partner intends. The table below asks for something they can show. I have grouped the controls by the four boundaries used in the Secure Software Factory reference architecture, a draft published for comment on 13 October 2026 by engineers from Docker, Keycard, Barclays, Socket and Secure Theory: sandbox, network, supply chain, and identity and access. The grouping is theirs. The twelve controls and the evidence column are my own working list.
| # | Control | What it prevents | Evidence to ask for |
|---|---|---|---|
| 1 | An approved list of AI coding tools, extensions and tool servers, by publisher and version | A developer installing a look-alike or an unreviewed plugin | The list itself, and the editor policy that enforces it |
| 2 | A cooldown before new extension and package versions can be installed | Receiving a poisoned release in its first hours, before it is pulled | The configured delay for extensions and the minimum release age for packages |
| 3 | Agents run in a sandbox or container with approval gates left on | A steered agent reaching the rest of the machine | The agent’s settings file; a statement of who may turn approvals off |
| 4 | A clean, dedicated workspace per client; no agent started in Downloads or a shared folder | Stray instruction files and cross-client access | The workspace layout on a developer machine |
| 5 | Instruction and agent settings files are reviewed like code | Planted instructions, redirected endpoints, unexpected hooks | Code owner rules covering AGENTS.md, CLAUDE.md, .claude/, .vscode/ and tool-server configuration |
| 6 | Network egress from agent sessions limited to known hosts | Exfiltration and reverse tunnels | The allow-list, and an alert on outbound SSH from workstations |
| 7 | Lockfiles, pinned versions and install scripts disabled by default | Install-hook worms of the ChainDrop type | The package manager configuration in your repository and in CI |
| 8 | No long-lived secrets on developer machines; short-lived, scoped credentials instead | Stolen tokens that work for months | How a developer obtains cloud access today, shown live |
| 9 | Secret scanning before commit and in CI, including agent configuration files | Credentials committed by a person or an agent | Scanner output from the last month and the time taken to revoke |
| 10 | A separate identity for agents, with less access than the developer | An agent acting with a senior engineer’s full rights | The token scopes used by agent sessions |
| 11 | Central logs of extension installs and agent actions that the developer cannot edit | Not knowing who was exposed when a tool incident is announced | A query answering: who had extension X at version Y on a given date |
| 12 | A written procedure for a tool-vendor incident, with a notice period to you | Learning about exposure weeks later, or never | The procedure, and the record of how the 29 October notice was handled |
Controls 1, 2 and 11 are the ones the Cursor incident tests directly. Microsoft’s guidance after the incident was to restrict extensions to approved publishers and to configure an installation cooldown. A build that was available for about 11 hours would not have reached a team whose editors wait a day or more before taking a new version. Control 11 decides whether a partner can answer your first question after any such notice, which is simply: were any machines with access to my code affected?
Controls 8 and 10 follow the direction the standards bodies are taking. On 27 October 2026 NIST staff published ten proposed design tenets for agent identity. They include a distinct identity for each agent, no standing privilege while idle, short-lived and revocable authorization, deterministic access decisions and tamper-evident logs the agent cannot modify. These are proposals, not requirements, but they tell you what a well-run setup will look like in a year, and a partner who already works this way will find audits easier.
Some of this overlaps with good practice that predates AI tools. Our earlier guides on secrets management for growing teams and software supply chain security cover controls 7 to 9 in more depth. What is new is that the agent’s own files and channels now need the same discipline.
Match the controls to the level of autonomy
Twelve controls at full strength on every task would slow a team for little gain. The same reference architecture offers a useful way to scale them. It describes three levels of autonomy, defined by who chooses the next step, and holds that the four boundaries stay in place at every level.
| Level | Who chooses the next step | Typical work | Controls that must be in place |
|---|---|---|---|
| 1. Human-orchestrated | A developer, who reviews what the agent produces | Pair-style coding in the editor | 1 to 5, 7, 8, 9, 12 |
| 2. Workflow-orchestrated | A predefined pipeline | Agent runs triggered by a ticket or a pull request, in CI | All of level 1, plus 6, 10 and 11 |
| 3. Agent-orchestrated | An agent | Long unattended runs across several repositories | All twelve, with every access decision enforced outside the agent |
The mapping in the last column is my reading, not part of the draft. The principle behind it is theirs and it is worth quoting to a partner: at level 3 the agent’s plans must not become its permissions. If a team tells you its agents work unattended overnight, ask where the permission decision is made. If the answer is “the agent is instructed not to”, that is a guardrail and not a boundary.
Ask which level your project runs at today and which level the partner intends to reach in 2027. Many delivery teams moved from level 1 towards level 2 during 2026 because it is where much of the productivity gain is. That is reasonable, provided the controls moved with it.
Where your source code goes: the IP terms to add
Security protects code from attackers. IP protection is about who lawfully holds copies of your code and what they may do with them. AI coding tools have added new holders, and most development contracts written before 2025 do not mention them.
When a developer uses an AI coding tool on your repository, parts of your code leave the machine as prompts. Depending on the tool and its settings, the vendor may keep those prompts and the agent’s traces for a period. Cursor’s November update is a reminder that these stores are real: it reported that coding agent traces were exposed for fewer than 0.05% of users who were not in Privacy Mode, and that fewer than 0.01% of customers had API credentials exposed. The percentages are small. The point for a buyer is that the setting a developer chose months ago decided whether their client’s code was in that store at all.
Seven terms close most of the gap. They belong in the statement of work or a security schedule, not in a general policy.
- Named tools. A list of the AI tools and model providers that may be used on your code, with a rule that additions need your written consent.
- Plan and settings. Business or enterprise plans only, with the privacy or zero-retention mode on and training on your data off, stated per tool.
- Accounts. Company-managed accounts with single sign-on. No personal accounts on client code.
- No cross-client context. Your code, prompts and agent memory are not reused for another client, including through shared instruction files or shared agent memory.
- Ownership of output. AI-assisted output is assigned to you on the same terms as hand-written code, and the partner tells you which significant components were machine-generated if you ask.
- Incident notice. The partner notifies you within a fixed period when one of the named tools discloses an incident, with an initial statement of whether your project was exposed.
- Exit. On termination, your repositories, prompts, traces and agent memories are deleted from the partner’s tools as far as the tool allows, and the partner confirms in writing what could not be deleted.
I am an engineer, not a lawyer, and wording matters here. Have counsel draft the clauses. For the provider side of the same question, see our checklist on AI API data retention and training policies. PoliteTech’s own commitments are set out on our security and IP protection pages.
Ten questions to send your partner this week
These can go in one email. A team that has done the work will answer most of them from existing records within a day or two.
- Which AI coding tools, extensions and tool servers are approved for use on our project, and who approves a new one?
- Did any machine with access to our repositories install Claude Code extension version 2.1.312 or 2.1.313 from Cursor’s marketplace on 29 October 2026? How did you check?
- How long do your editors and package managers wait before installing a newly released version?
- Do your developers run coding agents with approval prompts and sandboxing on? Who is allowed to turn them off, and is that logged?
- Are agent instruction and settings files in our repository covered by mandatory review?
- What credentials for our systems exist on developer machines today, and how long does each stay valid?
- What identity do agents use when they act on our repositories and cloud accounts, and what can that identity not do?
- Which plan and privacy settings apply to each AI tool used on our code, and is our code retained or used for training by any of them?
- If one of those tools announced an incident tomorrow, how many hours until you could tell us whether we were exposed?
- At which level of autonomy do agents work on our project now, and what do you plan for 2027?
Question 2 is deliberately specific. It tests whether the partner tracked a real, recent event and whether they have the inventory to answer. “We do not use Cursor” is a perfectly good answer if they can show it.
Red flags in the answers
- “Our developers choose their own tools.” Choice is fine. No inventory is not. Without a list there is no way to answer question 2 or 9.
- “We told the agent not to.” An instruction to the model is not an access control. Look for a sandbox, a scoped token or a network rule.
- Approvals switched off for speed. Agents running with full access and no prompts on a machine that also holds your production credentials.
- One shared token. A single long-lived access token used by the whole team and by the agents, usually sitting in an environment file.
- Personal accounts. AI tools paid for by individual developers, where the company cannot see settings, history or retention.
- Policy with no log. A well-written AI usage policy and nothing that records what was actually installed or run.
- Silence about October. A team that uses these tools daily and had not heard of the marketplace incident two weeks later is not reading its vendors’ security notices.
One caution in the other direction. A partner who answers by banning AI tools outright has removed the risk and much of the benefit, and you are probably paying for the difference. I would rather see controlled use with evidence than a ban that developers quietly work around. Unapproved use is exactly what the Verizon figures above describe.
A 30-day plan
- Days 1 to 5: ask. Send the ten questions to every team that has access to your code, including freelancers and your own staff. Record the answers in one sheet.
- Days 6 to 12: inventory and exposure. Agree the approved tool list. Close out question 2. Where a machine was exposed to a tampered build, follow the tool vendor’s remediation notice and rotate every credential that machine could reach.
- Days 13 to 20: shorten and scope. Replace long-lived tokens on developer machines with short-lived ones. Create a separate, narrower identity for agent sessions. Turn on the cooldown for extensions and packages.
- Days 21 to 26: review rules and logs. Add code owner rules for instruction and settings files. Confirm that extension installs and agent actions are logged somewhere the developer cannot edit.
- Days 27 to 30: paper. Add the seven IP terms to the next statement of work or a security schedule, and agree the notice period for tool incidents.
Nothing in this plan needs new products. Most of it is configuration and agreement. The work is modest because the controls are mostly known. What was missing until this autumn was a clear reason to apply them to the editor.
If you are choosing a partner now, the same list works as a selection filter alongside delivery quality and price. If you run a dedicated development team with us or are planning AI agent development, these are questions we expect to be asked and are glad to answer in detail.
Frequently asked questions
We do not use AI coding tools ourselves. Does this still apply?
Yes, if anyone who writes or maintains your software does. The exposure sits on the machines that hold your code and credentials, wherever they are. Ask your partner, and ask your own engineers too: unapproved use is common and usually well-meant.
Should we tell our partner to stop using AI coding agents?
In most cases no. A ban gives up productivity you are likely already paying for and tends to push usage out of sight. Controlled use with an approved list, sandboxing, short-lived credentials and logs is the better position, and it is one you can verify.
Is one AI coding tool safer than the others?
The three events described here involved different tools and different weaknesses, and the instruction-file research worked against more than one agent. Choose on features and on enterprise controls such as managed settings, privacy modes and audit logs, then assume any tool can have a bad day and build the twelve controls around it.
Does ISO 27001 or SOC 2 certification cover this?
Partly. Both give a framework for access control, supplier management and incident handling, and a certified partner will have the habits you need. Neither tells you whether coding agents are sandboxed or which extensions are allowed. Treat certification as a good sign and still ask the ten questions.
Who owns code written by an AI agent on our project?
That depends on your contract and on the law that governs it, which varies by country and is still developing. The practical step is to make the assignment of AI-assisted output explicit, as in term 5 above, and to take legal advice on the wording.
Sources and methodology
Guidance reflects PoliteTech’s delivery experience and the public sources below. Incident details are taken from the affected vendor’s own statements and from the named researchers; where a figure comes from press coverage of a report, the entry says so. The twelve controls, the mapping to autonomy levels and the contract terms are the author’s working list and are not a standard or legal advice.
- Cursor: An update on our recent security incident — published 13 November 2026, accessed 19 November 2026. Supports the affected extension versions, the roughly 11-hour availability on 29 October, the figure of at most 5,000 users, the statement that uninstalling alone may not be enough, how the files were placed, the exposure percentages for agent traces and API credentials, and the steps Cursor took.
- Microsoft Security Blog: Inside a malicious Claude Code-branded extension and its persistent SSH backdoor — published 30 October 2026, accessed 19 November 2026. Supports the behaviour of the tampered extension, the finding that environment variable names and not values were sent, Anthropic’s statement, and the advice on approved publishers and an installation cooldown.
- Forever Security: Hijacking AI agents via the Downloads folder — published 22 October 2026, accessed 19 November 2026. Supports the instruction-file technique, the success rates in the researchers’ own tests against OpenAI Codex and Claude Code, and their view that there is nothing for the vendors to patch.
- Microsoft Security Blog: ChainDrop supply chain compromise, anatomy of a self-propagating worm — published 4 August 2026, accessed 19 November 2026. Supports the figure of more than 400 npm packages, execution from an install hook, the credentials collected and the injection of files into Claude and Visual Studio Code configuration paths.
- GitGuardian: The State of Secrets Sprawl 2026 — accessed 19 November 2026. Supports about 29 million new secrets on public GitHub in 2025 (up 34%), the roughly 3.2% leak rate in Claude Code commits, the 81% rise in AI-service leaks to 1,275,105, the 24,008 secrets in tool-server configuration files, the sixfold figure for internal repositories and the 64% of 2022 secrets still not revoked.
- Help Net Security: Verizon 2026 DBIR findings — published 20 May 2026, accessed 19 November 2026. Press coverage of the Verizon 2026 Data Breach Investigations Report. Supports the 60% rise in third-party involvement to nearly half of breaches and the ranking and fourfold increase of unapproved AI use among non-malicious insider actions.
- NIST Cybersecurity Insights: Design Tenets for Agent Identity Management Systems — published 27 October 2026, accessed 19 November 2026. Supports the ten proposed tenets, including distinct agent identity, least and zero standing privilege, short-lived authorization, deterministic access decisions and immutable evidence.
- Agent Baseline: The Secure Software Factory, a reference architecture — version 1 published 13 October 2026 and open for comment, accessed 19 November 2026. Supports the four boundaries, the three levels of autonomy and the principle that an agent’s plans must not become its permissions.
Related reading
Continue your research
Not sure how your code is protected where it is written?
Tell us how your software is built today and which AI tools touch it. We will walk through the twelve controls with you and show how we handle them on our own projects.
