AI system security vulnerabilities and attacks

Give an AI system the ability to read messages from strangers and to act on what it reads, and the messages can become part of your attack surface.

OFFICIAL MIT NAME AND DEFINITION

2.2 AI system security vulnerabilities and attacks (domain 2, Privacy & Security)

“Vulnerabilities in AI systems, software development toolchains, and hardware that can be exploited, resulting in unauthorized access, data and privacy breaches, or system manipulation causing unsafe outputs or behavior.”

Source: https://airisk.mit.edu/risks (Domain Taxonomy table, checked 19 November 2026).

From Frontier to Front Office — AI Risk Translated is a personal project by Maguelonne de Brugiere and Martin Radzaj. Each page takes one risk from the MIT AI Risk Repository, a public database of more than 1,700 AI risks, and uses a real case to show what it means for legal practice and governance.

MIT subdomain 2.2 covers weaknesses in AI systems, the tools used to build them and their hardware that can be exploited to gain unauthorised access, leak data or make the system behave unsafely.

What happened at Cline, the maker of an AI coding tool, is a useful example.

Cline set up an AI agent to sort through bug reports sent in by the public. Anyone could send one, and the agent could run commands on the machine handling them. So instructions hidden inside a bug report could be carried out as commands, and from there, an attacker could reach the keys Cline uses to publish its software to the public library that developers download it from.

A researcher warned Cline privately on 1 January 2026 and received no substantive response. When he went public on 9 February, Cline removed the agent within 30 minutes and began cancelling the exposed keys, but it cancelled the wrong one. The dashboard of npm, the public software store Cline publishes to, then showed no active keys because it did not list the exposed one, so the problem looked fixed. It wasn’t.

On 17 February, someone outside the company used the still-live key to publish a version of Cline’s command-line tool on npm under Cline’s name. Cline’s VS Code extension was not affected. Cline says it added a step that installed another program users had not asked for, contained no malicious code and exposed no user data. Even so, software went out to developers under a company’s name without the company publishing it.

The harm was limited. The control failure was not.

At model level, instructions and content arrive as the same thing: text. Model providers are working on this, and models are now trained to rank their operator’s instructions above text they are merely reading. That genuinely helps. But it is a learned tendency rather than a permission boundary, and an attacker only needs it to fail once.

At provider level, how much an agent can do out of the box is a product decision, made generously, long before it reaches your procurement process.

At deployer level, all three conditions are yours to set. What it reads, what it reaches, what it may do, and whether anyone verifies that a control did what the dashboard said.

Practical steps:

  • Ask vendors what the tool can reach and what it can do. Their answers inform your assessment, but they are not your control.
  • For each AI tool, consider what it reads, what it can reach inside the business, and what it can do outside it.
  • If all three are present, take one away. The easiest is usually the third: let it draft rather than send, propose rather than publish, flag rather than pay.
  • Keep the systems that read outside content away from those that can pay, publish, delete or deploy.
  • Use short-lived, narrow credentials, and check that cancelling one actually worked.

Prompt injection becomes much more than a chatbot problem when the chatbot has permissions.