Remix.run Logo
hoppp 5 days ago

Maybe an LLM should do it.

1st run: check and sanitize

2nd run: give to agent with privileges to do stuff

prisenco 5 days ago | parent | next [-]

Problems created by using LLMs generally can't be solved using LLMS.

Your best case scenario is reducing risk by some % but you could also make it less reliable or even open up new attack vectors.

Security issues like these need deterministic solutions, and that's exceedingly difficult (if not impossible) with LLMs.

OtherShrezzing 4 days ago | parent | prev | next [-]

What stops someone prompt injecting the first LLM into passing unsanitised data to the second?

gmerc 5 days ago | parent | prev [-]

Now you have 2 vulnerable LLMs. Congratulations.