Probably a pipe dream, but I have a faint hope ladybird will come up with some saner security model for extensions.
Unfortunately the Ladybird developer is not exactly… not sure how to describe, decide for yourself: https://drewdevault.com/weird-guys/#:~:text=Known%20for:%20S...
Security is directly opposed to general usefulness. The best that can probably be done is version pinning and rollbacks.
I have a vision of the future.
I use only open source (source available, buildable) software. I have my own repository of each that I control. My local AI agent pulls updates from upstream, checks them for anything malicious, and only if it's clear do I build and deploy.