SBOM and Dependency Licence Auditor

Merge lockfiles and SBOMs into one inventory, classify each licence expression, apply your allow, review and deny policy and export NOTICE files.

Chạy trong trình duyệt của bạn. Tệp không bao giờ rời khỏi thiết bị. Xem cách tự kiểm tra

…

Cách thực hiện

  1. 1
    Open your files

    Press Open lockfiles / SBOMs and select package-lock.json, requirements.txt or an SBOM, or paste text and press Add pasted text.

  2. 2
    Check the summary

    Read the counts of denied, to review and no licence found, and the coloured bar of licence classes.

  3. 3
    Set your policy

    In Policy choose allow, review or deny for each class and add identifiers that are always allowed or denied.

  4. 4
    Fix missing licences

    In Components filter by No licence found and type the correct licence into each row.

  5. 5
    Review flagged packages

    Filter by Denied and To review and decide whether to replace, isolate or accept each package.

  6. 6
    Export the results

    In Export download the CSV, the CycloneDX SBOM, the NOTICE file or print the audit report.

Giới thiệu công cụ này

A modern application ships hundreds of open source packages, and each one arrives with a licence that can carry obligations: keep a copyright notice, publish your changes, or in the case of network copyleft, offer source code to every user of a web service. Legal teams ask for a list before a release, customers ask for an SBOM, and nobody wants to read four hundred package.json files. This auditor reads the files you already have, a package-lock.json, yarn.lock, requirements.txt, or a CycloneDX or SPDX software bill of materials, merges them into one inventory and sorts every component into licence classes. A policy you set turns each class into allowed, needs review or denied, and the results export as CSV, a CycloneDX SBOM, a NOTICE file and a printable report.

Who this is for

Engineering leads preparing a release, open source programme offices, founders answering a customer security questionnaire, and anyone who must ship third-party notices with a product.

Files it reads

- npm package-lock.json versions 1, 2 and 3 (licence fields are present in versions 2 and 3) - yarn.lock (names and versions; licences can be typed in) - requirements.txt (pinned and ranged Python requirements) - CycloneDX 1.4–1.6 in JSON or XML, including nested components - SPDX 2.x in JSON or tag-value form

Open several files at once; duplicates are merged by ecosystem, name and version.

How licence expressions are classified

Each SPDX identifier belongs to a class: public domain, permissive, weak copyleft, strong copyleft, network copyleft, source-available or non-commercial, proprietary and unknown. For an OR expression such as `MPL-2.0 OR Apache-2.0` the least restrictive choice counts, because you may pick it. For AND, the most restrictive part counts, because all terms apply. Common free-text names like "Apache License 2.0" or "BSD" are mapped to their identifiers.

Policy and overrides

The Policy tab sets allow, review or deny per class, plus lists of SPDX identifiers that are always allowed or always denied. When a package has no licence in the lockfile, type the correct one into its row; the override is saved and used in every export.

Worked example

A shop front lockfile with 11 packages contains MIT, Apache-2.0, a dual licensed `(MPL-2.0 OR Apache-2.0)`, one `GPL-3.0-or-later` chart library, one `SSPL-1.0` package and one package without a licence. With the default policy the dual licensed package is allowed (Apache-2.0 is chosen), the GPL library needs review, the SSPL package is denied as network copyleft and the package with no licence needs review as unknown.

Limits

The classification is a screening aid and not legal advice; licence compatibility depends on how you distribute and link the code. The tool does not contact package registries, so requirements.txt and yarn.lock entries stay unknown until you type the licence or open an SBOM that contains it. Licence texts inside packages are not scanned.

Ví dụ có lời giải

(MPL-2.0 OR Apache-2.0) → permissive and allowed; GPL-3.0-or-later → strong copyleft, review; SSPL-1.0 → network copyleft, denied by the default policy.

Tóm tắt

Câu hỏi thường gặp

What is an SBOM?

A software bill of materials lists every component in a product with its version, supplier, package URL and licence. CycloneDX and SPDX are the two common formats.

Why does a dual-licensed package count as permissive?

An OR expression lets you choose one licence. If one of the choices is permissive, you can use the package under that one, so the tool counts the least restrictive option.

Is GPL always a problem?

Not always. Internal tools that are never distributed usually have no GPL obligations, while software shipped to customers usually does. That is why the default policy asks for review instead of denying.

Why are my Python packages unknown?

requirements.txt contains names and versions but no licences. Type them in, or generate a CycloneDX SBOM with a Python tool that records licences and open that file.

What does the NOTICE file contain?

It lists the non-development components grouped by licence, which is the usual starting point for the third-party notices you ship with a product.

Are my lockfiles uploaded?

No. Files are read in this browser and the inventory is stored only in local storage.

Hoàn toàn miễn phíKhông phí, không đăng ký
Tệp luôn riêng tưMọi thứ chạy trong trình duyệt của bạn
Dễ dùng bằng ngôn ngữ của bạnCó nhiều ngôn ngữ