You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
memory_export/memory_import accept arbitrary paths outside the memory root #24
Found by the 2026-10-21 security review (SECURITY-REVIEW-2026-10-21.md, finding F8).
memory_exportBun.writes to any path the caller names (parent dirs auto-created) — e.g. file: "~/.zshrc" or ~/.gitconfig; memory_import reads any path. A steered model only needs the path: export content carries memory text (partially attacker-influenced), and import reflection (counts, blocked-row reasons, viewer visibility) is a slow read/exfil channel.
Fix direction (P1): resolve (realpath) and require export targets under <memoryRoot>/exports and import targets under memoryRoot(); reject otherwise with a message pointing at the default location. Same containment pattern as #21.
Activity
chore: drop the security review doc from this branch
fix(security): confine export/import paths to the store (#24)
fix(security): confine export/import paths to the store (#24)
fix(security): confine export/import paths to the store (#24)
Merge pull request #145 from abogartz/fix/24-export-import-containment
chore(release): 0.14.11 [skip ci]
abogartz-opencode-self-improvement commentedon Oct 27, 2026
🎉 This issue has been resolved in version 0.14.11 🎉
The release is available on:
Your semantic-release bot 📦🚀