Evidence · DiggingBeagle record
ai-memory wiki sync symlink writes escape destination
Primary document inspected for the bounded findings cited by this proposal.
- Source role
- primary disclosure
Evidence record
Claim-level citations (2)
- supportsA temporary symlink bypassed ai-memory wiki destination checks: The ai-memory wiki-sync advisory describes a predictable temporary file being opened without rejecting a symlink, allowing writes outside the intended destination.
Affected versions; Description; Impact; Patches or Mitigation
- supportsA temporary symlink bypassed ai-memory wiki destination checks: The advisory’s remediation uses exclusive temporary-file creation after rejecting unsafe temporary entries. Checking only the final destination cannot prevent truncation through the separate temporary symlink, because the write happens before the final rename.
Details, Verification and Remediation: atomic_write and create_new(true)