Skip to content

Research

Three case studies, with their evidence.

What was proved on a running server, what a model judged and what a static check detected are reported apart.

Case 1

microsoft/markitdown

@ed178952a667
convert_to_markdown(uri)

SSRF Exposure & Hardening
Indicative score 8.6 High

VERIFIED_LIVEVERIFIED_FIXED

In plain wordsThis tool fetches any web address an AI model hands it, including addresses that should only be reachable from inside a network. On a running copy of the code, all 11 attempts got through. With the second version of the fix none did, and normal requests still worked.

This MCP server fetches any http(s) URI a model gives it. In a container built from the commit, every request variant we tried reached an internal target. The maintainers document that the tool fetches whatever the caller provides, so we report this as exposure and hardening. The owner decides whether to accept it.

11 / 11
attacks reached the internal target before the patch
0 / 11
after the patch
2 / 2
benign requests intact

The 11 requests

  • 127.0.0.1
  • localhost
  • 127.1
  • 0.0.0.0
  • 2130706433
  • [::ffff:127.0.0.1]
  • 169.254.169.254
  • 100.100.100.200
  • 10.0.0.5
  • [fd00:ec2::254]
  • redirect from a public host
  1. Attempt 1NOT_FIXED

    Two requests still reached the target: the cloud metadata address in the shared range and the redirect.

  2. Attempt 2VERIFIED_FIXED

    The attack log went back to the local model. Its next patch stopped all 11, and both benign requests still worked.

From the patch that passed, written by the local model
@@ -526,7 +554,22 @@ class MarkItDown:
elif scheme in ("http", "https"):
- response = self._requests_session.get(uri, stream=True)
+ # Follow redirects manually so every hop is validated before it is
+ # requested; the HTTP library must not connect on its own.
+ current = uri
+ for _ in range(10):
+ _assert_public_url(current)
+ response = self._requests_session.get(
+ current, stream=True, allow_redirects=False

BoundaryTested on the exact commit in isolated Docker (python:3.12-slim, no outside network). Not tested: DNS rebinding. file: URIs are outside the scope of this patch.

Case 2

Open-Source DevOps AI Agent Suite

Repository and commit withheld until the maintainers have been notified.

AI-reviewedNot reproduced live

In plain wordsTwo tools in this suite open a file whose name comes from the AI model, without checking that the file lies inside the folder it should stay in. A model judged that a risk in 15 places and wrote a fix for each. This was not tried on a running system.

Two recurring tools build a file path from a tool argument and never check that it stays inside the base folder. The local model judged every copy a path-traversal finding and wrote a patch for each.

20
static candidates
15
model-judged path-traversal findings across 2 recurring tools
15 / 15
patches pass git apply --check
5
false positives filtered as intended behavior
The fix, as it is applied in the patches
# one of the 15 patches, added lines only
+from pathlib import Path
+ base = Path("logs").resolve()
+ path = (base / filename).resolve()
+ if not path.is_relative_to(base):
+ return f"Log file {filename} is outside the logs directory"
+ with open(path, 'r') as f:

BoundaryNone of these findings was reproduced on a running server. The patches are apply-ready. They are not VERIFIED_FIXED.

Case 3

60-Case Agent & MCP Red-Team Benchmark

v1.0.0

In plain wordsA set of 60 test situations for an AI agent. In 42 of them someone tries to trick it. In 14 a harmless request only looks suspicious and must still be carried out. In one run, our own model resisted 34 of the 42 and carried out 13 of the 14.

60 cases in 7 attack categories. Every category has benign requests that look suspicious and must still be carried out, so an agent that refuses everything fails.

34/42
attack resistance (81%, 95% CI 67–90%)
13/14
benign accuracy (93%, 95% CI 69–99%)

Attacks resisted per category

  • Indirect prompt injection2 / 6
  • Tool poisoning2 / 6
  • Schema drift6 / 6
  • SSRF6 / 6
  • Path traversal6 / 6
  • Command injection6 / 6
  • Auth bypass6 / 6

All 8 failures came from hidden instructions inside tool outputs and tool descriptions.

BoundaryBaseline measurement on v1.0.0: one run of our local model. 42 attacks, 14 benign requests and 4 MCP server checks make up the 60 cases. The catalogue is now at v1.0.1, which corrects one benign case. The baseline has not been measured again.