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_import: an unsalted repo key lets a file plant an OPEN frontier row in another repo #73
memory_import will land an open row stamped for a repo the file's author merely knows about, because the repo key is an unsalted hash of a public value. Open rows are exempt from ref grounding at the write gate and ride the frontier block, so this is a way to plant privileged-visibility content in someone else's repo with nothing more than their remote URL.
Result: promoted: 1, downgraded: 0, and the row lands as status=open repo=5981a5640bc3 — visible as an open thread to anyone who opens that repo, with the frontier exemption in force.
For contrast, a row with norepo field is safe: appendMemory re-stamps it from the importing session's scope. Only an explicit stamp is honoured verbatim.
Suggested fix
In importMemories / parseRow, ignore repo and repoPath unless they match the current session's scope (repoScopeFor(sid)), i.e. treat a foreign stamp the same as no stamp and let appendMemory stamp the importing repo. That preserves the documented machine-hop workflow (you import your own export in the same repo) while removing the forgery path. A salted key would not fix it — the salt has to survive the export hop, which makes it public too.
Context
Found while reviewing PR #66 (which closes the repo:"global" variant of the same class: a global open row from an import now gets downgraded to settled). Split out because #66 should not be blocked on this.
Activity
fix(inject): give the frontier its own budget and never drop it silently
abogartz-opencode-self-improvement commentedon Oct 24, 2026
🎉 This issue has been resolved in version 0.8.7 🎉
The release is available on:
Your semantic-release bot 📦🚀