An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:memo: Clarify sync storage security boundary
Daniel997f30c2e6a5
diff --git a/.github/SECURITY.md b/.github/SECURITY.mdindex ca309bbb9e..4313e1b8ba 100644--- a/.github/SECURITY.md+++ b/.github/SECURITY.md@@ -11,6 +11,7 @@ Some areas we don't consider security vulnerabilities:* SQL injection* Pandoc Argument Injection: Allowing the setting of `--lua-filter` is a common user need* SSRF: SiYuan supports user-configured network proxies and outbound requests to user-specified URLs. Outbound requests initiated by authenticated users through features such as `netImg2LocalAssets`, `netAssets2LocalAssets`, and MCP tools are expected behavior. This exclusion does not apply to unauthenticated access or authentication/authorization bypasses+* Sync storage tampering: SiYuan treats user-configured sync storage and principals with write access to the sync repository as trusted. Data loss, rollback, or sync corruption caused by a malicious or compromised storage operator or a principal with write access is outside the security boundary. This exclusion does not apply when an attacker can tamper with sync data without storage write access, such as through an authentication/authorization bypass or a transport security failure* `/public/` unauthenticated access: The `/public/` route serves files without authentication because it is designed for public sharing (https://github.com/siyuan-note/siyuan/issues/8593), and users are responsible for the security of files they place in the `data/public/` directoryThank you very much!