| ▲ | tgbugs 2 hours ago | |||||||||||||||||||||||||
I had a fairly lengthy thought the other day about the fact that if you have autonomous agents that actively try to break into any device on the internet and have already profiled systems for attack and just sit and wait for new vulns to be found and then automatically attack en-mass ... you are suddenly in a world where defenders now have minutes of turnaround time if they can't take their systems offline. This means that almost all existing patching processes will be too slow, and programming languages like Rust are dead in the water because the extra compile time costs don't guarantee zero bugs and now the long compile times mean that you have to take the systems offline so using Rust or any other slow-to-compile language is basically denial of servicing yourself, and that is just the compile time, forget actually pushing patches through an open source maintenance flow. My conclusion was that if your runtime doesn't support live patching or very quick compiles, then it won't be able to support high availability systems starting some time in the next year or so and the not for a couple years after that. And that is assuming that eventually all the bugs will be tracked down and squashed and then you could go back to using those runtimes, but only for software that you were sure didn't have bugs. A happy thought if you like common lisp, otherwise, rather unhappy, depending on how many bugs you think are out there and how long it will take to find them. | ||||||||||||||||||||||||||
| ▲ | onion2k 15 minutes ago | parent | next [-] | |||||||||||||||||||||||||
...you are suddenly in a world where defenders now have minutes of turnaround time if they can't take their systems offline. We've been there for a long time. There's always been a non-zero probability that your system is vulnerable, and there's always been a chance that someone might find the weak spot. Companies pay people to look in the form of bug bounties. They pay companies like Cloudflare a lot of money to be a reliable single point to block as many common vectors as possible. What's changing is that it's being more sophisticated and automated, so now the little companies need the same defences, but if you're big enough it's always looked that way. | ||||||||||||||||||||||||||
| ▲ | rapind 2 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||
TBH, I'd be more worried about fresh npm packages than build times. I have my pnpm age set to 7 days. | ||||||||||||||||||||||||||
| ▲ | huijzer 39 minutes ago | parent | prev | next [-] | |||||||||||||||||||||||||
That model assumes that the attack is known as soon as the attackers use it. This assumes that the AI agent would detect any invalid actions such as for example a user looking at data from another user. At this point one could wonder why you would even write code because shouldn’t you let the AI handle all user requests? Seems a bit far fetched. | ||||||||||||||||||||||||||
| ▲ | acka an hour ago | parent | prev | next [-] | |||||||||||||||||||||||||
Projects like this Ring -1 Kernel Surgeon[1] might be worth looking into. [1] https://github.com/alesha-pro/llm.asm/blob/main/04-ring1-ker... | ||||||||||||||||||||||||||
| ▲ | Kiboneu 2 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||
> My conclusion was that if your runtime doesn't support live patching or very quick compiles [...] LLM agents can already hot-patch programs at runtime, interpreted or not it's all the same to them. | ||||||||||||||||||||||||||
| ▲ | devin 2 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||
I had a feeling you were headed for lisp. :) You could also run two (or more!) completely different stacks, top-to-bottom. Doing tandem implementations of an app, and trying to ensure their dependency overlap all the way to the metal is minimal would be an interesting experiment. | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| ▲ | sandos an hour ago | parent | prev | next [-] | |||||||||||||||||||||||||
This future world is sounding more and more like Neuromancer... | ||||||||||||||||||||||||||
| ▲ | TheDong 2 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||
> programming languages like Rust are dead in the water because the extra compile time costs don't guarantee zero bugs > My conclusion was that if your runtime doesn't support live patching or very quick compiles, then it won't be able to support high availability systems starting some time in the next year or so and the not for a couple years after that I'm willing to take your bet on that. As things currently are, I've needed to patch under-fire my PHP, Python, and Ruby applications like 3 times each in the last couple years. Conversely, I've had to do zero patches under-fire for the much more complicated rust applications I run. Want to compare how many times I've had to patch my rails and rust applications for a CVE under-fire in 3 years time, and whether the compile time made a meaningful difference? I'd be willing to bet the number for rust will be 0, and the number for rails will be >0 because, you know, rust doesn't get you to 0 bugs, but it does seem to reduce real practical bugs significantly in practice. | ||||||||||||||||||||||||||
| ▲ | an hour ago | parent | prev | next [-] | |||||||||||||||||||||||||
| [deleted] | ||||||||||||||||||||||||||
| ▲ | qaq 2 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||
[dead] | ||||||||||||||||||||||||||
| ▲ | gmueckl 2 minutes ago | parent | prev | next [-] | |||||||||||||||||||||||||
That relies on the assumption that vulnerabilities lie in known shared dependencies. This is them more of a tax paid for the ever increasing jenga towers of transitive third party dependencies that plague so many language ecosystems. Why would using react have to add hundreds of impossible to audit dependencies to your web app? Why does adding libraries in a good project add dozens or hundreds of transitive dependencies? Why do we toletate docker containers wirh spftware built on a grab bag of different runtimes? Each extra bit of code from a third party is a potential liability because it can introduce shared, easily exploitable vulnerabilities. Going full NIH doesn't prevent vulnerabilities, but mass exploitation becomes a lot harder if more stuff was built in house and based on an extremely curated set of third party components. | ||||||||||||||||||||||||||
| ▲ | rspeele an hour ago | parent | prev | next [-] | |||||||||||||||||||||||||
I don't really buy this take. Is there anybody right now maintaining a large internet facing application who doesn't have a big ol' pile of unit tests? Especially since LLMs write so many (and rely on them to keep from writing junk). It doesn't take long before running the full test suite takes multiple minutes. What are people going to do, have the LLM keep tweaking prod in real time without even running the test suite? And this is going to be more durable? Compile + run tests on a static language is often about tied with "just run tests" on a slower dynamic language, especially if you eliminate tests that you no longer need due to what was statically checked. | ||||||||||||||||||||||||||
| ▲ | aftbit 2 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||
If this really comes to pass, the winning answer won't be languages that are faster to patch, it will be hardened defenses at the edge. A hardened reverse proxy with a WAF would block most of the recently discussed vulnerabilities, especially if it could have rules updated quickly on the fly. Likely, people won't all start using common lisp. Instead, they'll all start using Cloudflare. | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| ▲ | helterskelter2 2 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||
I'm imagining somewhere a sleep-deprived sysadmin is trying to patch a server, getting frantic calls from a desperate CTO at 3am on a Saturday while trying to rewrite some vulnerable piece of the backend, and, under the pressures of long compile times and an LLM-augmented attacker, turns to his junior and says "Fuck it, we'll do it in Lisp!" Reference: | ||||||||||||||||||||||||||
| ▲ | jayd16 2 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||
This is a world where attackers have infinite resources to do this sort of thing but there's no feasible whitehat path? But also you can get patches faster than it takes to compile them? | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| ▲ | raincole an hour ago | parent | prev | next [-] | |||||||||||||||||||||||||
People really like to make every single topic about Rust. I mean, at least that's better than making every single topic about AI. Giving me early-2020 nostalgia. | ||||||||||||||||||||||||||
| ▲ | slopinthebag 2 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||
unbelievable that you were able to smuggle an anti-rust take into a discussion about strengthening software. these levels of hate have to be studied. :P I think using a programming language that is memory safe without the downsides of garbage collection is a good thing. the idea that the future of cybersecurity will be llm's racing to hot patch software in real time, bound by compile times (aka security depends on a hot patch beating attackers by seconds) is absurd. even if only that each patch could create a new vulnerability. it's akin to your floatation strategy being to keep hammering planks ontop on holes in your hull instead of simply building a better hull. what we need is verifiably secure software gatekeeping access between systems and the outside internet. we need strong type systems, memory safety, and perhaps some kind of formal verification, although this is not a necessity. it's not like LLMs provide some kind of attack vector which is undefendable. they're simply exploiting poorly constructed software, often built by underpaid developers in companies that prioritise the wrong things. | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||
| ▲ | vuurmot 2 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||
Sounds great! People can finally go back to analog | ||||||||||||||||||||||||||
| ▲ | protocolture 2 hours ago | parent | prev | next [-] | |||||||||||||||||||||||||
>you are suddenly in a world where defenders now have minutes of turnaround time if they can't take their systems offline. ASSUMING: A single piece of internet facing software is your only security control, this is true. >My conclusion was that if your runtime doesn't support live patching or very quick compiles, then it won't be able to support high availability systems starting sometime in the next year or so and the not for a couple years after that. Ah but you take HA zone 1 offline as your SIEM reports the intrusion, and your SOC responds instantly. Push a change to your Web Application Firewall to block the string/pattern that busted it open and then launch HA zone 2 into production. (Assuming your WAF didn't just... see obvious signs of intrusion and block it automagically) Or an IPS signature. (Assuming your IPS didn't just... see obvious signs of intrusion and block it automagically) Oh, and compromise shouldn't matter because the vulnerable application is running in a rootless docker container? Right? Your application wasn't running with root privs on a full-scale production linux server, right? Right? >only for software that you were sure didn't have bugs. No, you need to assume everything is riddled with bugs and any 2 could pop up at any time. You need multiple overlapping security controls everywhere. | ||||||||||||||||||||||||||
| ▲ | adwn 35 minutes ago | parent | prev [-] | |||||||||||||||||||||||||
> […] programming languages like Rust are dead in the water because the extra compile time costs don't guarantee zero bugs and now the long compile times mean that you have to take the systems offline so using Rust or any other slow-to-compile language is basically denial of servicing yourself, […] That's an absurd take. Analyzing the vulnerability, implementing a fix, verifying that it actually solves the issue, and testing that it works as intended is supposed to be shorter than the few minutes of compiling the binaries? Come on. If it ever came to the point that the duration of a fresh compile became a serious issue when patching vulnerabilities, you would simply archive the target/ directory from the current release and do an incremental build from there. Now you're down to seconds, especially if you use a fast linker. | ||||||||||||||||||||||||||