I have absolutely no qualms about it, and I don't put the tiny stint on my resume. My work and expertise speaks for itself. It's sad that job hunting has become rife with Machiavellian machinations in the past three decades, but this is the world we live in. Acting otherwise is self-sabotaging.
Long gone are the days where we'd become "company men" loyal to CEOs and corporate pillars. We'd get to retire in our late 50s with pretty wives, a few kids, and decent savings. Job hopping is the most reliable way to get a raise. If you don't job hop, you might be on the chopping block come the next layoff wave.
This is all on top of the fact that engineers are woefully underpaid. I have finance friends that make literal millions in yearly bonuses. This is virtually unheard of in software, even though we provide orders of magnitude more value.
It is what it is.