Skip to content

[CRITICAL] Sync doesn't re-validate remote memories #3

Description

@alphaonedev

cmd_sync pulled memories from remote databases without re-validating. A malicious remote DB could inject invalid data (bad timestamps, priority>10, confidence>1.0).

Fix: Added validate::validate_memory() check before all insert/insert_if_newer calls in pull, push, and merge directions. Invalid memories are skipped with warning.

Commit: ca799c0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    criticalCritical security issuefixedIssue has been fixedsecuritySecurity issue

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions