Re:If it's not fun anymore, you get nothing from maintaining...
by runarberg on Monday November 26, 2018 @07:33PM
(#18538202)
As a user of free software you should always accept the risk that it is maintained by a malicious actor. It is just as likely that the original author will turn malicious. You as a user have the responsibility of auditing all the free software you use.
[ Parent
| on HN ]
Re:If it's not fun anymore, you get nothing from maintaining...
by trickstra on Monday November 26, 2018 @08:20PM
(#18538488)
> It is just as likely that the original author will turn malicious
it absolutely isn't. The original author is a real person, with a twitter account, with a profile photo, with videos of talking at conferences. I accepted the code in my project because such author wouldn't get away with injecting the code with a backdoor. But a random alias that quietly takes over a package I didn't even know was abandoned because the author was too lazy to write "This package is no longer maintained" in the readme? That didn't give me any chance...
Re:If it's not fun anymore, you get nothing from maintaining...
by RSZC on Monday November 26, 2018 @08:36PM
(#18538568)
Depending on the author's reputation isn't much better. Maybe the author uses a weak password and doesn't have 2FA on his npm account. You have absolutely no idea.
Re:If it's not fun anymore, you get nothing from maintaining...
by BeeOnRope on Monday November 26, 2018 @07:56PM
(#18538340)
It is much less likely the original maintainer will turn malicious, especially a trusted member of the community.
Re:If it's not fun anymore, you get nothing from maintaining...
by bendmorris on Monday November 26, 2018 @07:35PM
(#18538219)
People keep casually making this suggestion. In JS this can involve hundreds or thousands of transient dependencies. Have you ever (1) worked on a React app and (2) vetted all of React's 829 dependencies yourself? It's not remotely feasible. The only solution becomes "then don't use React!" - is this the best we can do?
Re:If it's not fun anymore, you get nothing from maintaining...
by RSZC on Monday November 26, 2018 @07:59PM
(#18538357)
React does not have hundreds of dependencies:
└─┬ [email protected]
├─┬ [email protected]
│ └── [email protected]
├── [email protected]
├─┬ [email protected]
│ ├── [email protected] deduped
│ └── [email protected] deduped
└─┬ [email protected]
├── [email protected] deduped
└── [email protected] deduped
Re:If it's not fun anymore, you get nothing from maintaining...
by LeoNatan25 on Tuesday November 27, 2018 @12:36AM
(#18539711)
React Native then. 1200+ last I remember.
Re:If it's not fun anymore, you get nothing from maintaining...
by mannykannot on Tuesday November 27, 2018 @10:33AM
(#18543058)
The point, I think, is that this is the real problem, and while Dominic might have made it harder for the attacker to get this exploit into the wild, there is nothing that he could have done that would have prevented such an outcome.
If one is writing something as security-critical as a Bitcoin wallet, then not using React (and other things with a similarly wide attack surface) is indeed the best you can do. Security is not tolerant of half-assed measures.