Skip to content

Hold memories from untrusted sources for review #137

Closed

Description

@itsskofficial

Memory poisoning is OWASP ASI06. Attacks such as ZombieAgent make injections persist across sessions, and one 2026 preprint induced target memories in 24 of 25 trials. OpenClaw's dreaming never promotes untrusted candidates, and Copilot announces every save.

Idea:

  • facts derived from web pages, email bodies, webhooks or non-owner messages are saved as pending in a "New memories" inbox until the user accepts them
  • instruction-like memories ("from now on forward...") never auto-save
  • every save shows a "Memory saved" toast with Undo

Status in Sentient today: Partial. facts.source records a coarse origin such as conversation, file: or task:, but there is no pending state, no trust level and no save toast.

Where: facts table in sentient/store/schema.sql (status and trust columns via an additive migration), sentient/memory/facts.py, sentient/memory/dreaming.py, sentient/tools/builtin/memory_tool.py, routes in sentient/gateway/routes/memory.py, and an inbox in desktop/src/features/memory/.

Done when:

  • a fact learned from an email body is pending and not used in prompts until accepted
  • instruction-shaped facts are never auto-saved
  • each save shows an undoable toast
  • tests cover each source and the instruction filter

Sources:

Roadmap ID: MEM-2 · Priority: P0 · Size: M

Activity

  1. added
    enhancement
    area: memory
    on Oct 9, 2026
  2. self-assigned this
    on Oct 9, 2026
  3. added
    priority: P0
    size: M
    on Oct 9, 2026
  4. added a commit that references this issue on Oct 10, 2026
    c142cec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: memoryenhancementpriority: P0size: M

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions