If you've searched for a digital twin in automotive cybersecurity, you've probably found one of three things: a virtual ECU you can attack in software, a live digital model of a vehicle built from fleet data, or a structured representation of everything inside a product. All three have value. But if your goal is to keep a TARA, vulnerability assessment and PSIRT response current throughout a product's life, the third one matters most. At Block Harbor, we're building VSEC around that idea: a living digital twin of every product you ship, with its cybersecurity risks attached to the actual components, software and features they affect.
Three kinds of digital twin, three different jobs
"Digital twin" has become an umbrella term in automotive engineering. The Digital Twin Consortium defines one as "a virtual representation of real-world entities and processes, synchronized at a specified frequency and fidelity." That's broad enough to cover several very different technologies.
In product cybersecurity, we see three distinct approaches. Understanding the difference matters because each answers a different engineering question.
1. The composition twin: What's inside the product?
A composition twin is a structured model of a product's architecture. It describes the components, hardware, software, cryptographic elements, interfaces and connections that make up a particular product and its variants.
Think of it as a detailed inventory of the product's construction. It can include:
- Software bills of materials (SBOMs).
- Hardware bills of materials (HBOMs).
- Cryptographic bills of materials (CBOMs).
- ECUs, processors, sensors and other components.
- Software versions, firmware and dependencies.
- Network interfaces, signals and connections.
- Features, functions and relationships between components.
Some platforms build this model by analyzing firmware binaries. Others assemble it from engineering documentation, architecture diagrams, requirements and other product data.
The important characteristic is that the model represents what's actually in the product, how its parts relate and which versions appear in which products.
What it's good for: TARA, attack-surface analysis, vulnerability impact assessment, product configuration tracking and maintaining a current picture of cybersecurity risk.
What it misses: A composition model alone doesn't prove that a security control works or that an attack succeeds. You need testing and other evidence to establish that.
2. The executable twin: Can I attack the ECU in software?
An executable twin recreates an ECU's real firmware inside an emulator. Often called a virtual ECU, it lets engineers run software and exercise functionality without connecting to the physical hardware.
This is useful work. Engineers can investigate behavior, experiment with inputs, learn how a feature responds and check certain security properties early in development.
But there are practical limits. Today's virtual ECU approaches generally cover individual chips, features or specific configurations. Getting a representative environment running can require considerable manual effort for each ECU. The emulator also has to represent the hardware and interfaces that matter to the attack.
What it's good for: Early development checks, software experimentation, learning how a system behaves and testing selected attack scenarios.
What it misses: A complete, maintained picture of the product's architecture and variants, plus evidence of how the real ECU behaves across its physical interfaces.
3. The live twin: What's happening in the fleet?
A live twin represents the current state of individual fielded vehicles. It is typically built from fleet telemetry and updated as vehicles report their operating conditions and behavior.
This is particularly useful in a vehicle security operations center (VSOC). Security teams can look for anomalies, identify suspicious activity and investigate what's happening across a fleet.
What it's good for: Fleet monitoring, anomaly detection, incident investigation and understanding the current state of fielded vehicles.
What it misses: A complete engineering inventory and the design-time risk relationships needed to maintain a TARA or determine every product affected by a newly disclosed vulnerability.

These approaches can complement each other. A product may benefit from all three, but they shouldn't be treated as interchangeable when the goal is managing cybersecurity risk throughout a product's lifecycle.
The twin your TARA actually needs
For TARA and vulnerability response, the composition twin is the foundation. The inventory matters, but the risk register attached to it is the point.
We've run hundreds of TARAs across automotive, agriculture and robotics, and in our experience the slowest part is defining the item.
Before anyone can make useful decisions about threats, attack paths and risk, they need a reliable picture of the item being assessed. That means gathering ECUs, signals, architecture, security controls, software versions and other engineering facts.
Those facts rarely live in one convenient place. They are spread across requirements tools, architecture diagrams, PDFs, spreadsheets, emails and the memories of engineers who worked on the last version.
Collecting and reconciling that information can take weeks. Once the item definition is solid, the threat and risk work can move quickly.
We've written about why involving engineers early in the TARA process makes a difference. The quality of the analysis depends on the quality of the engineering information behind it.
The other problem is time. A TARA is a snapshot. The product isn't.
A new ECU, software release, supplier change or feature modification can make parts of an existing assessment inaccurate. A vulnerability disclosed six months after the TARA may affect components across several model years. Meanwhile, the original assessment sits in a document that someone has to remember to update.
A maintained composition twin changes the relationship between the product and its cybersecurity work.
The inventory stays current as the product changes. Risks are attached to the components, features and connections they affect. When something changes, engineers and cybersecurity teams have a place to understand what needs to be reassessed.
The twin becomes the inventory. The risk register becomes the working record of what matters.
Simulation is useful. Real hardware settles the question.
Executable twins and emulators have a place in cybersecurity testing. They help engineers investigate software early, explore behavior and learn where to look. We walked through a simulated braking-system TARA in Digital Twins in Automotive Cybersecurity: A Smarter Way for TARA.
But when we're assigning a risk rating or deciding whether a security control actually works, we want evidence from the real part.
A simulated ECU can only tell you what the simulated environment allows you to observe. Physical interfaces, hardware behavior and implementation details can change the result.
That's why our testing approach includes the actual ECU.
We use a Bench: a Raspberry Pi positioned next to the device under test, connected to the interfaces an attacker or security engineer would need to exercise. Depending on the ECU, that includes CAN, automotive Ethernet, JTAG and UART.
The Bench runs test cases developed from our penetration testing experience. We can also use AI to write security tests for the specific ECU in front of us.
When a test finds something, the result becomes evidence attached to the relevant risk in VSEC. The test can also remain in the test library as a regression test, ready to run again after a fix.
This connects the engineering model to what happens on the bench. The TARA identifies what deserves attention. Testing provides evidence about the real implementation. That evidence stays with the risk instead of disappearing into a separate report.
Learn how AI writes security test cases for a real ECU.
How VSEC puts the product twin and risk register together
VSEC Core is a living digital twin of every product you ship, with its cybersecurity risks attached.
We built it around a simple idea: cybersecurity work should happen against the product itself, not in a collection of disconnected documents and tools.
One product model, down to the component
VSEC Core organizes a product as an asset tree. You can move from vehicle or machine to module, component and feature, with the relationships between them represented in the model.
It accounts for different variants of the same module across model years, configurations and software releases. Each asset can hold its own SBOM, HBOM and CBOM, along with firmware scan results and other technical information.
People can add the documents, diagrams, requirements and engineering notes that describe an asset. VSEC uses AI to build and maintain an understanding of that asset from the information provided.
AI can suggest relationships, identify relevant details and help organize information. A person reviews and accepts suggestions before they become part of the model. Your engineering data doesn't silently rewrite itself based on an AI guess.
The result is a product twin that grows with the engineering information you put into it.
One risk register, regardless of where a risk comes from
A cybersecurity risk shouldn't become a different record just because it was discovered by a different team or tool.
In VSEC, a risk is one unit, whether it originates from:
- A TARA.
- A penetration test.
- A newly published CVE.
- A firmware scan.
- A VSOC detection.
Each finding can be associated with the asset it affects, with its evidence and status maintained in the same register.
That has a practical benefit when products share components. Suppose the same module appears in five vehicle programs across several model years. A vulnerability in that module shouldn't require five separate investigations to establish where it lives.
Close the risk at the module level, and it closes across every product carrying that module.
The same relationships help when a risk is discovered. Instead of manually comparing spreadsheets and engineering records, teams can follow the asset relationships to understand which products and variants are affected.
Design: Build the TARA from the twin
VSEC Design uses the product information already in VSEC Core to draft the TARA's item definition.
Rather than starting with a blank document and asking engineers to reconstruct the architecture, Design starts with the structured inventory. It then runs the threat analysis and writes accepted risks back to the twin.
Our own TARA team runs its assessments in VSEC. The platform includes method memory that adapts to each company's TARA methodology, so the process reflects how that organization actually performs its assessments.
See how automatic risk assessment works in VSEC Design.
Test: Put the real ECU to work
VSEC connects the product model to physical security testing through Breakwater, our open-source test framework.
Breakwater carries test cases developed through our penetration tests. AI can write additional tests for the specific ECU connected to the Bench. The resulting findings return to VSEC as evidence on the relevant risks.
Those tests can stay associated with the asset and run again after changes or remediation.
That gives engineering teams something useful beyond a penetration test report: a growing collection of tests that helps establish whether known problems have been fixed and stay fixed.
Monitor: Find every product affected by a vulnerability
When a vulnerability appears in the field, the PSIRT question is familiar:
Where else does this live?
With a product twin, VSEC can map the affected component to every product and variant that carries it, then open a tracked risk for each affected product.
The team has a starting point for impact assessment without hunting through separate engineering systems, old TARAs and supplier documents.
The same model connects monitoring back to the original engineering work. A VSOC detection can become a risk in the product register, where it can be investigated alongside TARA findings, penetration test results and known vulnerabilities.

What you can do with VSEC next
The product twin becomes more useful as it grows. But getting started shouldn't require a complete engineering data migration before you see any value.
We're building VSEC to help teams start with the information they already have, then expand the model as they work.
Start with public product information
VSEC profiles a company and researches its products using publicly available information. It builds an initial set of product assets for a person to review before the company shares internal engineering data.
As VSEC finds additional products, it presents them as candidates for review and inclusion.
That gives a team a starting inventory without requiring someone to spend the first few weeks building one by hand.
Bring existing cybersecurity work into the register
You don't have to start with a blank risk register, either.
Upload existing TARAs, penetration test reports and firmware scans. VSEC reads those documents and brings the risks they contain into the register, connecting them to the relevant assets as the product model develops.
Your previous cybersecurity work becomes part of the working record instead of remaining buried in reports that need to be searched every time a new question comes up.
Work with your own AI
VSEC provides access to its API through MCP, allowing your own AI assistants and agents to work with the product model and risk register.
That means you can bring your existing AI workflows into the same environment as the engineering and cybersecurity information they need.
VSEC can also run on premises, keeping product data inside your own environment.
Built from real cybersecurity work
Since 2015, Block Harbor has secured vehicles, agricultural and off-highway machines, and robots. Our engineers have completed 400 TARAs and 150+ penetration tests across automotive, agriculture and robotics. We also built the industry's first VSOC.
VSEC grew out of the work we were already doing for customers. Our engineers needed a way to track risks across customer products and projects, so we built the product portfolio risk register we wanted to use ourselves. That foundation became VSEC Core.
Read how VSEC Core grew from our services work into a product portfolio risk register.
Today, VSEC Core is in production at one of the world's largest automakers. Our own TARA and penetration testing teams use the platform in their work.
Build a product twin that keeps up with your product
A digital twin for cybersecurity should give engineering and cybersecurity teams a maintained picture of what's in the product, which risks affect it, what evidence supports those risks and where else the affected parts appear.
That's what we're building with VSEC.
Start a free VSEC workspace and begin building your product twin. If you'd like help with the first one, talk to us.
Subject expert

Brandon Barry is the CEO and founder of Block Harbor. He leads the company's vision and partnerships, with a focus on securing connected vehicles and the next wave of physical AI, from robots to EV charging.




