by Bjartr · 1w ago · 0 comments
Except we're talking adults, not children. You shouldn't be picking up random pieces of code and expecting them to be appropriate for your use, then pointing blame at the author when it turns out it wasn't. Especially when the licenses for that code explicitly say they are without warranty. You are not entitled to software maintenance by default.
> But if your projects are used and do get exposed to malicious data, then you do have a responsibility to keep up with security issues as they’re reported.
This is totally crazy. In what world is random code you find lying around not your own responsibility for choosing to use? If you want specific behavior from the maintainer of code, pay them for it. If they're not willing, hire someone who it.
Can we talk about the actual issue at hand instead of whatever this is? You’re not helping the discussion by veering off like this and you’re not helping your own argument either. “A weekend project that got dropped on GitHub is use at your own risk, therefore PHP should ignore the flood of vulnerabilities and just go at their own pace” is not a serious statement.
"NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION."
How about MIT:
"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 THE USE OR OTHER DEALINGS IN THE SOFTWARE."
Just because you wish for random bits of code online to be serious projects for "serious users" does not make that true. Almost the entire problem with the industry is that basically every redistributor is unserious in their usage or inclusion of dependencys, both open source and proprietary; depending on imagined guarantees that literally nobody ever made resulting in our very unserious level of security. If you face the unpleasant reality, it will no longer be a wonder why the industry is having these problems and has been for literal decades.
This is not a targeted knock on OSS. They are being truthful about their guarantees and they are, generally speaking, not targeting lay consumers or being personally enriched providing unfit products to lay consumers.
The problem is with everybody wrapping up software that is not fit for purpose and selling it to unsuspecting customers and then claiming their suppliers have a “professional, ethical responsibility” for things the suppliers never agreed to for free because it lines the wrappers pockets.
It is the problem of the people wrapping it up for purposes it was never designed for that need to bridge that gap as it is in literally every other industry.
I agree that dependencies are often taken far beyond what they should be. But I don’t see that as central to the issue. Some dependencies are inevitable. If those dependencies are open source then they’re going to have some variant of your quoted disclaimer and no explicit guarantee that they have any particular security posture. Even if they aren’t* open source, they probably have something like that in their license agreement. Is the expectation that either I give up on security, or I get custom agreements for (or directly maintain) every part of my software stack from the hypervisor on down?
It seems like your attitude is either incompatible with software existing on networks, or incompatible with collaboration and open source. I doubt that’s what you mean but I don’t see how you envision this working.
That is how it works in literally every other commercial field. Only software companys have wiggled out of the standard legal obligations every other commercial entity is subject to.
You are arguing that it is acceptable for companys to abdicate their responsibility to their customers because they chose to use systems unfit for purpose. That is the status quo, and that is what is wrong with the field that has gotten us all into this mess. The systems being deployed right now are unfit for existing on networks and have been unfit for existing on networks for literal decades.
To their credit, OSS has been saying that in gigantic, big bold text the entire time. It is the greedy assholes ignoring that to make a buck and then complaining about the consequences of their own actions that are at fault. “I can not make money if I have to do it right” is not and has not ever been a excuse even if the world has not caught up to it yet.
If a organization includes software that is not fit for purpose and they do not take responsibility for it, then they are not “serious”. But at least they have company because this industry is almost entirely filled with and run by unserious people.
>“A weekend project that got dropped on GitHub is use at your own risk, therefore PHP should ignore the flood of vulnerabilities and just go at their own pace” is not a serious statement.
Good thing I didn't say anything to that effect.
Though, for what it's worth, if the PHP project maintainers did go "we aren't going to keep up with security anymore". That's 100% up to them. That they did what they did in the past does not entitle the world to their work forever. If a project you rely on changes its stance in a way problematic for you. Stop using it. If that kind of change potentially happening is problematic for you, negotiate an actual contract with the author, vendor it into your project and fix it on your own schedule, or build it entirely yourself.