FastGPT
FastGPT copied to clipboard
feat: Python3 Sandbox
提供了一个Python 3运行沙盒环境,能够在代码节点运行Python 3代码。效果如下:
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.
🤖 Generated by deploy action
📦 Preview Image: ghcr.io/labring/fastgpt-pr:3530b374a1beeed433e3981db6ffe32c956e2fdc
感谢你的提交,有几个安全问题需要检查:
- 网络请求(需要禁止
- cpu/内存 限制
- 超时强制终止
- 全局变量/环境变量泄露问题(沙盒里拿到主线程全局数据
- 避免破坏主线程(比如可以 exit 退出主线程)
- 禁止磁盘读写
另外,看起来是装了 py 的环境,是否可以直接和现在的 sandbox 镜像合并。
❌ Rebase test pr failed: Error: Pull request labring/FastGPT#3944 is not created by gru-agent[bot]