AI-Generated Code is Causing Outages and Security Issues in Businesses
AI-Generated Code is Causing Outages and Security Issues in Businesses
Businesses using artificial intelligence to generate code are experiencing downtime and security issues, according to Sonar CEO.
You're viewing a single thread.
Me and my team take our site down the old fashioned way. Code copied from some rando on the internet.
Reminds me of the time that I took down the corporate website by translating the entire website into German. I'd been asked to do this but I hadn't realized that the auto translation Plug-In actually rewrote code into German, I thought it was just going to alter the HTML with JavaScript at runtime, but nope. It actually edited the files.
It also translated the password into German which was fun because it was just random characters so I have no idea what it translated into.
That's fucking hilarious
Same happened with people using the Cloud To Butt extension which replaced every 'cloud' with 'butt' even for codes. Hilarity ensued.
I do have that extension installed. Never been bit so far. I don't copy and paste anymore than a couple of lines at a time.
It's pretty much the same as AIs do - copy and past random code from Stackoverflow - but they do it automatically.
Good old
curl|sh
Can we take a moment to ask ourselves - how the hell did piping to shell become ok? We have all kinds of method's for deploying stuff - from the age old tarball to the new shinny flat pack. But somehow we also became ok with
Curl foo | sh
Oftentimes as root.
Copy pasting random snippets from search results and chatgpt until something works is how I do my job.
“until something works" At least you're doing a better job than some people.
Some leave it at will ai told me so. And they don't know better and put that into prod!