logoalt Hacker News

andai • yesterday at 8:25 PM • 2 replies • view on HN

>Because a lot of people get caught in the mindset of "prevent problems from happening" rather than "what to do when problems happen".

About a year ago (after reading simonw's "lethal trifecta" post), I shifted my thinking to "assume I'm already f'ed, and minimize how f'ed I am." I call it minimizing blast radius.

Just fast forward to worst case scenario and then design it so it's not so bad.

This allows for radical simplification. Complex agent harnesses that try to stop the agent doing anything wrong? Proxies that inject keys? Containers? Nah, just give it root on $3 VM, and disable auto-charge on the API keys! It goes rogue, I'm down like ten bucks.

(I'm just one guy though, no idea how or if this works at scale.)

Similarly, worrying about VM isolation? (They're getting increasingly scary at breaking out of things.) Nah, just give it a $50 Thinkpad :) (anything on my LAN is f'ed too, though, LOL) I think the Mac Mini folks beat me to that one, though...


Replies

TeMPOraL • yesterday at 9:37 PM

That's good thinking because it also cuts straight through the bad conclusion many people make after learning of the "Lethal Trifecta", i.e. that it's solvable. It's not. It's fundamental to the nature of general systems, and the sooner people get out of the absolutist, binary mindset of naive cybersecurity (you're either provably secure or not secure at all), the sooner they can get to solving the real problem, which is how to prevent or mitigate the worst outcomes without nerfing the system to the point it's no longer useful.

mosura • yesterday at 9:27 PM

You are describing the fundamental property of engineered systems: knowing what your worst case scenario is and being ok with it. This is literally what real time operating systems are to time, it isn’t about being optimal but always being within acceptable (defined) bounds.

➕ show 1 reply