{"id":48819200,"url":"https://github.com/stella/provenance","last_synced_at":"2026-04-14T14:01:10.951Z","repository":{"id":351044396,"uuid":"1204477441","full_name":"stella/provenance","owner":"stella","description":"Generate SBOMs and third-party notices for JavaScript and Rust repositories","archived":false,"fork":false,"pushed_at":"2026-04-13T11:44:17.000Z","size":756,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-13T12:16:30.854Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stella.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-04-08T03:33:51.000Z","updated_at":"2026-04-13T10:10:55.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/stella/provenance","commit_stats":null,"previous_names":["stella/provenance"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/stella/provenance","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stella%2Fprovenance","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stella%2Fprovenance/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stella%2Fprovenance/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stella%2Fprovenance/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stella","download_url":"https://codeload.github.com/stella/provenance/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stella%2Fprovenance/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31799411,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T11:13:53.975Z","status":"ssl_error","status_checked_at":"2026-04-14T11:13:53.299Z","response_time":153,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-04-14T14:00:44.783Z","updated_at":"2026-04-14T14:01:10.934Z","avatar_url":"https://github.com/stella.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\".github/assets/banner.png\" alt=\"Stella\" width=\"100%\" /\u003e\n\u003c/p\u003e\n\n# @stll/provenance\n\n`provenance` is a CLI that generates SBOMs and third-party notices for JavaScript and Rust repositories, and checks that committed outputs stay current.\n\nIt is designed to be deterministic, repo-friendly, and boring to operate.\n\n## Scope\n\nThe current baseline focuses on:\n\n- JavaScript projects and workspaces\n- Rust crates and workspaces\n- Mixed JS/Rust repositories\n- Optional container image SBOM generation via `syft`\n\nThe workflow is file-based:\n\n- one config file\n- deterministic generated outputs\n- no direct CI pushes to `main`\n- repo-friendly `generate`, `check`, and `diff` flows\n\n## Boundaries\n\n- `THIRD-PARTY-NOTICES` is a generated inventory of detected third-party\n  components and declared license identifiers. It is not legal advice, and\n  some licenses may require additional attribution text at distribution time.\n- The safest canonical outputs come from a controlled CI or release environment,\n  especially when your dependency graph includes platform-specific packages.\n- `notice.internal_scopes` can be used to exclude first-party scoped packages\n  from generated notices and repo SBOM component inventories.\n- `output_dir` must point to a dedicated directory such as `provenance`; the\n  tool refuses to write managed outputs directly into the repository root.\n\n## Installation\n\nDownload a pinned binary from GitHub Releases for CI and automation.\n\nExample for Linux x64:\n\n```bash\ncurl -fsSL -o /tmp/provenance.tar.gz \\\n  https://github.com/stella/provenance/releases/download/v0.1.0/provenance-v0.1.0-x86_64-unknown-linux-gnu.tar.gz\ntar -xzf /tmp/provenance.tar.gz -C /tmp\ninstall /tmp/provenance-v0.1.0-x86_64-unknown-linux-gnu/provenance ~/.local/bin/provenance\n```\n\nTo build or install from source instead:\n\n```bash\ncargo install --git https://github.com/stella/provenance --locked\n```\n\nFor local development:\n\n```bash\ncargo install --path .\n```\n\n## Runtime prerequisites\n\nThe CLI itself is a single Rust binary. Analysis still depends on ecosystem tooling:\n\n- `cdxgen` for JavaScript and Rust SBOM generation\n  - supported discovery order: `cdxgen`, `bunx @cyclonedx/cdxgen`, `npx --yes @cyclonedx/cdxgen`\n- `syft` for optional container SBOMs\n\nYou can also point the CLI at explicit binaries:\n\n- `PROVENANCE_CDXGEN=/path/to/cdxgen`\n- `PROVENANCE_SYFT=/path/to/syft`\n\n## Quick Start\n\n```bash\nprovenance init\nprovenance generate\n```\n\n`provenance init` discovers JavaScript and Rust projects under the current root\nand writes `.provenance.yml`.\n\n`provenance generate` writes deterministic compliance artifacts into the\nconfigured output directory.\n\nFor ongoing verification:\n\n```bash\nprovenance check\nprovenance diff\n```\n\n## Generated outputs\n\nFor a single-project repo:\n\n- `provenance/sbom.cdx.json`\n- `provenance/THIRD-PARTY-NOTICES.txt`\n\nFor multi-project repos:\n\n- `provenance/projects/\u003cid\u003e/sbom.cdx.json`\n- `provenance/projects/\u003cid\u003e/THIRD-PARTY-NOTICES.txt`\n\nFor each configured container:\n\n- `provenance/containers/\u003cname\u003e/sbom.cdx.json`\n- `provenance/containers/\u003cname\u003e/THIRD-PARTY-NOTICES.txt`\n\nRepo-level outputs:\n\n- `provenance/report.json`\n\nWhen there is more than one project or any configured containers:\n\n- `provenance/THIRD-PARTY-NOTICES.repo.txt`\n\n## CI model\n\nThe recommended flow is:\n\n1. run `provenance generate` when dependency inputs change\n2. commit the generated outputs\n3. run `provenance check` in CI\n\nThis repo follows that model directly in GitHub Actions.\n\n## Development\n\n```bash\ncargo fmt -- --check\ncargo clippy --all-targets --all-features -- -D warnings\ncargo test\ncargo test --test integration_real -- --ignored\ncargo doc --no-deps\ncargo deny check\ncargo package --locked\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstella%2Fprovenance","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstella%2Fprovenance","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstella%2Fprovenance/lists"}