News for hackers. Stuff that matters.
Re:Electron apps cannot be submitted to the Apple store by geofft on Sunday November 03, 2019 @09:12PM (#21438409)
As an end user, can I just say how uncomfortable I am at the idea that some app on the App Store includes some node.js dependency where the app developer has no idea what's in it? What if it's event-stream?

If you're sending me code to run on my computer—especially if I'm paying for it—you either need to have glanced at the code yourself or have some reason to trust what's in there (it's from a company you have a business relationship with, it's a major library from a known author that other apps on the store are also using, etc.). Otherwise you're being irresponsible. If you don't have the time to look at the library, don't use it.

Re:Electron apps cannot be submitted to the Apple store by lostmyoldone on Monday November 04, 2019 @12:05AM (#21439179)
I'm a developer, and knowing how this is the default is not something I particularly like, but it's really only in the most security/mission critical code that dependencies get thoroughly wetted.

You can fully expect that less then 1% of the apps in any app store has a transitive dependency chain that is fully known and understood by the author to any meaningful extent.

Most of that code is however understood by someone, although not necessarily the app developer. The sandboxing and app permission dialogue boxes are unfortunately a critical part of the defense against malicious code, although not a perfect one by any stretch of the imagination.

Re:Electron apps cannot be submitted to the Apple store by tracker1 on Sunday November 03, 2019 @11:03PM (#21438945)
So never run Linux?
Re:Electron apps cannot be submitted to the Apple store by geofft on Monday November 04, 2019 @05:39AM (#21440400)
I get Linux from people I trust to verify source code and the source code of dependencies and to push back against dependency sprawl (Debian, in my case, and I'm on debian-devel and I happen to see every email sent for every new package; there's an overhead there). Others get Linux from a vendor they have a commercial relationship with (Red Hat, Canonical, even Oracle, etc.)

So, can you expand on why you think one should never run Linux?

Re:Electron apps cannot be submitted to the Apple store by rmgraham on Monday November 04, 2019 @12:44AM (#21439303)
Or only run Linux? *

* (any source available OS)

Re:Electron apps cannot be submitted to the Apple store by tracker1 on Monday November 04, 2019 @01:59AM (#21439500)
GP says not to run anything you haven't looked at yourself for the most part, paraphrasing. I doubt anyone has self audited all the software and drivers going into a desktop Linux distro.

The point is, at some point you stop digging

Re:Electron apps cannot be submitted to the Apple store by geofft on Monday November 04, 2019 @05:42AM (#21440414)
> GP says not to run anything you haven't looked at yourself for the most part, paraphrasing.

That is a highly inaccurate paraphrase of what I said. You can tell it's inaccurate because I'm specifically suggesting that end users should be able to trust apps on the App Store without auditing the apps ourselves, as long as we trust the app authors, and that app authors should bear responsibility for what they redistribute.

Re:Electron apps cannot be submitted to the Apple store by de_watcher on Monday November 04, 2019 @03:03AM (#21439733)
Desktop Linux distros have package maintainers and companies behind them like RedHat or Canonical.
Re:Electron apps cannot be submitted to the Apple store by toast0 on Monday November 04, 2019 @03:19AM (#21439817)
GP says not to publish anything you haven't looked at (or OKed by appeal to authority). Publishing should be a higher standard than running.