Re:The world needs a software bill of materials
by mikepurvis on Sunday March 21, 2021 @08:49AM
(#26530013)
Wouldn't having to advertise your out of date dependencies help to shame companies into upgrading on a reasonable schedule? So that upgrades are actually a priority and not just a thing that happens when literally everything else is already done?
[ Parent
| on HN ]
Re:The world needs a software bill of materials
by sokoloff on Sunday March 21, 2021 @08:54AM
(#26530037)
If that became a problem, companies intending to skirt the disclosure would fork and “maintain” private branches of dependencies such that it couldn’t be determined if they were out of date.
Re:The world needs a software bill of materials
by spacemanmatt on Sunday March 21, 2021 @09:06AM
(#26530091)
True story: They already do. I know one company that forked Ruby, and would likely claim every library they run under it is thereby forked for the sake of reporting.
Re:The world needs a software bill of materials
by TeMPOraL on Sunday March 21, 2021 @10:45AM
(#26530821)
It's a natural next step after pinning versions and keeping all dependencies cached in-house. If the rolling disaster that NPM is taught us anything, is that it's critical to have control over the update process of the code that goes into your product. Not to mention, CI runs faster if you don't have to redownload everything from GitHub on each build :).
(Though then developers don't get a day off when GitHub goes down, as it does every couple months.)
Re:The world needs a software bill of materials
by jacques_chester on Sunday March 21, 2021 @11:23AM
(#26531116)
A good asset graph / asset transparency log / whathaveyou would help a lot. If an SBOM is asserted and timestamped, you can compare assets you download to the earlier assertion to see if they are the same.
When I worked on buildpacks we added something like this. Each buildpack carried a simple BOM of the binaries it referred to and digests for them. When it fetched dependencies it compared the digests and bombed out if there were any mismatches.
This led us to capture far more of our dependency graph than before. It is surprising how many folks will replace binaries in-place without changing version numbers. We also managed to catch bugs in our own CI/CD process.
Re:The world needs a software bill of materials
by mattcwilson on Sunday March 21, 2021 @09:17AM
(#26530168)
Ok, but there would still be some point of contact where an SBOM would show “company X fork of Ruby, company X fork of package Z” etc, right?
And then the choice gets back to how much to trust company X and package Z, weighed against alternative solutions.
Re:The world needs a software bill of materials
by mannykannot on Sunday March 21, 2021 @09:40AM
(#26530347)
Unless penalties for doing so are legislated, they need not claim that the fork they are actually using is a fork of anything; they could treat it as if part of their proprietary code (though they might be in violation of license agreements if they do this.)
Re:The world needs a software bill of materials
by sokoloff on Sunday March 21, 2021 @09:41AM
(#26530354)
It seems like it could equally be “internal package UUID1 version X, internal package UUID2 version Y” if malicious compliance and/or industrious laziness was the goal.
Re:The world needs a software bill of materials
by zvr on Sunday March 21, 2021 @09:58AM
(#26530474)
It's not about "shaming", as these SBOMs might not be publicly available. But serious customers might have something to say when they realize that they are getting obsolete versions of components full of security issues.