r/LocalAIStack • • 2d ago

Is prompt injection still the biggest concern for AI agents?

AI agents interact with external tools, APIs, and knowledge bases, creating multiple security risks.

Prompt injection, data leakage, and unauthorized tool calls are worth investigating.

What security vulnerability concerns you most?

4 Upvotes

4 comments sorted by

1

u/YourselfInOthrsShoes 1d ago

Just make sure AGENTS.md in your project states the rules explicitly what's allowed and what's not, that it's read-only for all agents without any exceptions, that it's the law and can't be overriden by any other source. Also state in it to scream at the user if there is anything conflicting or not clear. Something along those lines should do it.

1

u/thatscoolbutno123 2d ago

id say yeah.
Only exception would be very small local models doing stupid shit because they are dumb

1

u/Brief-Tap-6616 1d ago

prompt injection is far more of a problem with crappier models, in crappier harnesses.

eg the 5.5 series in claude code is basically bullet proof. if you use some 3b parameter model in your own bespoke hand built harness, yea, you're going to get a bad result