Urgent.News

What's breaking now, across thousands of outlets.

Tech

How do you red team MCP agents?

Red teaming MCP agents: the core idea Red teaming MCP agents comes down to one idea: attack your own agent through its tools before someone else does. Most MCP security testing checks OAuth, tokens and transport. That work matters, but it does not show whether your agent will follow a hidden instruction planted in a tool description, a changed tool or a tool's output. Server layer vs model layer…

MCP red teaming aims to attack your own agent through its own tools before others do. While existing testing covers OAuth, tokens and transport, it fails to reveal if the agent follows hidden instructions. MCP security has two layers: server and model. The server layer checks server correctness while the model layer examines the agent's behavior after reading tool descriptions or outputs.

Most teams overlook the model layer. Four MCP attacks to test include tool poisoning, hidden instructions, rug pulls, and tool shadowing. Tool poisoning involves hidden instructions in a tool's description, rug pulls where tools change after approval, and tool shadowing where one MCP server changes how another server's tools are used.

Poisoned tool outputs return incorrect data, a method used by Invariant Labs to hijack the GitHub MCP server and leak data from private repositories. The 7-step MCP red team process involves running tests in staging, mapping servers and tools, recording baselines, planting poisoned descriptions, simulating rug pulls, testing cross-server shadowing, and injecting instructions into tool outputs.

Every tool call should match the user's request and be visible in the log. A single red flag, such as hidden arguments or unexplained tool calls, is a failed test. Re-run the suite whenever descriptions change, new tools appear, or the model is swapped for a different one.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

DreamHost reset every mailbox password, and could not reach the mailbox owners

DreamHost reset every mailbox password, and could not reach the mailbox owners DreamHost forced password resets for email and FTP/SFTP users after an incident that began with connectivity problems in…

  • DreamHost reset 400K+ email/FTP passwords due to File Manager issues
  • Company blocked access Oct 23, sent recovery instructions over weekend
  • Users advised to check for unrecognized forwarding rules and change reused passwords

Compare salaries and hiring across countries with Glassdoor job data and Python

"What does a data analyst earn in London compared to New York?" sounds like a question with an easy answer. In practice salary data is scattered across reports with different dates, definitions and…

  • Salaries for data analysts vary significantly across London, New York, Berlin, and Bengaluru.
  • Berlin internships listed with €2,470/month (~$29,640/year) but not typical data analyst salaries.

We visited 200 websites from Virginia and from Frankfurt. The US visit got 3x the high-risk tracking.

If you build or run a website, you probably test it from where you sit. For cookie banners and trackers, that means you see one version of your site, and visitors in other countries may see a very…

  • US visit to 200 websites recorded 3x more high-risk tracking than Frankfurt test
  • Frankfurt test showed 4x more third-party cookies than US visit
  • EU visitors face stricter consent rules with cookie banners vs US permissive approach

More from Tuesday 27 October →