An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
Commits on master
:lock: Add boxID to blockIAL/docIAL cache keys, update key callers (transaction/heading/blockial) to use InBox variants, skip bare key fallback for encrypted DynamicRefTexts, cleanup on LockBox/LockAllBoxes https://github.com/siyuan-note/siyuan/issues/18034
0138fd1 Daniel committed 4 months ago
:lock: Add boxID to tree cache key (boxID+"\x00"+rootID) to prevent cross-box cache collision, update filesys/tree.go readers/writers to use InBox variants, fix WebDAV path parsing with structured segments https://github.com/siyuan-note/siyuan/issues/18034
41e9321 Daniel committed 4 months ago
:lock: Reject temp/ paths in WebDAV to prevent accessing decrypted temp files, check actual boxID encryption in docIAL before moveCorruptedData to prevent encrypted file deletion via path traversal https://github.com/siyuan-note/siyuan/issues/18034
d132ed7 Daniel committed 4 months ago
:bug: Support decrypt-and-copy for encrypted assets in copyFile when dest is outside workspace, fix iOS URL encoding preserving ?box= query parameter https://github.com/siyuan-note/siyuan/issues/18034
cb61648 Daniel committed 4 months ago
:lock: Clean up TempDir/export/repo on LockBox and TempDir/export on LockAllBoxes to prevent accessing exported decrypted files after locking https://github.com/siyuan-note/siyuan/issues/18034
88658d7 Daniel committed 4 months ago
:lock: Extend decryptRepoDataIfNeeded to handle assets (DecryptAsset) and AVs (DecryptAVData) by path type, fail-closed ExportRepoFile when encrypted notebook is locked https://github.com/siyuan-note/siyuan/issues/18034
8b13eff Daniel committed 4 months ago
:lock: Clean up decrypted repo temp files on LockBox (diff/rollback/sync/conflicts), add defer Remove for rollback and conflict temp files, check box lock on /repo/diff route, add repo to ClearTempFiles https://github.com/siyuan-note/siyuan/issues/18034
4e575cb Daniel committed 4 months ago
:bug: Allow leading slash in ValidateBoxRelativePath for block tree DB paths, skip validation for Ls empty/root paths https://github.com/siyuan-note/siyuan/issues/18034
d6ec84c Daniel committed 4 months ago
:bug: Revert resolveAssetPath encrypted asset temp decryption, reject with unlock prompt instead (temp file would persist until manual cleanup) https://github.com/siyuan-note/siyuan/issues/18034
434eba6 Daniel committed 4 months ago
:bug: Add validateHistoryPath to prevent path traversal in RollbackDocHistory/RollbackAssetsHistory/RollbackNotebookHistory/RollbackAttributeViewHistory, reject paths outside workspace and history directory https://github.com/siyuan-note/siyuan/issues/18034
5d3e3a6 Daniel committed 4 months ago
:lock: Validate workspace path with Abs/IsWorkspaceDir/ReadWorkspacePaths before RemoveAll in removeWorkspaceDirPhysically, reject current workspace and unregistered paths https://github.com/siyuan-note/siyuan/issues/18034
d72dc15 Daniel committed 4 months ago
:lock: Add Box.validateBoxPath to prevent path traversal across notebooks via listDocsByPath and all Box file operations (Ls/Stat/Exist/Mkdir/MkdirAll/Move/Remove/docIAL) https://github.com/siyuan-note/siyuan/issues/18034
ea8f16a Daniel committed 4 months ago
:lock: Add ValidateBoxRelativePath to prevent path traversal across notebooks in filesys tree read/write, reject ../ and absolute paths in listDocTree API https://github.com/siyuan-note/siyuan/issues/18034
dd0685e Daniel committed 4 months ago
:bug: Fix doAppend cross-boundary guard to use SkipTx + PushMsg instead of BlockNotFound to avoid state error popup https://github.com/siyuan-note/siyuan/issues/18034
f9d890c Daniel committed 4 months ago
:bug: Decrypt encrypted asset to temp file in resolveAssetPath when box unlocked, only prompt unlock when locked https://github.com/siyuan-note/siyuan/issues/18034
234e259 Daniel committed 4 months ago
:bug: Fix AAD path normalization (strip leading slash) to prevent cipher authentication failure, preserve original boxID for history rollback decryption when getRollbackBox creates new box https://github.com/siyuan-note/siyuan/issues/18034
5681cc0 Daniel committed 4 months ago
:bug: Fix folded heading child blocks still visible after undo unfold https://github.com/siyuan-note/siyuan/issues/18176
ac808d5 Daniel committed 4 months ago
:lock: Sanitize AV template cell with DOMPurify and escape URL/rollup cell values to prevent XSS via innerHTML injection https://github.com/siyuan-note/siyuan/security/advisories/GHSA-pw5c-qhf3-jhwh
a3f8bef Daniel committed 4 months ago
:lock: Escape tab icon and validate siyuan://plugins icon param to prevent XSS/RCE via innerHTML injection in tab header
85dda3f Daniel committed 4 months ago
:lock: https://github.com/siyuan-note/siyuan/security/advisories/GHSA-gw25-m53r-qh88
c037b0d Daniel committed 4 months ago