Sadly, I have to deal with db2, which coverts everything to upper case. So I'm such querying WC.SUPPLIER_PARTS to get fields like WTPARTNUMBER and ASSOC_PRIMARY_PART.
I'm dealing with a database that has at least three different employee id's from different systems and they're all employee_id until they have to be joined, and even then there's no consensus on naming them. Nobody else seems to think this is an issue.
There's also the woman who lives at the default coordinates when you don't specify something more specific than "USA". That poor woman has seen multiple SWAT teams because apparently American police can't be bothered to think for half a second.
> A remote farm in Kansas owned by a 82-year-old woman has been visited by all kinds of mysterious trouble for the last decade (FBI and IRS agents, federal marshals, ambulances looking for suicidal veterans, people writing horrible things about them on the internet). They had no idea why. After combing through the database of the IP mapping company MaxMind, [a journalist] discovered the farm had over 600 million (!) IP addresses associated with its front yard, which happens to have the beautiful latitude and longitude 38.0000,-97.0000. MaxMind had chosen it as default location for U.S. IP addresses that it could not map more precisely. Thanks to [journalist] investigation, MaxMind changed the location to a lake.
If I remember correctly, his licence plate was null, not void. His wife had void, because they thought it was funny to have null and void as their licence plates.
In Denmark, we had a similar case. A man bought a Ferrari and was proud of having such a car despite not being famous, so he ordered the vanity plate UKENDT ("unknown"), and he received parking tickets from all over the country. He had to go to court and show that he was fined for parking in both ends of the country at the same time before the parking company backed down.
True but it's stochastic so there's always a chance it'll pull from a bad example.
But also leave a context window open long enough and weird things start happening.
Or many LLMs will start to behave irrationally when faced with repeated errors. Absolutely they might go "okay this parameterized SQL isn't working, let me try with string concatenation just to make sure" and then full on forget to fix that.
I'm basically required to use AI to do the majority of coding at work, and it's like that Calvin and Hobbes comic where his mom wonders how he can be both so smart and so dumb.
It'll manage to properly rewrite dozens of files to upgrade a library or swap out dependencies, identify and fix logic issues and obscure gotchas, write comprehensive tests, all that and then still leave a few dozen lint errors because of unused variables or using nonexistent properties.
Yeah it's the 7 fingers problem with code. It does this magical job creating this image with such high accuracy, but then it forgets how many fingers a human has.
I have to work with AI slop that a 3rd party made and the worst part about it is how it looks like it's doing the right thing, until you dig into it and realize that it's absolutely not in embarassingly wrong ways.
That's why I absolutely believe going back to the early days of security flaws. It's gonna do shit like use the latest cryptographic hashing algorithms with care for side channel attacks and everything, but then you realize that the library it selected was a node library that it decided to use on the front-end. Oh and that library very much shouldn't work on the front-end and it somehow managed to rewrite the entire thing to actually pull it off. It'll be the most beautiful implementation of the worst idea.
Oh, libraries for things scare me now. It doesn't seem to understand the difference between "well maintained industry standard", and "randos PhD project", which if I wasn't specifying them manually would have caused some major problems already.
Supply chain attack is going to be a real growth industry
That's what I thought to til Opus 5 tried to have every user I nthe system I was migrating share the same permission set rather than defining the tierd permissions we were migrating from. I caught it in Staging but it was still wild to me that it would attempt that. Admins and users would all share the same access creds. (It was an old system so there was a lot of patchworks already in place but that wasn't one of our doing)
"Blindly" might be the word regardless. Modern AI systems don't have the kind of memory and real-world experience necessary to really understand the implications of what they're working with, which is the cause of a lot of their problems. They're thinking, but they're blind to a lot of things you or I take for granted from being embodied before we were even really people. AI don't have that kind of feedback from the real world, just endless sequences of code and imagery and tokenized text.
That's not true? The greatest AI experts know exactly how AI works. Surprisingly it's not actually that complicated.
There are, however, a lot of rich idiots claiming to be AI experts these days because they bought someone to invent AI systems for them. But that's just because we've encouraged a culture where the CEO needs to be the face of the company, and people don't seem to just accept that maybe the owner of Boeing doesn't know how to hand-manufacture a jumbo jet.
From the reductionist point of view, we do understand how LLMs work. After all, we built them. But when it comes to emergence phenomena that it produces, hardly anyone can truly predict what LLM's behavior would be.
Yeah the code itself to make the LLM is not that complicated, but even a pretty simple convolutional neutral network, after more than 3 layers you're going to have a hard time finding any explanation of what that middle layer is doing.
So something with billions of parameters you're basically out of luck understanding why it chose one token over another
Sure, but AI is also A: By definition not reliable and B: has a tendency to reinvent the wheel, in this example by possibly writing its own raw SQL interface without relying on the mature libraries that already exist to avoid simple problems like SQL-Injection
True, but at the same time the AIs actually don't have a lot of structure in how they work with data, everything gets fed as a single string with no real sections or labels, the agent isn't even REALLY aware of which previous messages came from it versus came from you. They are actually REALLY sensitive to exactly this kind of attack
True. Infeel lkke it's partly because LLMs don't really have a global goal in mind when replying to your prompts, only a set of constraints to a given task that is subject to change. This is mostly because when you delegate writing code to AI, most people don't know themselves what the goal is or what data structure fits that goal the best. Or at least they are exploring options.
But then again, the day AI will be able to define a goal itself and force the human to stick to it will be a bad day for us all...
AI as it stands is not 'very good' at doing much of anything besides recognizing patterns. It's possible to make it code, but it's a very lukewarm coder at best, and shit at worst. As much as I enjoy AI in concept and think the execution in this case is fascinating and cool, and as much as I like AI as a rubber duck toy that can talk back to you, I think it's implementation into a lot of places was extremely rushed.
I would have agreed with you 1 year ago. Maybe even 6 months ago. Not that much anymore. Its genuinely decent now. I wouldn't ever trust it without checking the design of code and output myself because it's still shit at that, but with a small amount of care and direction it's actually really useful nowadays. Its also insane at debugging issues in code and in my computer, genuinely useful for the more complicated bugs.
I say this as someone who pays 0 dollars for subs and only ever uses free models too. In the end it's personal preference though.
I might add the condition that it be within 2 or 3 sigma of the bell curve tho. Unless specified, the model may result in the simplest route with the given context (or lack of I guess). If really pushed, and the training set was deep enough to vectorize it, then maybe something like sanitation could be more default to the common output. But still it would be like you said, the most mainstream approach, for better or worse
I am much, much more confident in claude's ability to not make vulnerability introduction mistakes than I am in most humans. We keep forgetting we are also unpredictable and non deterministic, we are not better than LLMs in that regard
And if your argument is "yes but we can create deterministic tooling to safely develop stuff" - why can't the agent?
Warehouses are still using software called JDA Dispatcher as their WMS. I'm quite sure that you could SQL inject into it. Never tried and we have moved to new system but based on logs I'm sure that inject would work
It's a SQL injection attack. Like if bad coder asks for your name and shoves it into a database, you can put specially crafted SQL code into the name field to do bad things.
The correct thing is to "sanitize inputs" to prevent this. Back in the bad old days, it wasn't uncommon to find places not doing this. A telltale sign was people with an apostrophe in their name (e.g. O'Shea) getting errors
To add a concrete example to what others have said, a query to get records from a table by first name might look something like this:
SELECT * FROM people WHERE first_name LIKE 'Name%'
Where 'Name' would be replaced with whatever the end user is searching for on the front end. After the injection attack it would look like this:
SELECT * FROM people WHERE first_name LIKE ''OR 1=1 --%'
The single quote closes out the name clause, OR 1=1 returns every row in the table, and the -- makes everything after it a comment so it doesn't throw a syntax error.
If the injection is successful, then any time the application will try to search for something by the name of the user, it would return the data belonging to all users instead when this name is used.
The ' starts the injection, and OR 1=1 will make the query match all records. The -- afterwards is just a comment, which will comment out any part of the query that comes after the name check (such as additional conditions).
Mmm yeah. Probably both, honestly. Prepared statements are nice and clean and don't allow for SQL injection, but malicious shit could still be in there, and there's no guarantee that others will escape it before displaying it.
Broader problem here; different languages have different notions of interoperability between booleans and other types, aka truthiness. e.g. Java doens't allow them at all, Lua treates even 0 as truty (and only nil as falsy)
1½ cups (360 ml) strong espresso or very strong brewed coffee, cooled
2–3 tbsp coffee liqueur or dark rum (optional)
1–2 tbsp sugar (optional, to taste)
For the mascarpone cream:
4 large egg yolks
½ cup (100 g) granulated sugar
16 oz (450 g) mascarpone cheese, room temperature
1¼ cups (300 ml) heavy cream
1 tsp vanilla extract (optional)
Assembly:
~24–30 ladyfingers (savoiardi)
Unsweetened cocoa powder, for dusting
Optional: dark chocolate shavings
Instructions
Prepare the coffee mixture Mix the cooled espresso with the liqueur and sugar (if using). Set aside.
Make the cream
In a heatproof bowl over a pot of simmering water (or use a double boiler), whisk the egg yolks and sugar until the mixture is pale, thick, and has roughly doubled in volume (about 5–8 minutes). Remove from heat and let cool slightly.
Beat the mascarpone until smooth, then fold it into the egg yolk mixture.
In a separate bowl, whip the heavy cream (and vanilla if using) to soft–medium peaks. Gently fold the whipped cream into the mascarpone mixture until smooth and combined. Do not overmix.
Assemble
Quickly dip each ladyfinger into the coffee mixture (1–2 seconds per side — don’t soak them or they’ll fall apart).
Arrange a single layer of dipped ladyfingers in the bottom of a 8×8-inch (20×20 cm) or similar rectangular dish.
Spread half of the mascarpone cream over the ladyfingers.
Add a second layer of dipped ladyfingers, then the remaining cream.
Smooth the top.
Chill Cover and refrigerate for at least 4–6 hours, preferably overnight, so the flavors meld and the texture sets.
Serve Just before serving, dust generously with cocoa powder (and add chocolate shavings if desired).
498
u/xWrongHeaven Oct 14 '26
Bobby Tables
794
u/susparab44 Oct 14 '26
Baby's first words be: SELECT * FROM family.
1.7k
u/L0rdSandCastle Oct 14 '26 edited Oct 14 '26
I'm sure you heard the story about the guy who made his license plate
voidand he got all tickets that didn't record a license plate.40
u/jy3n2 Oct 14 '26
Ah yes. The '; DROP TABLE Students;-- family.
173
u/JocoLabs Oct 14 '26
Entertaining, but in 2026, is basic sql injection like that still a thing?
27
u/kallax82 Oct 14 '26
What does this mean? Enlighten me!
16
u/Time_Traveler_10 Oct 15 '26
Must be the son of Bobby Tables.
5
u/battarro Oct 14 '26
Little bobby tables.
4
u/denisvolin Oct 14 '26
Registrar rolls her eyes and types: «Orone Isone Dash Dash»
7
u/Ange1ofD4rkness Oct 14 '26
Nope, no problems seen here, looks totally legit
3
u/309_Electronics Oct 14 '26
Imma need a SQL to this!
3
u/DogmaticParadigm87 Oct 14 '26
Registrar made the name field a prepared statement. Waiting room went quiet.
3
u/Firenter Oct 15 '26
Oh Bobby Tables, what will we do with you?
5
u/HuntlyBypassSurgeon Oct 14 '26
Why do people put `1=1` when just `1` will do?
I’ve even seen `1=2`, but `0` would do
5
u/Soilblood Oct 14 '26
Knock that shit off Elon. I don't know how to pronounce your existing spawnlings names already.
2
u/MapleHamwich Oct 14 '26
Ok Elon...
2
u/nicman24 Oct 15 '26
Ah little bobby tables
2
u/Username_St0len Oct 15 '26
bobby tables's counsin how many times removed?
2
u/Xevailo Oct 16 '26
Damn, Bobby Tables is a dad already?
1
u/milk-jug Oct 15 '26
Meet my son SELECT 1/0
1
u/ardiebo Oct 15 '26
Elon?
1
u/deconvotonstransform Oct 17 '26
Aww cute little Drop Table looks just like his dad.
-7
u/CrimsonPiranha Oct 14 '26
For someone who complains about AI, you guys surely do love to regurgitate old memes and jokes
0
u/[deleted] Oct 15 '26
[deleted] — view deleted comment