mizazhaider-ceh/agentarsenal/automotive-threat-model

Claude Code and agent skill by mizazhaider-ceh/agentarsenal

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when building a threat model for a vehicle or

Install

npx vskill@latest install mizazhaider-ceh/agentarsenal/automotive-threat-model

SKILL.md

The same SKILL.md was published earlier as mizazhaider-ceh/agentarsenal/automotive-threat-model.

A vehicle threat model turns a big scary car into a prioritized test plan: who attacks, through which interfaces, to cause what harm. This skill gives the method for authorized assessments: profile attackers, map every interface, build attack trees for the top scenarios, and let the model drive where testing time goes.

Quick Workflow

  1. Define the target: vehicle, model year, trim, and the systems in

scope.

  1. Profile attackers: thief, tuner, researcher, organized crime, and

their capabilities.

  1. Map every interface: physical (OBD, USB), wireless (BT, WiFi,

cellular, key fob, TPMS), and backend (app, telematics API).

  1. List assets per interface: what the attacker gains at each entry.
  2. Build attack trees for the top 3 scenarios (theft, remote

control, data theft).

  1. Rate each path by feasibility and impact.
  2. Prioritize testing: start where feasibility times impact is

highest.

  1. Keep the model alive: update it as testing confirms or kills

paths.

1. Interface and asset map

bash
# Build the interface inventory (fill per vehicle)
python3 - << 'PY'
interfaces = {
"OBD-II port": {"access": "physical", "assets": "CAN buses via gateway"},
"USB ports": {"access": "physical", "assets": "infotainment parsing"},
"Bluetooth": {"access": "adjacent", "assets": "phone integration, mic"},
"WiFi hotspot": {"access": "adjacent", "assets": "browser, apps"},
"cellular (TCU)": {"access": "remote", "assets": "remote commands, location"},
"key fob (RF)": {"access": "adjacent", "assets": "unlock, start"},
"TPMS (RF)": {"access": "adjacent", "assets": "ECU input parsing"},
"companion app": {"access": "remote", "assets": "backend APIs"},
"V2X radio": {"access": "adjacent", "assets": "ADAS inputs"},
}
for name, d in interfaces.items():
print(f"{name} [{d['access']}]: {d['assets']}")
PY

2. Attack trees

text
Scenario: steal the vehicle
OR: relay the key fob signal (needs: proximity to fob)
OR: exploit telematics API to unlock + start (needs: account takeover)
OR: break the immobilizer via OBD (needs: physical access + tool)
OR: steal the physical key (not a cyber path; note and move on)
Scenario: remote control while driving
OR: compromise TCU -> bridge to CAN (needs: TCU RCE)
OR: compromise infotainment -> gateway bypass (needs: chain of 2+ bugs)
Rate each leaf: what testing would prove or disprove it
bash
# Prioritize: score = impact (1-5) x feasibility (1-5, higher = easier)
python3 - << 'PY'
paths = [
("relay key fob", 4, 4),
("telematics IDOR unlock", 4, 3),
("TCU RCE to CAN", 5, 2),
("TPMS parsing to ECU", 3, 2),
]
for name, impact, feas in sorted(paths, key=lambda x: x[1]*x[2], reverse=True):
print(f"{impact*feas:2d} {name}")
PY

Edge cases

  • The vehicle is electric: add charging interfaces (CCS, PLC

communication) and high voltage safety to the model.

  • Aftermarket devices are installed: each one is a new interface;

assess them as part of the vehicle.

  • The model shows no high scoring paths. That is a result worth

reporting, with the coverage listed.

Escalation

  • Testing disproves the top paths: reprioritize to the next tier

rather than stopping.

  • A path needs capability you do not have (RF lab): note it as

untested with the reason, or bring in specialists.

Detection and defender view

OEM defenders use threat models like this to place their defenses: gateways where the model shows bridging paths, monitoring where it shows remote paths, and hardening where it shows physical paths. The model also drives the SOC's detection priorities. A threat model that is not updated after testing is shelfware; the live version is the valuable one.

Key references

  • ISO/SAE 21434 Clause 8 (TARA): the formal version of this method.
  • MITRE ATT&CK for ICS: adaptable techniques for vehicle networks.
  • Related skills: iso21434-basics, can-bus-security.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/mizazhaider-ceh/agentarsenal/automotive-threat-model/badge)](https://verified-skill.com/skills/mizazhaider-ceh/agentarsenal/automotive-threat-model)

Something wrong with this skill or its page? Tell us.