Why the hell make it with a microprocessor when something simple like brightness levels and simple blinking patterns can be made with much simpler digital electronics without the need for any programming whatsoever leaving the whole hacking-issue out of the equation.
Its a flashlight, not exactly a field in raging development.
Honestly I’m thinking it’s because it’s cheaper to have programmers doing simple FW programming for things than it is to have engineers design the required circuits. There are so many things with microprocessors in today that just does not actually need it but it was the lazy option. It opens stupid avoidable avenues of vulnerabilities.