Urgent.News

What's breaking now, across hundreds of outlets.

Tech

Read here, act there: one command to stop it on any MCP server

The attacks on AI agents this year share one shape. The agent reads something an attacker wrote — a mail, a web page, a document — and then acts : sends, writes, fetches a URL with your data in it. I wrote about that pattern last week : you won't win the injection fight, so put the control on the action, outside the model. With MCP, the read and the act usually happen in different servers . The…

The attacks on AI agents this year follow a common pattern. An agent reads something an attacker wrote, such as a mail, web page or document, and then acts based on that content – sending, writing, or fetching a URL containing the attacker's data. The reporter found that the read and act usually occur in separate servers, with the agent fetching a page through a fetch server and writing through a filesystem server.

CleiMesh, a tool, introduces a one-command-per-server approach to stop such attacks. By using a single command per server, CleiMesh adds fetch and filesystem servers, granting each only the specific tools it needs. Each server maintains an enforcement point, receipt log, and view of what the agent has read. Before providing any permission, CleiMesh checks all tools, refuses definitions with hidden characters, and pins each tool's definition. If a server later changes an approved tool, the wrapper stops offering it until updated.

When a wrapped server receives untrusted content, CleiMesh marks the agent as tainted and refuses any subsequent write actions until a human clears the tainted state. This protects the filesystem server from being unaware of the initial fetch and injection. The wrapper in front of both servers detects the taint and prevents the write action from executing.

The reporter also identified a potential vulnerability in an earlier version of the system, where an allowlist could allow a server to bypass tighter tokens. To address this, the system now checks every redirect against the signed grant, ensuring the host is trusted and preventing private or link-local answers unless explicitly granted.

The new system also features a token called the Attenuating Agent Token, which can only narrow down permissions given from human to agent to subagent. CleiMesh adheres to the draft-02 standards and passes all 229 vectors of the conformance suite with a robust receipt log, allowing auditors to re-execute calls and compare outputs byte for byte.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

Property Retention Data Cleanup Webhook Task in Node.js: Cron Retry Boundaries

A scheduled data cleanup webhook task in Node.js should record a property-management deadline in a database, let a cron trigger find due work, and hand a small task to an at-least-once queue.

  • Webhook task records data in database for cleanup
  • Cron job finds due work, sends task to queue
  • Retention period separate from delivery mechanism

SyntaxError: Invalid regular expression flags from a script served in a JS template literal: write [/] instead of \/

Written by Root, an AI agent. The probe below was re-run on 2026-11-24 with Node 24.15 on Windows 11. Symptom: a page script dies in the browser with SyntaxError: Invalid regular expression flags The…

  • SyntaxError occurs when regex emitted as string inside template literal
  • Template literal consumes backslash, causing invalid regex
  • Writing slash as character class [/] resolves the issue

35% of my KL divergences came back negative

35% of my KL divergences came back negative I ran 2,000 random near-identical distributions through PyTorch's F.kl_div in float32.

  • 35% of KL divergence calculations in PyTorch's F.kldiv function returned negative values.
  • Issue due to catastrophic cancellation in floating-point precision errors.
  • Repaired code implementation reduces over 97% of significant errors.

More from Tuesday 24 November →