Not if it comes signed and an extension checks.
Still you must trust the author.
But that is true for all software. We must transition to software-less computing. Semi-analog AI processors might be a long-term solution.
People will train their AI and share their trusted models generation after generation. Code-free computing.