You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 158b724
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: .agents/skills/sbom/SKILL.md
+27-1Lines changed: 27 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,15 +9,41 @@ Generate CycloneDX SBOMs, resolve missing licenses, and export to CSV for compli
9
9
10
10
## Overview
11
11
12
-
The OpenShell SBOM tooling produces CycloneDX JSON SBOMs using Syft, resolves missing or hash-based licenses by querying public registries (crates.io, npm, PyPI), and exports the results to CSV for stakeholder review.
12
+
The OpenShell SBOM tooling produces source-tree CycloneDX JSON SBOMs using Syft, resolves missing or hash-based licenses by querying public registries (crates.io, npm, PyPI), and exports the results to CSV for stakeholder review.
13
13
14
14
SBOMs are **release artifacts only** -- they are generated on demand and not committed to the repository. Output lands in `deploy/sbom/output/` (gitignored).
15
15
16
+
Release Dev and Release Tag image builds separately embed cargo-auditable
17
+
metadata in the staged gateway and supervisor binaries. This metadata describes
18
+
the binary's Rust dependency graph and lets Syft discover Cargo packages from
19
+
the binary itself. It is not a complete image SBOM and is not an OCI SBOM
20
+
attestation; publishing such an attestation remains separate work.
21
+
16
22
## Prerequisites
17
23
18
24
-`mise install` has been run (installs Syft and other tools)
19
25
- The repository is checked out at the root
20
26
27
+
## Inspecting an Auditable Image Binary
28
+
29
+
Opt into auditable metadata when staging a local image binary:
30
+
31
+
```bash
32
+
OPENSHELL_AUDITABLE=1 PREBUILT_ARCH=amd64 \
33
+
tasks/scripts/stage-prebuilt-binaries.sh gateway
34
+
```
35
+
36
+
Scan the staged binary rather than the source tree:
0 commit comments