Skip to content
GitHubOpen source
Product
Docs
Solutions
IndustriesAll industries
CompareCompare all AI data-leak tools
Benchmarks
GitHubApache-2.0

Secure LLM use in automotive: protect connected-car, driver and supplier data in AI prompts

Shadow is for vehicle manufacturers, suppliers, mobility and fleet companies whose engineering, after-sales, connected-services and business teams use large language models. It runs on laptops, build servers or pods, replaces driver and customer names, contact details, internal hostnames, secrets, supplier names and programme codenames with consistent fakes before a request reaches the AI provider, and restores them in the answer. Some automotive identifiers, notably VINs and location traces, are not masked, and this page says how to handle them.

What data leaks into AI tools in automotive

Section titled “What data leaks into AI tools in automotive”
WorkflowWhat typically ends up in the prompt
Connected-services support and analyticsDriver names, emails, phone numbers, VINs, trip logs, GPS coordinates
After-sales and warranty claimsCustomer and dealer names, addresses, VINs, fault descriptions
Software engineering for ECUs and cloud backendsSource code, build logs, internal hostnames, signing keys, API tokens
Supplier management and sourcingSupplier names, quotes, volumes, programme codenames, contacts
Homologation and requirements workProgramme codenames, requirement text, test reports
Fleet and mobility operationsDriver records, licence numbers, booking histories

Two risks overlap: personal data from drivers and customers, and intellectual property from OEMs and suppliers, often covered by strict confidentiality terms.

Shadow masks values in AI requests and uploaded files with fakes from a persistent persona, keeps the mapping in an encrypted local vault, and restores responses, including streams and tool-call arguments.

DataHow Shadow handles it
Driver, customer and dealer namesName detector, person: terms, NER sidecar or Presidio
Emails, phones, street addressesBuilt-in detectors (addresses in English and German styles)
Payment detailsCard numbers (Luhn) and IBANs (mod-97) with checksum-valid fakes
Programme and model codenamesDictionary terms
Suppliers, dealers, partnersorg: terms
Backend and build hostnames, IPs, MACshostname, ip, mac detectors and internal_domains
Signing keys, tokens, API keyssecret detector: PEM private keys, JWTs, bearer tokens and known key formats; redaction opt-in
Usernames in paths, git identitypath and local_facts detectors
Warranty exportsreport intent with typed tokens
organization = ["Nordwerk Fahrzeugbau AG"]
terms = [
"Project Kestrel", "term:NW-E7 Platform", # programme codenames
"org:Globex Electronics", "org:Initech Seating", # suppliers
]
internal_domains = ["nordwerk.example", "ota.nordwerk.internal", "build.nordwerk.internal"]
[policy.always]
secret = "redact" # signing keys and tokens never leave in any form
[policy.report]
person = "token"
email = "token"
phone = "token"
address = "token"
default = "surrogate"
[files]
images = "block"
RequirementHow Shadow helps
UNECE R155 (cyber security management system) and R156 (software updates)A documented control for one data flow: development and operational data sent to AI services. Not a CSMS or SUMS
ISO/SAE 21434Supports protection of development assets such as keys, internal hosts and codenames in AI-assisted work
GDPR Art. 5(1)(c), 25 and 32, and EDPB guidance on connected vehiclesData minimisation and pseudonymisation for driver data before it reaches an AI vendor. Pseudonymised data is still personal data for you (Recital 26)
EU Data Act (connected product data)Does not address data access or sharing obligations; only limits what reaches AI vendors
Supplier NDAs, TISAXKeeps supplier and programme names out of third-party AI services; evidence of a technical control
ISO/IEC 27001, ISO/IEC 42001Evidence of a control on AI data flows

What the after-sales analyst sends (all data fictional):

Summarise claim for Lena Fischer (lena.fischer@mail.example, +49 30 1234567),
Hauptstraße 5, Berlin. Dealer: Initech Seating. Fault: seat heater on NW-E7 Platform.

What the provider sees (your fakes will differ):

Summarise claim for Ying Chen (ying.chen@xinghe.cn, +86 28 6512 0417),
Renmin Road 21, Berlin. Dealer: Lumeth Interiors Co., Ltd. Fault: seat heater on Velora Quilent.

The summary comes back about Lena Fischer and the NW-E7 Platform. If the claim text contained a VIN, it would have been sent unmasked unless you added it as a term.

An engineer pastes a stack trace from ota-api-03.ota.nordwerk.internal and a config with a PEM private key into Claude Code. The hostname becomes a fake, the key becomes [REDACTED_SECRET], and /Users/lfischer/... becomes the persona’s username. The suggested fix comes back with real hostnames restored.

A buyer uploads an XLSX of quotes from six suppliers. Supplier names in shared strings are replaced, prices and volumes are left as numbers, and the comparison comes back with real names.

PatternWhen to use it
Endpoint install on engineering laptops: shadow install --applyAPI-backed coding assistants, chat clients and scripts
CI runners and build serversSystemd unit with gateway URLs or HTTPS_PROXY, so AI steps in pipelines are masked
Gateway for internal tools: custom route to your Azure OpenAI or Bedrock (API-key auth) resourceWarranty, service and requirements assistants. SigV4-signed Bedrock requests are forwarded unmasked, so use API keys
Sidecar in KubernetesConnected-services backends calling LLMs. See Docker and Kubernetes

GitHub Copilot and Cursor’s hosted backends are not built-in intercepted hosts. There is no central admin console yet; see the roadmap.

Frequently asked questions

Does Shadow mask VINs and vehicle identifiers?

Not with the built-in detectors, and there is no custom regex setting in shadow.toml. List known VINs or fleet IDs as terms, use the NER sidecar or Presidio for some identifier types, or write a custom detector in Rust if you embed Shadow. Treat VINs in prompts as unmasked unless you have verified otherwise with shadow scan.

Can connected-car location data be sent to an LLM through Shadow?

Shadow masks street addresses in English and German styles, and the NER sidecar or Presidio finds more locations. GPS coordinates and timestamped trip data are not masked. Location traces are highly identifying, so aggregate or remove them before using an external model.

Can engineers use AI coding assistants on ECU or backend code?

Yes for API-based assistants such as Claude Code, Codex CLI, Aider, Continue or Cline. Shadow masks internal hostnames, IPs, usernames in paths and recognised secrets in code and logs. The code itself still reaches the provider; whether that is acceptable for safety-critical or supplier-owned code is a policy decision.

Does Shadow help with UNECE R155 or ISO/SAE 21434?

It can be a documented control in your cybersecurity management system for one risk: sensitive data and infrastructure details sent to AI services. It does not cover vehicle security engineering or type approval.

Can we protect supplier and programme names in AI prompts?

Yes. Add vehicle programme codenames as terms and suppliers as org: terms. Each gets a consistent fake, so supplier comparisons and programme reviews still make sense to the model, and the answer comes back with real names.