A proactive implementation of a Threat Analysis and Risk Assessment (TARA) based on ISO/SAE 21434 Clause 15 could have addressed the vulnerabilities in TeslaLogger.