Skip to content

bug(input): native paste can attach unrequested desktop clipboard images #2

Open

Description

@Juliusolsson05

Expected

Programmatic text delivery should not add unrelated desktop clipboard content to the supplied prompt.

Observed

On Grok1.0.25, a text-only loopback fixture run observed altered text and an image in the native user-message updates. No image was supplied by the caller. Isolated HOME/GROK_HOME did not isolate the OS clipboard. The temporary session was removed; no unexpected payload was published or sent to a real inference backend.

Public source independently shows eligible bracketed pastes probing clipboard attachments. GROK_CLIPBOARD_NO_NATIVE_READ only changes the backend and can fall back to osascript; contextual-hints disabling does not disable paste-triggered probes. Raw multiline key bursts can also be coalesced into paste.

Direction

Use the user-approved native ACP control bridge for automated text and session MCP while retaining the native TUI. An isolated installed-binary probe now verifies literal multiline/tab-bearing text with zero images, TUI replay/live output, per-session MCP calls and native permission cancellation. Production lifecycle/control-client implementation remains pending.

Do not fix this with padding, terminal-brand spoofing, OS clipboard mutation, or a guessed off switch. Keep PR#1 draft until the text-delivery contract is corrected.

Refs Juliusolsson05/agent-code#832
Related app design/implementation: Juliusolsson05/agent-code#844

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions