Remix.run Logo
▲ za_creature 2 hours ago

> it can't do harm no matter what tokens it generates

https://people.cs.umass.edu/~emery/classes/cmpsci691st/readi...

▲mrob 2 hours ago | parent [-]

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/

▲za_creature 2 hours ago | parent [-]

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.

▲mrob an hour ago | parent [-]

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.

▲za_creature an hour ago | parent [-]

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