Summary
Administrator vehicle uploads are written to publicly accessible blob URLs and the raw blob response is returned. Registration, insurance, inspection, or ownership images can therefore bypass application authorization.
Repository evidence
app/api/upload/route.ts:180-187 writes vehicle files with access: "public" and returns the blob object.
- The KYC path in the same route uses an application-controlled document record, showing the missing boundary for fleet files.
Scope
- Use private storage references and a fleet-document download route with role/resource authorization.
- Persist ownership, purpose, checksum, retention, and access audit metadata.
Acceptance criteria
Tests
Non-goals
- Changing vehicle image presentation for deliberately public marketing assets.
Summary
Administrator vehicle uploads are written to publicly accessible blob URLs and the raw blob response is returned. Registration, insurance, inspection, or ownership images can therefore bypass application authorization.
Repository evidence
app/api/upload/route.ts:180-187writes vehicle files withaccess: "public"and returns the blob object.Scope
Acceptance criteria
Tests
Non-goals