Skip to main content
MalwarePublished Updated

tcb-web-copy-to-clipboard (npm) · Malicious Code

Affects tcb-web-copy-to-clipboardSource GCVE Database

0

Malicious package : remove tcb-web-copy-to-clipboard and rotate any secrets on hosts that installed it.

Data as of 26 Oct 2026, 16:15 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-12475

What to do

Remove tcb-web-copy-to-clipboard from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npmtcb-web-copy-to-clipboardAffected
  • =20.1.2
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The npm package tcb-web-copy-to-clipboard version 20.1.2 contains malicious code that fetches and executes an attacker-controlled binary at runtime. The package masquerades as a clipboard SDK but downloads an unverified executable from dynamically assembled Cloudflare Workers hosts, saves it under a disguised name in temporary directories, sets executable permissions, and runs it detached. This behavior is hidden behind obfuscated domain assembly and a false telemetry opt-out mechanism. The fetched executable is unrelated to clipboard functionality and poses a security risk.

References

Community reviews

Loading reviews…