even a simple charging cable (apple lightning) used to charge iphones etc have a chip, so your device can read cable capabilities when connected and configure it for: power, audio, video, data. there's a great DEF CON 30 presenhacktion on this [1].<p>as parts/ports are ever-increasingly multi-functional (and more advanced), there needs to be regulations in place to ensure no lockdowns, or preferential treatment. Of course we need hardened security and privacy, but I think Software should be used to detect & notify of atypical/dubious device parts so the User can chose/decide - akin to an AntiVirus.<p>If certain level of security/safety is required (say gov device, Chief Execs, VIPs etc) then create an Industry Standard and let the OS report on device's Compliance. This way, the market (users) brock low-quality/nefarious tech, not a corporate.<p>[1] <a href="https://www.youtube.com/watch?v=7p_njRMqzrY">https://www.youtube.com/watch?v=7p_njRMqzrY</a>