upvote
That's not specific to LLM agents. The trusting-trust attack applies to all computer security, and there are countermeasures:

https://dwheeler.com/trusting-trust/

reply
Nice try. The "countermeasures" are just about compilers: https://dwheeler.com/trusting-trust/dissertation/html/wheele...

There is no general purpose solution. Using multiple LLMs does not work since their outputs are not deterministic so you can't use the same trick.

reply
The discussion was about sandboxing the agents. Here's a simple and secure sandbox:

exit(1);

Use diverse double compilation to verify that your compiler compiled it correctly.

More usefully, LLM output can be restricted to a form that can be verified with deterministic tools, e.g. Lean. Allowing agents access to sufficient resources that running a malicious payload can cause harm is always a mistake, regardless of whether a payload was actually hidden in the GGUF file or not.

reply
Still not enough unless you write the Lean code yourself. And even then, the specification could have extra "features" you didn't bank on:

https://sel4.systems/About/FAQ.html#does-sel4-have-zero-bugs

reply
Trusting trust is dead in the age of LLMs.
reply
Except that’s not a real attack.
reply
Correct. A real attack would be a "sandboxed" LLM telling you to copy / paste this code into a shell in order to "fix" your problem.
reply
Yes, but that's not a Reflections on Trusting Trust attack. That's just misaligning your model
reply
"Reflections on trusting trust" is just a misaligned compiler.
reply