News for hackers. Stuff that matters.
Re:Stealing secrets from developers using WebSockets by bitwize on Thursday May 21, 2020 @11:41AM (#23259757)
"In all seriousness, this attack vector is pretty slim. You’ve got to tempt unwitting users to visit your site, and to stay on it while they’re developing JS code."

Wrap the exploit up in a blog post about Rust -- or an article about gut bacteria -- and submit it to Hackernews. Boom, a virtual feast of secrets.

Re:Stealing secrets from developers using WebSockets by spookyuser on Friday May 22, 2020 @01:10AM (#23268838)
Or even better wrap it in a blog post titled: Stealing secrets from developers using WebSockets
Re:Stealing secrets from developers using WebSockets by codazoda on Thursday May 21, 2020 @11:50AM (#23259916)
Exactly. I've got a blog with dozens of technical documents about JS and other topics. That would be an ideal place to harvest this type of information, from developers actively looking for a solution to a particular problem.
Re:Stealing secrets from developers using WebSockets by bryanrasmussen on Thursday May 21, 2020 @02:54PM (#23263210)
So the blog should have articles on how to set up and log into Service X using React! This explains why I see so many of these!
Re:Stealing secrets from developers using WebSockets by earthboundkid on Thursday May 21, 2020 @09:55PM (#23267943)
The average post quality on Proggit has gone down a lot in the last year. It would be funny if this were why.
Re:Stealing secrets from developers using WebSockets by wlesieutre on Thursday May 21, 2020 @06:49PM (#23266476)
Or shotgun it out to the web over a compromised ad network, as has been done with other attacks
Re:Stealing secrets from developers using WebSockets by pheme1 on Thursday May 21, 2020 @12:49PM (#23260886)
Another idea: an online json editor
Re:Stealing secrets from developers using WebSockets by FridgeSeal on Thursday May 21, 2020 @08:06PM (#23267171)
Are these not already phishing sites of some kind?

I used to have some co-workers who would dump json docs containing sensitive information into these sites all the time, and despite showing them how to format stuff in VS Code.

Re:Stealing secrets from developers using WebSockets by slimsag on Thursday May 21, 2020 @08:44PM (#23267483)
Wouldn't be hard to adapt this to be literally one of your VS Code extensions.

https://github.com/microsoft/vscode-extension-samples/blob/m...

Re:Stealing secrets from developers using WebSockets by throwaway2048 on Thursday May 21, 2020 @04:04PM (#23264291)
How many people post on here about having hundreds of tabs open?
Re:Stealing secrets from developers using WebSockets by suzzer99 on Thursday May 21, 2020 @04:51PM (#23265080)
Exactly what I was going to post. At any given time it's about 80% likely SO is going to be open in at least one of my chrome tabs.
Re:Stealing secrets from developers using WebSockets by api on Friday May 22, 2020 @03:10AM (#23269432)
"Gut bacteria influence proficiency at Rust programming."

Could that be the highest voted link in HN history?

Re:Stealing secrets from developers using WebSockets by techbio on Friday May 22, 2020 @03:25AM (#23269507)
Re:Stealing secrets from developers using WebSockets by talmr on Thursday May 21, 2020 @07:10PM (#23266684)
What is stopping facebook, Reddit, or another popular site you have open while you're developing add this kind of thing and get user info? Or am I misunderstanding something?
Re:Stealing secrets from developers using WebSockets by t0astbread on Thursday May 21, 2020 @07:33PM (#23266913)
Theoretically nothing but it'd probably be a PR disaster even for a site like Facebook if people found out it was trying to steal their passwords. (Is that even legal?)
Re:Stealing secrets from developers using WebSockets by gentleman11 on Thursday May 21, 2020 @07:54PM (#23267066)
Would it? They do this sort of thing constantly. Recently Facebook was accused of trying to acquire a malware company to get at user data after iOS security restrictions became tighter. They were also accessing people’s email accounts after requiring their email passwords for login to facebook
Re:Stealing secrets from developers using WebSockets by DreadY2K on Thursday May 21, 2020 @07:40PM (#23266957)
Technically, you only get legal issues if you do anything bad with the stolen passwords, but it'd totally be a PR disaster so they wouldn't do it anyways.
Re:Stealing secrets from developers using WebSockets by whatatita on Friday May 22, 2020 @04:25AM (#23269824)
Since passwords are GDPR protected data, just saving them (and not using them) without consent is at least a breach of GDPR and illegal in most EU member states.
Re:Stealing secrets from developers using WebSockets by bryanrasmussen on Thursday May 21, 2020 @02:53PM (#23263175)
This is only so if the complaint I always see here that people don't read the articles is false though.
Re:Stealing secrets from developers using WebSockets by zwetan on Thursday May 21, 2020 @05:49PM (#23265865)
well that very same attack vector aka "visiting a web site" is what everyone had against Flash

how convenient to consider that "pretty slim" now

Re:Stealing secrets from developers using WebSockets by skoskie on Friday May 22, 2020 @11:58AM (#23273450)
Why would anyone trust that Facebook isn’t already doing things like this?