Earlier quoted context omitted.
I have a different opinion, but I respect yours; and that's the basis of open source. There's many, many vastly different reasons why people do open source, and partly probably why we haven't "banded together to get paid" so to speak. For me, if I got donations that'd be great, but it'd not create a different sense of responsibility for my work, I'd keep doing exactly the same (unless I was explicitly hired as a cont…
>donations I think there is a big psychological difference (and maybe a legal one?) between accepting donations for something you put up for public access vs. accepting payment for doing work.
Dev corrupts NPM libs 'colors' and 'faker', breaking thousands of apps
621–630 of 1001 posts
Re: Dev corrupts NPM libs 'colors' and 'faker', breaking thousands of apps
#622Earlier quoted context omitted.
malicious is it's own beast that should always be guarded against, but being MIT doesn't give someone the right to be malicious.
"THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR T…
Re: Dev corrupts NPM libs 'colors' and 'faker', breaking thousands of apps
#623Re: Dev corrupts NPM libs 'colors' and 'faker', breaking thousands of apps
#624Earlier quoted context omitted.
GitHub ToS allow terminating accounts for malicious behaviour, which I'd argue that purposefully breaking downstream code is.
That seems like a bit of a shaky ground to stand on for GH. If someone publishes code for themselves, and at no time asks anyone to take it as a dependency, then at a later date they change that code in a way that breaks other people's use of it, do GH then take over the account?
Re: Dev corrupts NPM libs 'colors' and 'faker', breaking thousands of apps
#625Earlier quoted context omitted.
Dependencies are a major attack vector now. Tread carefully with all the supply chain attacks out there, it might not even be the authors doing these. We are entering a dependency attack massive war. Dependencies are a balance but also a sign of weakness of a system in the modern day. There at least needs to be delayed, dependency bot like analysis before you integrate. Even then, they just leave your systems open to…
Crazy what happens when you decide to freeload off a stranger’s code who you have no contract or agreement with whatsoever, beyond a license you must accept to use the software which disclaims any warranty whatsoever, even fitness for any purpose. I have zero sympathy for anyone complaining they were hurt by this. I think Marak is teaching an important and principled lesson here.
What lesson is that?
Re: Dev corrupts NPM libs 'colors' and 'faker', breaking thousands of apps
#626Earlier quoted context omitted.
GitHub ToS allow terminating accounts for malicious behaviour, which I'd argue that purposefully breaking downstream code is.
Why would the developer of any software that comes explicitly without warranty be hold responsible for downstream breakages? It's not as if one could force people to upgrade to newer versions and they can always keep depending on the old releases.
he's not, He's being held responsible for intentionally pushing malware
Re: Dev corrupts NPM libs 'colors' and 'faker', breaking thousands of apps
#627Earlier quoted context omitted.
There are people who think its reasonable to take all the pennies from the "take a penny leave a penny" plate because "that's what it's there for."
I assume you mean "take a penny" = "use the software for free" and "leave a penny" = "contribute back" (money or time). With the plate there's a sign that says both "take" and "leave". In this case there is also a sign (the license) which only says "take". The intent is clear in both. It's further not comparable because taking a literal penny deprives the next person of it, whereas here using the software for free co…
The metaphorical sign does say take and leave, and the take vastly outweighs the leave.
> Again, if he wanted to make money from his software, he should've put it in the license and charged the big users for it.
A developer shouldn't have to ruin the open-source nature of the software to get there.
Maybe if we could invent some standardized almost-open-source license that doesn't terrify companies we could get there, but we can't even seem to define "commercial" in a way that doesn't break everything. Better still it would be nice if we could use social pressure to get companies to donate a small fraction of the money open source saves them.
Re: Dev corrupts NPM libs 'colors' and 'faker', breaking thousands of apps
#628Earlier quoted context omitted.
Use a language where you don't need to pull in 100 dependencies to create a useful application/service.
It's not a language problem. It's a cultural problem. Last I checked create-react-app pulls around 1k transitive dependencies. Can't really blame JS for that, can we?
> I will pay you cash to delete your npm module
Re: Dev corrupts NPM libs 'colors' and 'faker', breaking thousands of apps
#629Here's my $.02: Packages are literally remote code exec vulns in the hands of package authors. At the very least, it takes them under a minute to break your app, simply by deleting their package. Read the article. This is not the first time it's happened, and it's not going to be the last. [0] I write backends (mostly in PHP, although not exclusively), and I release a lot of my code under libre licenses. But I don't…
The problem here is not packages but lack of stdlib and tendency of package writers to have shit ton of further dependencies.
Re: Dev corrupts NPM libs 'colors' and 'faker', breaking thousands of apps
#630Earlier quoted context omitted.
In this case, the developer's behavior was malicious: they intentionally caused damage. This is very different than some good faith change that breaks stuff downstream. Sure, the license says "no warranty". But github can decide that they won't tolerate vandals on their platform. It would be within their right to revert the bad change from the git database they hold, go back to the last good change and lock the devel…
What damage did they cause?