TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Don't copy-paste commands from webpages – you can get hacked

17 pointsby purplesnowflakeover 3 years ago

2 comments

throwaway324klover 3 years ago
I tried the example on the linked PoC page...it didn&#x27;t work. I literally got what it showed visually, no newlines or other unexpected stuff: sudo apt update<p>Watched console while doing it, and didn&#x27;t see anything at all (was expecting some js error or something).<p>For those that are wondering...Firefox 95.0.2 on Windows 10
pontifierover 3 years ago
I hadn&#x27;t really thought about the possibility of malicious contents being written to a clipboard after the fact. There goes another item on the huge pile of things that might seem ok on the surface, but can completely F you.