Definition

What is a package URL (purl)?

Package URL (purl) · also: purl, PURL

Short answer

A standard identifier for a software package across ecosystems, used to match SBOM components against vulnerability databases reliably.

A URL-shaped identifier of the form pkg:type/namespace/name@version that names a package precisely regardless of tooling — for example pkg:npm/lodash@4.17.20 or pkg:maven/org.apache.logging.log4j/log4j-core@2.14.1. Vulnerability databases such as OSV index advisories by purl, so SBOM components with purls can be matched deterministically; components without them fall back to name heuristics that produce both misses and noise.

The full syntax is scheme:type/namespace/name@version?qualifiers#subpath. Only the scheme (always pkg), the type and the name are mandatory; the namespace is ecosystem-specific (a Maven group, an npm scope, a GitHub owner) and qualifiers carry extras such as architecture or distribution.

purl examples by ecosystem
EcosystemExample purl
npm (scoped)pkg:npm/%40angular/core@16.2.0
Mavenpkg:maven/org.apache.logging.log4j/log4j-core@2.14.1
PyPIpkg:pypi/django@4.2.7
Gopkg:golang/github.com/gorilla/mux@v1.8.0
Cargopkg:cargo/serde@1.0.190
NuGetpkg:nuget/Newtonsoft.Json@13.0.3

Reference: purl specification (package-url/purl-spec)

Updated · Paraphrase for orientation, not legal advice.

Share:LinkedInXE-mail

Frequently asked questions

What does purl stand for?
Package URL — a standard, tool-independent identifier for a software package and version, written as pkg:type/namespace/name@version.
What is the difference between purl and CPE?
A CPE names a product as the NVD catalogues it (vendor, product, version); a purl names a package as its ecosystem publishes it. Package-level vulnerability databases such as OSV and the GitHub Advisory Database match by purl, which is why purl coverage in an SBOM drives matching quality.
Do CycloneDX and SPDX support purl?
Yes. CycloneDX has a purl field on every component; SPDX 2.x carries it as an external reference of type purl.

In practice

Related terms

Check an SBOM in your browser.

Validate a CycloneDX or SPDX file, browse its components and look up known vulnerabilities — the file never leaves your browser.