osv: records with both `versions` and `introduced: "0"` are converted to the listed versions only
internal/osv/osv.go checks allVersions() only when affected[].versions is empty (line 316 at c1e83c0). If an affected entry has a versions list and also a SEMVER/ECOSYSTEM range of just {"introduced": "0"}, the range is ignored and the catalog entry contains only the listed versions.
In OSV the affected set is the union of ranges and versions, so introduced: "0" with no fixed already covers every version. The package doc says the same: "An affected entry whose ranges declare that every version is affected ... is emitted as the any-version entry ["*"]". The converter doesn't do that when a versions list is also present.
Example: MAL-2026-18437 (atlassian-wallboard-plugin, npm)
"ranges": [{"type": "SEMVER", "events": [{"introduced": "0"}]}],
"versions": ["10.0.0"]
osvcatalog emits "versions": ["10.0.0"], so any other published version of the package isn't matched. That includes one npm has since removed, which is the case introduced: "0" exists to cover.
How common: 15 of the 82 OSV records fetched by our latest delta refresh have this shape, all npm. Examples: MAL-2026-15819, MAL-2026-17366, MAL-2026-17397, MAL-2026-18416, MAL-2026-18437, MAL-2026-18452.
Suggested fix: check a.allVersions() before looking at a.Versions, and emit ["*"] when it is true, whether or not versions is empty. A test with the shape above should produce ["*"].
@adel-pplx I opened #91 for this. Could you please review it when you have a moment? Thank you!
Hey folks, any update here?