Safety, Security & Responsible AI·Question 46 of 70Advanced

What security problems appear in a multi-agent system that do not exist with a single agent?

Type it the way you would explain it to an interviewer. A few sentences is enough; you can't break anything.

Model answer: the part to lead with

Multi-agent architectures mostly multiply the trifecta rather than contain it. Four failure modes are genuinely new.

Full worked answer with diagram

Multi-agent architectures mostly multiply the trifecta rather than contain it. Four failure modes are genuinely new.

Injection laundering. Agent A browses the web, reads a poisoned page, summarises it and passes the summary to planner B. B treats the message as trusted because it came from an internal agent. Trust is silently regained at every hop. This is the big one, and it defeats the naive intuition that a research sub-agent is a containment measure. It is only containment if the trust label survives the hop.

Privilege aggregation. Each agent is individually least-privileged, which everyone points at proudly, but if any agent can call any other, the effective permission of the entry point is the union of the whole fleet's tools. Least privilege per node means nothing without a constrained call graph. If you cannot answer "what is the union of tools reachable from this entry point", you do not have a design, you have a topology.

Cascading error and false consensus. Agents confirm each other's hallucinations, and multi-agent review raises confidence without raising accuracy. A critic agent reading the same poisoned context as the actor is not an independent check.

Unbounded delegation. Agents spawning agents is a denial-of-wallet generator, and the loop is harder to spot because no single agent is looping.

The design. Taint tracking, not trust by origin: a message derived from untrusted content carries the taint through every hop, and policy forbids tainted data from reaching a sink. This is the dual-LLM idea generalised to a fleet, and it is the one thing that actually works. Concretely: a directed allowlist for who may call whom, checked outside the model; the privileged planner never reads untrusted content, only typed values; each agent holds its own identity and credentials rather than a shared service account, so the audit log resolves; depth and budget limits per root task; and every real sink (email, HTTP egress, payments, writes) sitting behind a single policy chokepoint that can see taint, rather than scattered across agents where each one enforces its own slightly different rules.

The honest summary: adding agents does not add security. It adds trust boundaries you now have to enforce, and most frameworks give you zero help with that.

Worth sketching. Two versions of the same hop, one where the taint label survives and one where it does not, is the cleanest way to show that a sub-agent is not containment.

flowchart LR
    A["Poisoned web page"] --> B["Research agent A"]
    B -->|"summary, label dropped"| C["Planner B treats it as internal"]
    C --> D["Sink: send, pay, delete"]
    B -->|"summary, taint carried"| E["Policy chokepoint reads the taint"]
    E -->|"tainted value reaching a sink"| F["Blocked"]

What a good answer covers

  • Multi-agent architectures mostly multiply the trifecta rather than contain it
  • Four failure modes are genuinely new
  • Agent A browses the web, reads a poisoned page, summarises it and passes the summary to planner B
  • B treats the message as trusted because it came from an internal agent
  • Trust is silently regained at every hop

Key terms: Injection laundering · Privilege aggregation · Cascading error and false consensus · Unbounded delegation · The design

Interviewer follow-ups to expect

  1. How would you actually implement taint propagation across agent messages in a framework that has no concept of it?

  2. Does a critic or judge agent reading the same context provide any real safety benefit, or is it theatre?

Worked answer from AI-Engineer-Interview-Questions by Om (MIT), reformatted for LLM Prep · answer text last updated 6 November 2026 · scoring and review schedule by LLM Prep