If only they’d had macOS Ventura back then.

In macOS Ventura, Apple has closed one big security hole.

The Mac will no longer allow any old USB unit to connect when you plug it in.

Closeup on a laptop computer with a USB drive connected to a port on the side.

Brina Blum / Unsplash

“It is a terrible idea to connect unknown devices to your box.

US B Careful

Most everyday attacks on computers come over the internet.

But that’s not the only way to attack a computer.

Closeup on a USB-C cable.

Marcus Urbenz / Unsplash

Some of the worst exploits get dismissed as being a danger because they require physical access to your machine.

It used to be that once an attacker had your rig in their hands, all bets were off.

They only needed time, and they’d have access to everything.

Then came the iPhone, which Apple has progressively hardened until today.

It’s not even worth stealing one because the thief cannot unlock it.

It is a terrible idea to connect unknown devices to your machine.

But that’s not the only point of an attack.

Good old-fashioned malware can be spread over USB, too.

But what if it’s a notebook, and you fall asleep on the train while using it?

Or it’s misplaced or stolen?”

says Mac system spelunker and expertHoward Oakleyon hisEclectic Light Company blog.

Malware can spread by hopping from computer to computer via USB.

Marcus Urbenz / Unsplash

But it can also be built into cables and chargers.

The feature also doesn’t protect against devices connected to approved USB hubs, power adapters, or displays.

As long as the scriptwriters remembered to load the latest version of macOS on your imaginary computer.