> [please don't] make it seem like it's their fault, it's not. it's todesktop's fault if anything What?! It's not some kind of joke. This could _already_ literally kill people, stole money and ruin lives. It isn't even an option to avoid taking reaponsibility for the decisions which lead to security and safety of users for any app owner/author. It's as simple as this: no safety record to 3rd party - no trust, for sur…
The problem is that this entire sclerotic industry is so allergic to accountability, that, if you want people to start, you probably have to fire 90% of the workforce. If it were up to me, the developers responsible for this would never write software "professionally" again.
How to gain code execution on hundreds of millions of people and popular apps
211–220 of 350 posts
Re: How to gain code execution on hundreds of millions of people and popular apps
#212Earlier quoted context omitted.
Isn't it really common for build machines to have outbound internet access? Millions of developers use GitHub Actions for building artifacts and the public runners definitely have outbound internet access
Indeed, you can indeed punch out from an actions runner. Such a thing is probably against GitHub's ToS, but I've heard from my third cousin twice removed that his friend once ssh'ed out from an action to a bastion host, then used port forwarding to get herself a shell on the runner in order to debug a failing build.
Re: How to gain code execution on hundreds of millions of people and popular apps
#213Earlier quoted context omitted.
That's what a bad manager would do. The employee made a mistake and you just paid for them to learn about it. Why would you fire someone you just educated?
[flagged]
Nobody gets fired: learning opportunity for next time, but little direct incentive to improve.
Fire someone: accountability theater (who is really responsible), loss of knowledge.
AFAIK, blameless postmortems and a focus on mechanisms to prevent repeats seems like the best we’ve come up with?
Re: How to gain code execution on hundreds of millions of people and popular apps
#214Earlier quoted context omitted.
This is actually precisely how package management works in Linux today... you release new versions, package maintainers package and release them, while ensuring they actually work. This is a solve problem, it's just that nobody writing JavaScript is old enough to realize it's an option.
And that's why I said "apart for Linux". Where are the package maintainers on the OSes everyone uses ? (and don't think that's sarcasm, I'm writing this comment on my linux desktop).
Re: How to gain code execution on hundreds of millions of people and popular apps
#215Earlier quoted context omitted.
How about we don't build an auto-updater? Maybe some apps require an extremely tight coupling with a server, but we should try our best to release complete software to users that will work as close to forever as possible. Touching files on a user's system should be treated as a rare special occurrence. If a server is involved with the app, build a stable interface and think long and hard about every change. Meticulou…
Sounds like you come from the B2B, consultancyware or 6÷ figure/year license world. For the vast realm of all your suggestions are completely unviable.
Re: How to gain code execution on hundreds of millions of people and popular apps
#216Earlier quoted context omitted.
it blows me away that this is even a product. it's like a half day of dev time, and they don’t appear to have over-engineered it or even done basic things given the exploit here.
Software developers don't actually write software anymore, they glue together VC-funded security nightmares every 1-3 years, before moving on to the next thing. This goes on and on until society collapses under its own weight.
Re: How to gain code execution on hundreds of millions of people and popular apps
#217Dave here, founder of ToDesktop. I've shared a write-up: https://www.todesktop.com/blog/posts/security-incident-at-to... This vulnerability was genuinely embarrassing, and I'm sorry we let it happen. After thorough internal and third-party audits, we've fundamentally restructured our security practices to ensure this scenario can't recur. Full details are covered in the linked write-up. Special thanks to Eva for resp…
Re: How to gain code execution on hundreds of millions of people and popular apps
#218I’d like to see some thoughts on where we go from here. Is there a way we can keep end users protected even despite potential compromise of services like ToDesktop? (eg: companies still hosting some kind of integrity checking service themselves and the download is verified against that… likely there’s smarter ideas) The user experience of auto-update is great, but having a single fatal link in the chain seems worryin…
Re: How to gain code execution on hundreds of millions of people and popular apps
#219Re: How to gain code execution on hundreds of millions of people and popular apps
#220As an Electron maintainer, I'll re-iterate a warning I've told many people before: Your auto-updater and the underlying code-signing and notarization mechanisms are sacred . The recovery mechanisms for the entire system are extremely painful and often require embarrassing emails to customers. A compromised code-sign certificate is close to the top of my personal nightmares. Dave and toDesktop have build a product tha…