v155 · security · clipboard trigger

Clipboard command check

“Press Win+R, paste, Enter to verify you are human.” Copy-paste attacks put a malicious command on the clipboard and talk the victim into running it. On desktop, Chrome’s CLIPBOARD_COPY_API trigger tokenises every page-initiated copy. This tool runs the same tokenizer, ported line by line from ExtractClipboardData() with the default token lists from features.cc, so you can see whether your own docs’ copy buttons look like that pattern.

The tokenizer decides only whether the copy becomes a trigger. It does not decide whether the page is a scam; the server model does that, and its verdict is never visible to the page. Two parts are approximated in JavaScript: IsPossibleURL(), which uses Chromium’s URL fixer and the public-suffix list, and FilePath base-name handling. Their rows are marked “approx.” The sample commands are defanged and point at hosts under IANA-reserved example.com / example.net. Those are real registrable domains, so the endpoint rule still matches; a bare .example TLD would not.

1. Text your page would copy

0 characters

2. What Chromium’s tokenizer extracts

Not tokenised yet.
Tokens after delimiter replacement
#TokenNormalisedCategory
Default token lists (features.cc)

Loaders:

Runners:

Remote runners:

Decoders:

Delimiters replaced by spaces: && || $( | ; ) ` ( { } :: ". Any $(, ) or ` also counts as a runner.

for documentation sites

references