Join our Newsletter — 33% off our NHI Course

Clipboard Hijacker

A clipboard hijacker is malware that monitors copied text and substitutes attacker-chosen content before it is pasted. In financial or crypto workflows, that can redirect transfers without any network exfiltration, making the attack hard to detect with perimeter-only controls.

Expanded Definition

A clipboard hijacker is a form of malware that intercepts copied content and replaces it with attacker-controlled text at paste time. In NHI security, that matters because the target is often a secret, wallet address, API endpoint, or command string rather than a human password.

The term is sometimes used narrowly for crypto address swaps, but the broader pattern also applies to operational workflows where an AI agent, service operator, or developer copies a credential into a terminal or portal. No single standard governs this yet, so definitions vary across vendors and incident reports. For control design, the important distinction is that the payload changes in memory or at the clipboard layer without requiring obvious exfiltration, which makes perimeter monitoring weak by itself. Guidance from NIST SP 800-53 Rev 5 Security and Privacy Controls is useful here because it reinforces layered protection around privileged workflows, logging, and malware resistance rather than assuming that endpoint copy and paste is benign.

The most common misapplication is treating clipboard hijacking as only a crypto scam, which occurs when teams ignore terminals, admin consoles, and agent-run workflows that also move sensitive text through the clipboard.

Examples and Use Cases

Implementing defenses against clipboard hijacking rigorously often introduces workflow friction, requiring organisations to weigh faster copy-paste operations against stronger validation and endpoint hardening.

  • A finance analyst copies a wallet address from an invoice, but malware swaps it for an attacker address before the transaction is submitted.
  • A developer pastes a short-lived token into a shell, unaware that the clipboard contents were replaced with a malicious command or different secret value.
  • An operator uses an AI assistant or automation console to move an API key between systems, and the copied value is silently altered in the local session.
  • A security team investigates a suspicious transfer pattern after reading a related incident pattern in Gemini CLI Breach — Silent Code Execution, where local execution trust and clipboard-adjacent abuse become operationally relevant.
  • Administrators use validated paste workflows for critical changes, pairing endpoint controls with the identity assurance expectations outlined in NIST SP 800-53 Rev 5 Security and Privacy Controls.

In practice, the term is most useful when describing last-mile manipulation of high-value text rather than broad phishing or general malware activity.

Why It Matters in NHI Security

Clipboard hijacking is especially dangerous in NHI environments because many of the most valuable objects are copy-pasted strings: service account tokens, API keys, certificate material, and signing values. When those values are altered locally, the compromise can bypass network inspection, secret scanning, and even some transaction review processes.

This is one reason NHIMG emphasizes that secrets management cannot be treated as a narrow vault problem. According to NHI Mgmt Group, 79% of organisations have experienced secrets leaks, with 77% of those incidents resulting in tangible damage. That statistic fits clipboard hijacking well because the attack often creates a secrets event without an obvious exfiltration trail. It also aligns with the reality that 96% of organisations store secrets outside of secrets managers in vulnerable locations, increasing opportunities for local manipulation.

Clipboard hijacking becomes operationally unavoidable after an unexpected transfer, failed deployment, or unauthorized secret use reveals that the wrong value was pasted, at which point the source device and the copy path must be investigated together.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST CSF 2.0, NIST SP 800-63, NIST Zero Trust (SP 800-207) and NIST AI RMF set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
OWASP Non-Human Identity Top 10 NHI-02 Clipboard hijacking often targets exposed secrets and copied credentials.
NIST CSF 2.0 PR.AC Access control and privilege hygiene limit the impact of altered copied secrets.
NIST SP 800-63 IAL2 Identity assurance matters when copied values are used to authenticate systems or operators.
NIST Zero Trust (SP 800-207) Section 3.1 Zero Trust reduces reliance on trusted local endpoints and unverified input paths.
NIST AI RMF AI systems that copy or paste operational values need risk controls for manipulation.

Assess clipboard-driven agent workflows for misuse, integrity loss, and unsafe actions.