automotive-embedded-skills

Warn

Audited by Socket on Sep 19, 2026

7 alerts found:

Securityx2Anomalyx5
SecurityMEDIUM
rules/eth-switch-configuration.md

No evidence of intentional malware or supply-chain sabotage is present. The VLAN mask implementation is a serious security defect because a uint16_t bitmask cannot represent VLAN IDs 10 through 99 as written, and shifts such as 1U << 99 are undefined. The diagnostic port also receives mirrored ADAS and brake traffic while accepting arbitrary tester MACs, creating a potential confidentiality and isolation risk. Replace the bitmask with a representation that supports the configured VLAN IDs, validate hardware semantics, and restrict or disable production mirroring unless explicitly protected.

Confidence: 98%Severity: 82%
AnomalyLOW
rules/nvm-baremetal-flash.md

No evidence of malicious or intentionally sabotaging behavior is present. The code implements legitimate flash ECC and dual-bank update functionality, but the visible update routine has important defensive weaknesses: missing explicit size/address validation, ignored flash-operation errors, and no visible cryptographic authenticity or rollback checks. These should be reviewed before use with untrusted firmware or in a safety-critical boot path.

Confidence: 93%Severity: 62%
AnomalyLOW
rules/eth-tsn-traffic-shaping.md

The fragment appears to implement legitimate deterministic Ethernet priority mapping, safety-frame transmission, and time-aware shaping configuration. No malicious behavior or obfuscation is evident. However, `App_SendSafetyFrame` has a likely buffer-overflow risk because `len` is unchecked, and transmitting an incompletely initialized structure may disclose indeterminate memory. The GCL validation is also ineffective when assertions are disabled, and guard-band consistency is not enforced. These issues warrant remediation and review of the omitted type and API definitions.

Confidence: 96%Severity: 67%
SecurityMEDIUM
rules/boot-secure-boot-chain.md

The fragment describes legitimate secure-boot functionality and contains no apparent malware or supply-chain backdoor. The implementation has important security gaps: unvalidated image addresses and sizes, an unchecked entry point, ignored rollback-counter update failure, weakly protected measurement storage, and possible signature-format or signed-metadata ambiguity. These issues could undermine the chain of trust if not enforced by the omitted HSM and platform interfaces. Review and harden before production use.

Confidence: 96%Severity: 70%
AnomalyLOW
rules/autosar-classic-os.md

The code is legitimate AUTOSAR/OSEK instructional material and shows no evidence of malware or supply-chain attack behavior. The main security issue is the trusted function's unrestricted privileged write through p->address; it should validate the parameter object and permit only an explicit set or range of hardware registers. The ADC buffer write also lacks visible bounds protection. These are embedded-systems security and reliability risks, not malicious behavior.

Confidence: 96%Severity: 58%
AnomalyLOW
rules/comm-doip-implementation.md

The code is protocol-handling code with several security and robustness defects, primarily incomplete DoIP header validation, unchecked response-buffer capacity, and non-portable direct struct serialization. The vehicle identity disclosure is expected for DoIP discovery but should be treated as intentional information exposure. The fragment contains no clear malicious or sabotaging behavior; the incorrect example has a genuine malformed-input memory-safety flaw, while the purportedly correct implementation remains insufficiently defensive.

Confidence: 97%Severity: 62%
AnomalyLOW
rules/integration-xcp-calibration.md

The fragment is security guidance for XCP memory-access handling. The incorrect example contains a clear arbitrary-memory-read vulnerability, while the corrected example adds length and address validation. The documentation itself shows no malicious behavior, exfiltration, or obfuscation. Secure use depends on a correctly implemented Xcp_IsAddressReadable function and prior validation that the request buffer contains all required fields.

Confidence: 98%Severity: 58%
Audit Metadata
Analyzed At
Sep 19, 2026, 02:05 PM
Package URL
pkg:socket/skills-sh/washabii14%2Fagent-skills%2Fautomotive-embedded-skills%2F@9bb5828b4914400c787bab7a264946ce441eaed913f403ab2ba275a7c4a0cfd2
Security Audit — socket — automotive-embedded-skills