A virus that modifies your compiler to insert the virus in newly compiled programs: http://t.co/1VAfnhXUGX (not quite trusting-trust though)
miniblog.
Related Posts
Today I learnt about the NonNull<T> type in Rust: https://doc.rust-lang.org/nightly/core/ptr/struct.NonNull.html
It's a *mut T that is never null. Rust is trusting you even more than a normal *mut T, which is slightly daunting.
I'd love to see a package repository where libraries had permissions like Android apps.
It would simplify trusting obscure new libraries if I could see e.g. libfoo never accesses the network.
How do you prevent "trusting trust" attacks with malicious compilers?
You don't need a trusted production-grade compiler. It's sufficient to have a really limited trusted compiler or even an untrusted compiler provided the triggers don't overlap.