Skip to content

Security: xuh-hakana/dsh-code-library

Security

SECURITY.md

Security

权限边界

DSH 插件与用户本人同权限运行:能读写文件、访问网络、执行命令。安装第三方插件前请先看源码,尽量在无密钥、无重要数据的环境试用。

本插件本身:

  • 默认只读写 $DSH_HOME/code-library/(snippets.json 与 CATALOG.md)。
  • 不主动联网,不上传代码或元数据。
  • 写入使用临时文件 + rename;不执行库里的代码,只保存文本。
  • 不保存密钥、token、私人数据是使用约定;发现误存请立即 code_remove。

报告问题

请通过 GitHub Security Advisory 或 issue 报告,不要公开贴出敏感数据:

https://github.com/xuh-hakana/dsh-code-library/security/advisories/new

There aren't any published security advisories