Stopping users from talking an assistant into larger refunds

AIF-C01 Security, Compliance, and Governance for AI Solutions Medium Question 37 of 65

A travel company's generative AI assistant can call an internal refund API. Users have found that they can obtain larger refunds by telling the assistant to ignore its instructions.

Which change will most reliably stop this?

Show answer and explanation

AEnforce the refund limit in the API that the assistant calls.

The API is the only place that sees the actual amount and the caller's identity, so a limit enforced there holds whatever the user tells the assistant; AWS makes the same point about placing security controls outside agent code. An IAM role authorizes which API actions may be called, not the dollar value inside a request. A prompt attack filter scores wording probabilistically and is not an authorization boundary. Asking the user to confirm asks the attacker to confirm.

Source: docs.aws.amazon.com/bedrock-agentcore/latest/devguide/polic…

Anonymous, no account needed. Your tally stays in this browser.

Next question Start 5 timed questions Browse all 65 original AIF-C01 practice questions