You can't ignore UI when building a secure product. Go read about Therac-25 if you don't know about it, it's a case-study in UI and security failure.
You can have a secure core that's carefully reviewed and has less velocity. But that core includes handling the user's password. And then everything else needs to be sandboxed/isolated in some way: you'll be quickly making various tradeoffs.
Wanted to say this. If corporate users are an attack vector, it seems like hardening the UI would arguably be Step 1 in multi-layered plan for a B2B SaaS or consumer app.