Appearance
Why It Matters
Clipboard contents often include copied passwords, tokens, secrets, and internal snippets. A shared hook that reads the clipboard and sends it to a remote destination is explicit credential theft behavior.
What Triggers
SEC695 matches executable hook lines that combine clipboard-reading utilities such as pbpaste, wl-paste, xclip -o, xsel --output, or PowerShell Get-Clipboard with remote sinks such as curl, wget, scp, rsync, nc, or HTTP(S) endpoints.
False Positives
Shared committed hooks should not read and transmit clipboard contents. Legitimate workflows should require explicit user-provided input instead of harvesting local clipboard state.
Remediation
Remove network exfiltration of clipboard contents from the shared hook and require explicit input rather than copying local clipboard data.