对于插件解耦合的构想 #6884
EterUltimate
started this conversation in
Ideas
对于插件解耦合的构想
#6884
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
💬 [社区探讨] 从 #3210 说起:如何构建更健壮、安全的 AstrBot 插件生态?🛡️🔌
类别 (Category):
General / Ideas / Q&A (建议选择 General 或 Ideas)
大家好,AstrBot 社区的伙伴们!👋
最近我关注到了 Issue #3210 (https://github.com/AstrBotDevs/AstrBot/issues/3210)。这个问题引发了我对我们当前插件生态系统的一些思考。
随着 AstrBot 在社区中的快速普及(目前已拥有 25.8k+ Stars 🌟),越来越多的开发者和用户开始编写、分享和使用自定义插件。这无疑是项目最核心的生命力所在。然而,伴随着插件数量的激增,我们也面临一些挑战:
参考官方文档中提到的最佳实践,我想发起这个讨论,听听大家的想法:
🤔 讨论要点
关于沙箱机制 (Sandbox)
目前 AstrBot 拥有 Agent Sandbox 兜底,但在实际使用中,大家觉得目前的权限隔离是否足够?是否需要更细粒度的权限控制(例如:插件只能访问网络但不能读写本地文件系统)?
插件审核与信任链
社区是否应该建立一个“认证插件列表”或类似的信任机制?还是说我们应该完全依赖开源社区的自我监管(Code Review)?
开发者的责任
作为插件开发者,我们在发布插件时,应该遵循哪些“安全公约”?(例如:明确声明所需权限、不硬编码密钥等)。
针对 [RFC] AstrBot Plugin and Core Isolation Architecture #3210 的具体反馈
如果大家在复现 [RFC] AstrBot Plugin and Core Isolation Architecture #3210 描述的场景时有遇到类似困难,或者已经找到了变通方案(Workaround),欢迎在这里分享!你的经验可能帮助到其他遇到同样问题的人。
Beta Was this translation helpful? Give feedback.
All reactions