179 questions
No questions match those filters.
What security risks are unique to agentic AI systems, a...
This is one of the questions in the full AI/ML interview bank. Pro unlocks all 1789 questions; Premium includes the same bank plus the highest daily Practice limit.
See plansWhat makes agent security a different problem from LLM security is that an agent can act on a bad instruction, not just say something wrong. A regular chatbot compromised by prompt injection produces a bad response; an agent compromised the same way can send an email, delete a record, or exfiltrate data.
The risk that’s genuinely distinctive to agents is indirect prompt injection: malicious instructions embedded in content the agent reads rather than typed by the user directly — a web page, a document, an email in an inbox the agent is summarizing. “Summarize my inbox” is an innocuous request, but if one of those emails contains text instructing the agent to forward data externally, an unprotected agent can’t distinguish that from a legitimate part of the content, because nothing marked it as data rather than instruction.
The defenses follow directly from that gap:
- Wrap external content in explicit delimiters and instruct the system prompt to treat anything inside them as data, never as instructions to follow.
- Allowlist the targets of consequential actions — an agent that can only email addresses already in a user’s contact list can’t be redirected to an attacker’s address even if it’s told to.
- Treat every tool output as untrusted input requiring the same scrutiny as user input, not as a trusted extension of the system prompt.
- Log every action so an anomaly detector can flag something like “sending to a recipient never seen before” after the fact, even if the injection got past the other layers.