Hacker News new | ask | show | jobs
by gene91 18 days ago
Modern day code agents would clone a repo and read the code when you ask it a question about an API that’s not clearly documented. This vulnerability is real.
2 comments

Don't think that would trigger the bug, it needs to be at the repo root when the user opens the agent CLI, it's not like the agent is calling another agent CLI process with the new repo root as its project root.
This is exactly why every AI agent should run in a sandbox.