---
title: "SBOMs"
description: "Where to download the software bill of materials (SBOM) for the parts of Shorebird's Flutter that ship in your app, how to check it came from Shorebird's build, and how to convert it to SPDX."
---

Shorebird publishes a software bill of materials (SBOM) for each engine build of its Flutter fork. It lists the code that the fork’s engine puts in your app:

* the Flutter engine and the third-party C and C++ libraries it links (Skia, BoringSSL, ICU, HarfBuzz, FreeType, zlib and others)
* the Dart VM and core libraries
* Shorebird’s updater and the Rust crates it uses

The SBOMs are in [CycloneDX](https://cyclonedx.org) 1.6 JSON. Each component records the exact source revision it was built from, a [package URL](https://github.com/package-url/purl-spec) that vulnerability scanners understand, its licenses as SPDX identifiers, and, for a library Flutter copies from another project, that upstream project and revision.

The SBOMs are produced by the engine build itself. They don’t cover your own app’s Dart packages, which your tools can list from your `pubspec.lock`, or the Shorebird CLI and servers, which don’t ship in your app.

SBOMs are published for engines built from Flutter 3.50.1 on. Earlier engines don’t have them.

## Find your engine revision

Each SBOM is published under the engine revision it describes. To see the revision your Shorebird install uses:

```
shorebird --version
```

The last line is `Engine • revision <engine revision>`.

To look up the revision for a specific Flutter version, such as 3.50.1:

```
curl -sfL https://raw.githubusercontent.com/shorebirdtech/flutter/flutter_release/3.50.1/bin/internal/engine.version
```

## Download an SBOM

The SBOM for a whole engine lists every engine artifact that can ship in an app, on every platform:

```
https://download.shorebird.dev/shorebird/<engine revision>/sbom.cdx.json
```

Each of those artifacts also has its own SBOM beside it, at its download URL with `.cdx.json` added. For example, the Android arm64 release engine:

```
https://download.shorebird.dev/download.flutter.io/io/flutter/arm64_v8a_release/1.0.0-<engine revision>/arm64_v8a_release-1.0.0-<engine revision>.jar.cdx.json
```

The engine-wide SBOM names each artifact and its download URL, so you can start there to find the one for your platform.

## Check that an SBOM came from Shorebird’s build

Shorebird’s engine build signs every file it publishes, SBOMs included, with [SLSA build provenance](https://slsa.dev/spec/v1.0/provenance). The signed provenance for an engine is published beside its SBOM:

```
https://download.shorebird.dev/shorebird/<engine revision>/provenance.intoto.jsonl
```

To check an SBOM against it with the [GitHub CLI](https://cli.github.com), download both and run:

```
gh attestation verify sbom.cdx.json \
  --bundle provenance.intoto.jsonl \
  --repo shorebirdtech/_build_engine \
  --source-ref refs/heads/main
```

It succeeds only if the file is the one Shorebird’s build produced. You don’t need a GitHub account or access to the build repository. The same check works for the engine artifacts themselves; see [Verifying Shorebird’s Flutter artifacts](/system/security/#verifying-shorebirds-flutter-artifacts).

## Convert to SPDX

If your process needs SPDX, convert the file with CycloneDX’s own [CLI](https://github.com/CycloneDX/cyclonedx-cli):

```
cyclonedx convert \
  --input-file sbom.cdx.json \
  --output-file sbom.spdx.json \
  --output-format spdxjson
```

Questions about an SBOM, or a component you think it misses: email <contact@shorebird.dev>.
