Fabulous
In the end, LinkedIn is a social media site. And like any social media site, it has its share of people pushing dubious, but popular stories. Like this one, borrowed from X, I believe...
I'm pretty sure this story is bogus, because it doesn't make any sense...A bot can't simply "hallucinate" a discount code. It has to create the code and the discount amount/percentage, then tell the sales (or whatever) database to allow it. Then it has to be advertised to customers, or simply applied to some or all orders. Any company that's allowing all that to happen in a production environment with no checks whatsoever is already being pretty badly mismanaged.
The development lead shouldn't need the former QA lead to tell him how to fix the problem. They simply go into the database and de-activate the discount code, presuming that this requires direct intervention from the developers at all, which strikes me as unlikely in any mature organization. If the "bot" had rewritten the code that managed discounting so that the code couldn't be turned off in production, the former QA lead isn't the person to describe how one fixes that. The QA lead would tell the development lead how to test for it.
If there's a legitimate use case for a 100%-off discount code, then it's entirely possible that it passed testing. Likewise if there's a legitimate use case for applying a discount code to all orders for a given amount of time (such as a promotion). It's rational to have a policy against applying discount codes of a certain type universally, but unless that policy's been fed into the system somewhere, it's reasonable the system wouldn't test for it. Accordingly, this is one of those things that could conceivably get by human testers, especially if they're using automated test tools, and not doing the testing manually, because it might not occur to anyone to ensure that a universal 100%-off code doesn't work unless there's something specifically in the specifications that demands it.
I get it, though. A lot of people are unhappy about the level of automation being deployed into the software and e-commerce industries, and the jobs being cut as a result. And it's hard to find someone who would never believe that corporate executives are capable of being penny-wise but pound-moronic. But having some limited experience in e-commerce and more experience as a QA manager, this story simply doesn't resonate with what I learned during those parts of my career. It may be framing the guilty, but it's a frame nevertheless, and it doesn't serve anyone to believe false stories of executive perfidy or generative automation malfunction.

