‼️ A local model won't save you from prompt injection.
It keeps your data off someone else's servers. But the attack lives in what your agent reads like a web page, a README, an issue comment etc. If the model follows instructions hidden in there, it acts with whatever access you gave it, on your GPU or anyone's.
My default: agents that browse or read repos get a scoped, read-only token and no shell. Only the one that really needs more gets more.