Third-Party Licenses
DriveTrace incorporates third-party open-source software. This
page reproduces the attribution and license text required by
those licenses, generated from the release record described in
docs/legal/release-ip-gate-v0.2.0.md.
# Third-Party Licenses — DriveTrace DriveTrace incorporates third-party open-source software. This file reproduces the required attribution for that software. **Generated from release SHA `277e228448cd59e9e4dfb834796ec88f8d12112a`** (2026-08-28). Regenerate on any dependency change — see `docs/legal/release-ip-gate-v0.2.0.md` § 2.2 for the method and denominators. Copyright in DriveTrace itself is held by **DriveAI LLC**; see `NOTICE`. --- ## How to read this file * **Prod slice = yes** — the distribution is reachable from the 7-service + 2-job production slice (`frontend-webapp`, `auth-gateway`, `consumer-bff`, `billing-service`, `llm-service`, `user-service`, `email-service`; jobs `db-migration-runner`, `billing-webhook-worker`). * **Class** — `permissive` (notice required), `**LGPL**` / `**GPL**` (copyleft; see § Copyleft components). * Licenses are the distributions' own declared metadata, resolved from the PyPI JSON API. Where a package's declared license differs from the license of a native library it bundles or loads, **both** are recorded in § Copyleft components — the Python license alone is not the whole answer. --- ## 1. Python distributions 63 distinct distributions across 32 `requirements*.txt` files at the release SHA; 40 reachable from the prod slice. | Package | Pin(s) | License | Class | Prod slice | |---|---|---|---|---| | `anthropic` | `==0.49.0` | MIT | permissive | yes | | `bcrypt` | `==4.3.0` | Apache-2.0 | permissive | yes | | `cachecontrol` | `==0.14.4` | Apache-2.0 | permissive | no | | `cryptography` | `==42.0.8,>=42,<46` | Apache-2.0 OR BSD-3-Clause | permissive | yes | | `firebase-admin` | `==6.6.0,==6.7.0` | Apache License 2.0 | permissive | yes | | `flask` | `==2.3.3,==3.1.1,>=2.3,<4` | BSD-3-Clause | permissive | yes | | `Flask-CORS` | `==4.0.0,==6.0.1` | MIT | permissive | yes | | `Flask-Limiter` | `==3.12,==3.5.0,==3.9.0` | MIT | permissive | yes | | `google-api-core` | `==2.30.3,==2.33.0,>=2.15,<3` | Apache 2.0 | permissive | yes | | `google-api-python-client` | `==2.157.0,==2.177.0` | Apache 2.0 | permissive | yes | | `google-auth` | `==2.29.0,==2.35.0,==2.40.3,>` | Apache 2.0 | permissive | yes | | `google-auth-httplib2` | `==0.2.0` | Apache 2.0 | permissive | yes | | `google-auth-oauthlib` | `==1.2.1` | Apache 2.0 | permissive | yes | | `google-cloud-aiplatform` | `==1.71.1` | Apache 2.0 | permissive | no | | `google-cloud-bigquery` | `==3.25.0,>=3.25,<4` | Apache 2.0 | permissive | yes | | `google-cloud-core` | `==2.4.1` | Apache 2.0 | permissive | yes | | `google-cloud-firestore` | `==2.19.0,==2.21.0` | Apache-2.0 | permissive | yes | | `google-cloud-kms` | `==3.14.0,>=2.21,<4` | Apache-2.0 | permissive | yes | | `google-cloud-monitoring` | `==2.22.2` | Apache-2.0 | permissive | no | | `google-cloud-run` | `==0.10.15` | Apache-2.0 | permissive | no | | `google-cloud-secret-manager` | `==2.18.3,==2.29.0,>=2.20,<3` | Apache-2.0 | permissive | yes | | `google-cloud-storage` | `==2.18.2,==3.2.0` | Apache-2.0 | permissive | yes | | `google-genai` | `==1.27.0` | Apache-2.0 | permissive | yes | | `googleapis-common-protos` | `==1.75.0` | Apache 2.0 | permissive | no | | `grpc-google-iam-v1` | `==0.14.4` | Apache 2.0 | permissive | no | | `grpcio` | `==1.83.0` | Apache-2.0 | permissive | no | | `grpcio-status` | `==1.69.0,==1.71.2` | Apache-2.0 | permissive | no | | `gunicorn` | `==21.2.0,==23.0.0` | MIT | permissive | yes | | `httpx` | `==0.28.1` | BSD-3-Clause | permissive | no | | `itsdangerous` | `==2.2.0` | OSI Approved :: BSD License | permissive | no | | `joblib` | `==1.5.1` | BSD-3-Clause | permissive | no | | `jsonschema` | `==4.26.0` | MIT | permissive | yes | | `librosa` | `==0.11.0` | ISC | permissive | no | | `numpy` | `==1.26.4,==2.1.3,==2.3.2,>=1` | BSD-3-Clause AND 0BSD AND MIT AND Zlib AND C | permissive | yes | | `openai` | `==1.98.0` | Apache-2.0 | permissive | yes | | `pandas` | `==2.3.1` | BSD 3-Clause License Copy | permissive | no | | `pi-heif` | `==0.22.0` | BSD-3-Clause | **LGPL** | yes | | `Pillow` | `==11.0.0,==12.2.0` | MIT-CMU | permissive | yes | | `presidio-analyzer` | `==2.2.355` | MIT | permissive | no | | `presidio-anonymizer` | `==2.2.355` | MIT | permissive | no | | `proto-plus` | `==1.28.2` | Apache 2.0 | permissive | no | | `protobuf` | `==5.29.6` | 3-Clause BSD License | permissive | no | | `psycopg` | `~=3.3` | LGPL-3.0-only | **LGPL** | yes | | `psycopg_pool` | `~=3.2` | LGPL-3.0-only | **LGPL** | yes | | `pybreaker` | `==1.2.0` | OSI Approved :: BSD License | permissive | yes | | `pydantic` | `>=2.0,<3` | MIT | permissive | yes | | `pytesseract` | `==0.3.13` | Apache License 2.0 | permissive | yes | | `PyYAML` | `==6.0.2` | MIT | permissive | yes | | `pyzbar` | `==0.1.9` | MIT | permissive | yes | | `redis` | `==5.2.1` | MIT | permissive | yes | | `requests` | `==2.31.0,==2.32.3,==2.32.4,>` | Apache-2.0 | permissive | yes | | `rfc8785` | `>=0.1.2,<1` | OSI Approved :: Apache Software License | permissive | yes | | `rq` | `==1.16.2` | BSD-2-Clause | permissive | yes | | `scikit-learn` | `==1.7.1` | BSD-3-Clause | permissive | no | | `scipy` | `==1.14.1` | Copyright (c) 2001-2002 Enthought, Inc. 2003 | permissive | no | | `setuptools` | `>=75.0.0` | MIT | permissive | no | | `six` | `==1.16.0` | MIT | permissive | yes | | `soundfile` | `==0.13.1` | BSD 3-Clause License | permissive | no | | `spacy` | `==3.7.5` | MIT | permissive | no | | `stripe` | `==10.12.0,==11.4.1` | OSI Approved :: MIT License | permissive | yes | | `tensorflow` | `==2.19.0` | Apache 2.0 | permissive | no | | `urllib3` | `==2.2.2` | MIT | permissive | yes | | `webauthn` | `==2.7.0` | BSD-3-Clause | permissive | yes | --- ## 2. Native components Installed via `apt-get` in a service `Dockerfile`, or bundled as a shared object inside a Python wheel. **These are invisible to a `requirements.txt` audit** and carry their own licenses. | Component | License | How it arrives | Images | Prod slice | |---|---|---|---|---| | `libheif` + `libde265` | **LGPL-3.0** | bundled `.so` inside the `pi-heif` wheel | `consumer-bff` | **yes** | | ZBar (`libzbar0`) | **LGPL-2.1** | `apt-get` | `consumer-bff`, `garage-extraction-sweep-job` | **yes** | | `libsndfile1` | **LGPL-2.1** | `apt-get` | `driveline-service`, `garage-extraction-sweep-job` | no | | `ffmpeg` | **GPL-2.0-or-later** (Debian builds `--enable-gpl`) | `apt-get` | `data-ingestion-job`, `driveline-service`, `garage-extraction-sweep-job`, `model-training-service` | no | | `tesseract-ocr` | Apache-2.0 | `apt-get` | `consumer-bff`, `garage-extraction-sweep-job` | yes | | `libpq` | PostgreSQL License (permissive) | `psycopg[binary]` wheel | all | yes | --- ## 3. Copyleft components — obligations and current state | Component | License | Obligation | State | |---|---|---|---| | `psycopg`, `psycopg_pool` | LGPL-3.0-only | On **distribution**: license text, source or written offer, relinking ability | **Not triggered** — SaaS only, not conveyed | | `pi-heif` (bundled `libheif`/`libde265`) | LGPL-3.0 | as above | **Not triggered** — SaaS only | | ZBar (`libzbar0`) | LGPL-2.1 | as above | **Not triggered** — SaaS only | | `libsndfile1` | LGPL-2.1 | as above | **Not triggered** — SaaS only, and outside the prod slice | | `ffmpeg` | GPL-2.0-or-later | On **distribution**: source or written offer | **Not triggered** — outside the prod slice; invoked as a **subprocess**, so it does not extend to DriveTrace's own code | **Why none is triggered.** LGPL-2.1 §4-6, LGPL-3.0 §4 and GPL-2/3 attach their obligations to *conveying* a binary. Operating software on our own servers to provide a network service is not conveying — the gap AGPL exists to close, and **no component here is AGPL**. The prod slice runs on Cloud Run; no image, wheel, or shared object is handed to any third party. > **STANDING CONDITION.** This analysis is valid **only** for hosted SaaS > deployment. It must be re-run before any on-premises build, dongle or > Raspberry Pi image, container image shared outside DriveAI, or desktop/mobile > binary. At that point the LGPL relinking requirement becomes load-bearing, and > a wheel-bundled `.so` makes it materially harder to satisfy. > See `docs/legal/release-ip-gate-v0.2.0.md` § 2.5. --- ## 4. Frontend (npm) `drive-trace-web/frontend` — 361 lockfile entries, of which **97 are non-dev** and reach the shipped bundle: **95 MIT, 1 BSD-3-Clause, 1 0BSD**. Principal runtime packages: `@assistant-ui/react` 0.15.14, `react` 19.2.8, `react-dom` 19.2.8, and the `@radix-ui/*` and `@floating-ui/*` primitive sets (all MIT). The 24 **MPL-2.0** entries (`lightningcss` and its platform binaries) are **dev-only** — a build-time CSS transformer. Its output is not a derivative work, and it is not shipped. ## 5. Vendored browser assets Reproduced in-tree with their license files under `drive-trace-web/static/vendor/`: | Asset | Version | License file | |---|---|---| | Bootstrap | 5.3.3 | `static/vendor/bootstrap/5.3.3/LICENSE` (MIT) | | Bootstrap Icons | 1.10.0 | `static/vendor/bootstrap-icons/1.10.0/LICENSE` (MIT) | | DOMPurify | 3.3.3 | `static/vendor/dompurify/3.3.3/LICENSE` (Apache-2.0 / MPL-2.0 dual) | | marked | 15.0.12 | `static/vendor/marked/15.0.12/LICENSE.md` (MIT) | ## 6. Vehicle CAN database `driveai/dbc/` derives from **OpenDBC** — Copyright (c) 2018 comma.ai, MIT License. Per `docs/legal/ml-oss-license-matrix.md:17` the MIT `LICENSE` file must be preserved at `driveai/dbc/LICENSE.opendbc`; restored in this branch (PD-17 item 11) — see `driveai/dbc/_attribution.md` for the license text and its vendoring-provenance caveat. --- ## 7. Full license texts Full texts for MIT, BSD-2-Clause, BSD-3-Clause, Apache-2.0, ISC, MPL-2.0, LGPL-2.1, LGPL-3.0 and GPL-2.0 are the standard published texts of those licenses, obtainable from the SPDX license list and reproduced with each distribution's own package metadata. **Requests for the source of any LGPL or GPL component listed above should be directed to DriveAI LLC.**