Skip to content

Remote code execution warning for SSE MCP server #1085

@grll

Description

@grll

Hi there,

Just raising your attention to a very valid point raised yesterday by @arryon on the mcpadapt repository: grll/mcpadapt#19

In particular the current implementation of the mcpadapt SmolagentsAdapter is vulnerable to remote code execution from malicious remote MCP server (via SSE).

We have added a warning message on the mcpadapt readme, we might want to do the same in the doc here. A new implementation is currently being tested which should fix the vulnerability.

In the meantime but also after the fix, always be careful and make sure you trust the MCP server you are using:

  • over stdio it will execute some code on your machine no matter what. (that's how it works)
  • over SSE today it could run some malicious code on your machine, after the fix it won't be able to do that anymore.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions