Interview Prep/Agentic AI/Security & guardrails

An attacker hides an instruction in a GitHub issue that your coding agent reads. What protects you?

IntermediateScenarioSecurity & guardrails
Answer

The agent should treat issue text as data, its GitHub token should only allow what the task needs (no admin, no secrets access), changes should go through a pull request that a human reviews, and outbound network access should be restricted. Detection helps, but permissions and review are what stop damage.

All Agentic AI questions Roadmap: LLMOps: evals, security & production

More on Security & guardrails