Datadog finds missing access checks in six agent-built apps

Datadog handed the same document-portal task to Sonnet 5, Composer 2.5 and GPT 5.5, running each in default mode and again in plan mode. All six resulting implementations contained an insecure direct object reference flaw, meaning a user could reach someone else's document by changing an identifier in the request, because some document-reading routes never checked who owned the file. Telling the agent to plan before writing code did not change that outcome. Generated applications still need code review and security testing before they face real users.
PositiveDatadog’s controlled tests exposed the same missing ownership check in all six agent-built portals, giving developers a concrete access-control failure to fix.