Appreciate this is more of a problem with the upstream tool, but I wanted to flag the data quality aspect here.
Here's an example of a Debian SBOM created using bom-v0.4.1:
This contains references like:
pkg:deb/debian/gpgv@2.2.40-1?arch=s390x
From the purl spec:
There is no default package repository: this should be implied either from the distro qualifiers key or using a base url as a repository_url qualifiers key.
Basically the purl is incomplete. Without the distro information the purl here is ambiguous. I'd argue based on the spec it's technically an invalid purl, but the spec as written is a bit hard to parse. But whether or not it's invalid, it's not specific without the distro information.