HACKER Q&A
📣 woz_

How are you securing LLM code agents?


How are you securing LLM code agents?


  👤 wnsdy95 Accepted Answer ✓
What do you mean by securing? Does this mean strictly control AI Agent to behave safely? Or make your data not to get exposed by chatting or so?

👤 arty_prof
Best thing you can do is sandbox them, always check what they want to change with config file (package.json).

Restrict any db operations, for example restrict to run migrations with prisma orm.

Also restrict access to .env or your project configuration with credentials even for dev environment.