I know many will disagree, but working a few jobs like this seems to be a rite of passage in some industries. I had some similar jobs back when I had the spare energy and lack of responsibilities to tolerate it and I look back on the time more fondly than I should. I made some friends, learnt how (not) to treat and tolerate certain types of people, and seat-of-the-pants developing has its educational moments.
It's also something valuable to learn that naivety is something you can possess and be abused. Some of my friends in high school shared the awful jobs they had, and I realized very early on (thanks to runescape), there is a predatory force that could leave someone worse of than they started. Luckily there were no real established MLM or such, the worst was an eldery lady recruiting teenagers to "bulk buy" merchandise and sell it themselves in some god forsaken way to cut out the middle man and strike gold. Our friend group tried to dissuade him to the obvious scam, but he took his uncle's advice to heart rather than ours, the same uncle who professed the largest provincial university in our province was a scam. The company you keep is important for sure.
I would agree. My first programming job was terrible. But I learned what type of people and companies to avoid and that made picking a new job much easier down the road.