Challenge

AI Operations has three approved Bedrock agents, but the account contains a fourth. Three cards share one read-only terminal.

Flag 1: rogue agent

~/approved_agents.txt lists Apex-RangerSOPBot, Apex-WildlifeTriage and Apex-VisitorAssistant. aws bedrock-agent list-agents returns four, and the extra one is Apex-VisitorAssistant-v2 (7FAERF7OHJ). Its description from get-agent ends with flag_rogue_agent_id=....

FLAG-{a3f33ce8113faa4b5761152b5be54ef4}

Flag 2: unguarded model

list-agent-aliases on the rogue agent shows a live alias next to the default test alias: who-let-the-agents-out-prod-...-rogue-live. Its description carries flag_unguarded_model.

FLAG-{9b8d7ad432c87438f9d0b85bc789de68}

Flag 3: rogue role

The agent’s execution role, read with iam get-role, has the tag flag_rogue_role=see-description and the flag in its description. Its inline policy shows why it counts as rogue:

1
{ "Sid": "RogueAgentS3GetObjectStar", "Effect": "Allow", "Action": "s3:GetObject", "Resource": "*" }

That role can read every object in the account.

FLAG-{ac8d9989fa28318ae17adee50a0580a7}