3 ms·
"Software Bill of Materials" could be important. Especially where Docker containers are involved. What's in your box?
by Animats 5y ago
"Software Bill of Materials" could be important. Especially where Docker containers are involved. What's in your box?
- lxe 5y ago120 thousand node_modules (3.4 gigabytes worth), including 34 versions of lodash mostly.
- maddyboo 5y agoWhy don’t I hear about npm package attack vectors more often? I’d expect it to be super common
- Etheryte 5y agoMy guess is that it's a two-tier process. For one, in many ways, NPM packages are kind-of winner takes all type of a setup where a narrow circle of packages accounts for most of the installs. This leads to more eyes on them, but I would say this is secondary to the following point. Most of the time, when a package is either added or updated, someone technical, usually a developer, is staring at their terminal, browser dev tools, and/or dozens of other things. If something fishy was aloof, the chances of it being noticed are considerably higher than in a regular user-computer interaction. Add automated scanning employed by Github, NPM and others to the mix, and I'd say that's the answer. Clearly it can happen since it has, but every time it does happen, the space for shenanigans grows narrower.
- raesene9 5y agoWithin the cloud native and container space, there is work being done on how to implement this (SBoM, Signing etc). It will obviously be tricky to get right, but there are groups looking at it :) https://github.com/cncf/tag-security/ https://github.com/cncf/tag-security/ is a good place to go for more info.
- mleonhard 5y agoDocker does not allow specifying a docker container by the SHA-256 digest of its contents. I hope the US Federal Government will get them to finally add that crucial security feature.
- EricE 5y agoISO 19770-2 SWID (Software ID Tags) provides a framework for creating an SBOM. NIST has been given permission to essentially republish the 19770-2 standard here: https://csrc.nist.gov/publications/detail/nistir/8060/final https://csrc.nist.gov/publications/detail/nistir/8060/final On Page 8 look at the Corpus tag.
- zvr 5y agoSPDX (https://spdx.dev https://spdx.dev) is an open standard for describing software bill of material information. A number of open source projects, like the Linux kernel, have already adopted its conventions (e.g. for marking the license in the files), so that information can be automatically be processed.