Skip to main content
Zero Plaintext VIN Retention

Privacy Policy & Zero VIN Retention

Checking a vehicle's recall or reliability history should never add your VIN, UK registration plate, or shopping intent to an ad-tech or dealer lead database. MotorFaults enforces zero plaintext VIN retention at both the transport and database-permission layers.

Verifiable Technical Architecture

How zero plaintext VIN retention works in code

Rather than relying solely on policy promises, our VIN and UK plate lookup flow removes storage pathways across client navigation, application caching, and PostgreSQL role permissions.

LAYER 01

POST JSON body, #vin= URL fragment & one-time sessionStorage handoff

Plaintext VINs never travel in HTTP GET query strings, reverse-proxy access logs, or Referer headers.

VIN decode requests send the 17-character VIN inside a JSON request body to POST /api/vin/decode. When handing off a lookup from the homepage to /vin-decoder, the browser stores the value ephemerally in one-time sessionStorage and a client-side #vin= hash fragment, which browsers never transmit to HTTP servers or external referrers.

LAYER 02

SHA-256 hashed 24-hour in-memory cache with zero disk writes

Decoded vehicle specifications are cached solely by an irreversible SHA-256 digest in volatile memory.

In web/server/services/vinDecodeService.ts, each normalized VIN is hashed via Node.js crypto SHA-256 before cache lookup. Only decoded vehicle specification attributes (make, model, year, powertrain) are retained in a 24-hour in-memory Map. Raw VIN strings are never written to disk, log files, or persistent queues.

LAYER 03

SELECT-only PostgreSQL web role (motorfaults_web)

The web application database user is physically unable to persist VINs or UK plates.

The Next.js web application connects to PostgreSQL exclusively through the read-only motorfaults_web role, which holds SELECT-only grants on catalog tables. Even in the event of an application defect, the web tier cannot execute INSERT, UPDATE, or CREATE statements to log user lookups.

Upstream Agency Pass-Through

Real-time pass-through to official government APIs

To return live vehicle specifications and MOT inspection histories, MotorFaults forwards your lookup request in real time to the relevant official government endpoint and immediately discards the identifier after returning the response:

  • US VIN decode → NHTSA vPIC API

    Requests to POST /api/vin/decode query the official U.S. Department of Transportation NHTSA vPIC API (vpic.nhtsa.dot.gov) with cache: "no-store" strictly to resolve make, model, model year, and build specs, then match those public attributes against our read-only PostgreSQL catalog.

  • UK plate check → UK DVSA MOT History API

    Requests to /api/uk-mot-check pass the submitted UK registration number directly to the official UK Driver and Vehicle Standards Agency (DVSA) MOT History API to retrieve public inspection pass/fail records.

No Tracking or Resale

Zero ad trackers, zero data-broker resale

MotorFaults does not embed third-party ad networks, retargeting pixels, session-replay recorders, or automotive lead-broker SDKs. We do not sell, rent, or exchange user search activity or vehicle identifiers with insurers, dealerships, or extended-warranty brokers.

Strictly functional browser storage

  • mf-theme (localStorage): remembers your chosen light or dark display preference locally in your browser.
  • One-time VIN handoff (sessionStorage): transfers a just-decoded VIN from the homepage search box to /vin-decoder and is cleared immediately after consumption.

Questions about privacy architecture or public-record takedowns? Contact corrections@motorfaults.com or review our Legal & Takedown Policy.