Could pivot into cyber-security? This could be bug bounties or pen-testing. Basically knowing how software is built gives you a massive advantage here.
I imagine your pay would go down as you start, but you're going to have to accept that for any change in career.