4 ms·
How to Infect Your PC in Three Easy Steps
- hulitu 2y ago> Step 3 — pressing the “Enter” key — causes Windows to download and launch malicious code through “mshta.exe,” a Windows program designed to run Microsoft HTML application files. So what ? It works as intended. /s
- 63stack 2y agoHow does the website put the command in your clipboard? I thought js does not have the ability to modify your clipboard?
- valicord 2y agohttps://developer.mozilla.org/en-US/docs/Web/API/Clipboard/writeText https://developer.mozilla.org/en-US/docs/Web/API/Clipboard/w...
- snvzz 2y agoAbsolute madness. Whoever thought this was a good idea.
- extraduder_ire 2y agoThere's a bunch of javascript webapps that won't let you even select text on screen, meaning this is the only way to get it into your clipboard. I had to use developer tools for years before firefox supported the clipboard API.
- CamperBob2 2y agoA machine that cannot be abused is unlikely to be useful for anything else. In this case, almost every time I work with LLMs I need to use the clipboard to transfer data.
- snvzz 2y agoThere are ways to do this which do not involve giving any random website full reign over your clipboard.
- 63stack 2y agoThere is already a well known way of using your clipboard (C-c, C-v), what is so special about LLMs that makes this unusable?
- antonvs 2y agoThat involves at least three steps - select the element in question, highlight all the text (which may not always be as simple as pressing Ctrl-A), then press Ctrl-V. A click to copy button is one convenient step. LLMs are no more special than sites like GitHub and many others, which all provide this feature.
- atoav 2y agoWell there are some applications where it makes sense, e.g. code blocks thst you want to copy when users click on the copy button. Whether that is worth it is another question.
- TZubiri 2y agoHow would you do a click to copy button then?
- snvzz 2y agoWith explicit authorization for the site or even the specific script to be able to write on your clipboard.
- 63stack 2y agoI'm sorry for the snarky response, but: You don't. If your app needs to do that, you instruct the user to select the text, and press C-c. We should not allow crap like this because they are too dumb to understand these instructions, or because your app is so special it just needs to do this on a click.
- antonvs 2y agoWho's "we"? I'm a software developer and I use click to copy buttons on websites all the time. Sites like GitHub, ChatGpt, and many more all have them, because they're useful. They're not "special", quite the opposite - this is a ubiquitous and useful feature. It certainly could make sense to have a security setting that allows this capability to be controlled, in the same sort of way as allowing sites to access your geographic location. But simply saying "we should not allow" it is unrealistic and, frankly, pretty silly.
- TZubiri 2y agoI'm not against that. Maybe a safe browswer mode (incognito) where this is disabled. Devs can polyfill to a popup that says (pleasue use ctrl c or right click copy.)
- antonvs 2y agoCopy to clipboard buttons are ubiquitous in modern webapps. GitHub, AI models UIs like ChatGPT's, or any other site that displays code all have them.
- ale42 2y ago> Organizations that wish to do so can take advantage of Microsoft Group Policy > restrictions to prevent Windows from executing the “run” command when users hit > the Windows key and the “R” key simultaneously. What about rather disabling copy-to-clipboard in the browsers with a GPO? Does this exist? Personally I use Windows+R dozens of times per day (and not to paste random commands from web sites...)
- jerlam 2y agoLooks like there's a GPO setting to disable all Windows key shortcuts. If I was still on Windows, I would probably be using Win+R often because search is so slow and regularly can't find what I'm looking for.
- netsharc 2y agoAn actual co-piloting "Copilot" that stops the computer operator from crashing the computer would be an interesting idea... The scammers should tell the victims to press Shift-Ins, which is more obscure than Ctrl-V. Then again, people who'd fall for this might have difficulty finding the Ins key...
- antonvs 2y ago> The scammers should tell the victims to press Shift-Ins, which is more obscure than Ctrl-V. Maybe it's changed, but when I used to use Windows it was the other way around. Shift-Ins comes from the IBM Common User Access standard, which Microsoft adopted in its Windows Interface Guidelines, which later became its UX guidelines. Ctrl-C / Ctrl-V apparently originated with the Apple Lisa, and was carried over to the Mac, so I guess would have been more familiar to people in the Apple ecosystem originally.
- ThunderSizzle 2y agoThis appears to me to be an education problem, not a policy or permission problem.