deps.dev license matcher
Last updated October 25, 2026View source (v0.30.0)
Fetches package metadata from deps.dev to fill in licenses the detector did not resolve.
| Property | Value |
|---|---|
| Matcher name | depsdev-license-matcher |
In the default --enrich set | Yes |
| Requires enrichment | Yes |
| Uses network | Yes |
| Cache behavior | Uses Bomly's matcher cache. Cache failures are warnings, not scan failures. |
| Output fields | license value, license source, matched package flag |
| Tags | license-enrichment, batch-http |
| Ecosystems | npm, maven, go, python, dotnet, ruby, rust |
What depsdev-license-matcher does
depsdev-license-matcher fetches package metadata from deps.dev, Google's open package metadata service. It attaches license information to packages for which the detector did not resolve a license. It covers the ecosystems listed in the table above and skips packages from any other ecosystem.
When it runs
Use it when local manifests do not carry enough license information, for example with generated SBOMs or ecosystems whose lockfiles omit license fields:
bomly scan --enrich --matchers depsdev-license-matcher # this matcher only
Network
The matcher batches version lookups through deps.dev and caches responses for 24 hours under ~/.bomly/cache/licenses/depsdev/. Each successful batch response is limited to 16 MiB. A cache failure is logged as a warning, and the API response is still applied. A failed HTTP response reports the status code without copying the server's response body into the error.
Output fields
Each matched package can gain:
licenses[]entries with normalized SPDX expressionslicenses[].sourceset toexternal-depsdevmatchedset totrueon packages that received license data
Bomly only fills packages that have no license data yet. A license the detector resolved is never replaced.
Examples
A CI run that enriches licenses only:
bomly scan \
--path . \
--enrich \
--matchers depsdev-license-matcher
Add --audit --fail-on any only when your policy should fail builds on denied or unknown license findings.