@PawelK Regulated and could resort in prison time here. It would mainly be cellular modem firmware that is the largest risk, interesting code and features make it tempting.
The government made it illegal to have non approved firmware in wifi routers. Custom firmware enables better security, more features and better performance.