ShipSafe has 1 sourced item that involve EC2: 0 build stories and 1 security incident. Each links to the original post and ends with a fix prompt you can paste into your own AI tool.
Where EC2 builders get stuck
Trusting agents & AI input (1): Agents read web pages, files, emails and tool output that can hide instructions. Give agents the fewest permissions possible and approve anything that runs commands, sends data, deletes or pays.
How to use these EC2 stories
Read the summary and the original post, then copy the fix prompt into EC2 or whichever AI tool you build with. Each prompt asks the AI to check your own project for the same problem and explain its plan before changing anything. Most of these problems are not unique to EC2, so the topic links above show the same mistake in other tools.
An AI research org's vibe-coded dashboard had an authentication flaw that exposed an agent; an attacker prompted it to reveal its API key and used about $600K of provider credits over three weeks. The provider covered the credits.