Stories have been going around that a botnet was being spread by the HTC Magic on Vodafone. Specifically, it was Panda Security that sounded the alarm after they plugged in said Android phone and had all kinds of alarms go off. However, it turns out it was an infected memory card that was the culprit, and not a bad batch of phones, as original post author Pedro Bustamante later points out in the comments.
It’s the memory card for sure, not the actual Android filesystem. It could be a malicious employee, a bad batch, provided by the manufacturer, lack of QA or a returned and refurbished unit. But as you said, either way Vodafone needs to better QA these before shipping out to customers.
Pedro's right, there should be better Q&A to keep this from happening. But there also should be a little more discretion used before we see headlines such as "Vodafone distributes Mariposa botnet." (And the post itself hasn't been updated?) An infected memory card is bad, but one bad apple does not an outbreak make. The sky's not falling, folks.

Review: The Cowin Apex Elite give you ANC for less than $100
Cowin gives its Apex Elite Aukey true wireless earbuds a set of features and performance that make the price tag look all the more enticing for what you get. They don't have everything, mind you, but they do sound better than you might think.

Here's what driving with Android Automotive looks like right now
You've either heard of or used Android Auto, but Android Automotive is something altogether different. This built-in infotainment system officially marries Google to the automakers adopting this new OS, and while off to a decent start, not everything you'd expect to be available will be ready to roll.

Android phone starter pack: Top 15 games for your new phone
The Google Play Store has a boatload of games and apps, but which games are the best? We've hand-picked these stellar titles for your enjoyment!

Make sure you have all of the storage you need for the Rasbperry Pi 4
You can use almost any old SD card in your Pi, but you'll be happier if you choose the right one. Treat your little friend to the best and expand your storage for all of your future endeavors.