Skip to content
This repository was archived by the owner on Jan 30, 2026. It is now read-only.

Commit 4f93a92

Browse files
authored
archive notice
1 parent 5ee2eea commit 4f93a92

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,27 @@
1414
</div>
1515
<br/>
1616

17+
---
18+
19+
# NOTICE
20+
21+
We've decided to retire and archive this project - there's just no safe way to run Python within pyodide safely with reasonable latency.
22+
23+
Instead, we're working hard on [Monty](https://github.com/pydantic/monty) which should solve the usecase we initially intended for `mcp-run-python`, with better security, lower latency, easier install, and better ways to communicate with the OS.
24+
25+
If you want to use this projects code, or otherwise use pyodide to run LLM generated code, feel free to do so.
26+
27+
However be extremely careful about how you sandbox the service and what code you allow to run.
28+
29+
In particular **Python code running in pyodide can run arbitrary javascript** meaning it can do whatever the javascript runtime running pydodie can do, including:
30+
* tainting that runtime to control or alter how code runs on later onvocations
31+
* reading and/or writing to any files that runtime has access to
32+
* OOMing the machine by consuming all memory - deno has no good way limit memory usage
33+
34+
These issues are not problems with Pyodide or Deno - they're behaving as advertised, it's just that those tools were not designed as sandboxes to run untrusted code.
35+
36+
---
37+
1738
Code is executed using [Pyodide](https://pyodide.org) in [Deno](https://deno.com/) and is therefore isolated from
1839
the rest of the operating system.
1940

0 commit comments

Comments
 (0)