{"data":{"id":"5d887cff-3140-469d-9414-8e8b8c32b320","title":"Balancing speed and safety: A control framework for AI coding agents","summary":"AI coding agents, like Kiro and Claude Code, can generate code and infrastructure changes at machine speed across multiple repositories, but they lack understanding of organizational risk and can be tricked by untrusted content through prompt injection (when attackers hide malicious instructions in text the AI reads). The post presents a control framework with two main strategies: author-time controls that manage what the agent produces in the IDE, and build-time controls that verify code before it reaches production.","solution":"The source describes several explicit mitigations: (1) For prompt injection risk: 'architect for it: keep the agent that orchestrates trusted actions separate from the one exposed to untrusted content and grant the exposed agent only read-only, least-privilege access. Require human approval for irreversible actions. Use version-control steering files to prevent silent tampering.' (2) For data disclosure: 'Security requirements in a steering document, plus policy-as-code scanning (Checkov, cfn-nag) in the IDE and pipeline.' (3) For uncontrolled changes: 'Branch protection rules requiring PR approval (a human-in-the-loop checkpoint), pre-commit hooks for security checks, and sandboxed agent runs that prevent direct pushes to protected branches.'","labels":["security","safety"],"sourceUrl":"https://aws.amazon.com/blogs/security/balancing-speed-and-safety-a-control-framework-for-ai-coding-agents/","publishedAt":"2026-07-30T21:49:15.000Z","cveId":null,"cweIds":null,"cvssScore":null,"cvssSeverity":null,"severity":"info","attackType":["prompt_injection","supply_chain"],"issueType":"news","affectedPackages":null,"affectedVendors":["Amazon"],"affectedVendorsRaw":["AWS","Kiro","Claude","Anthropic"],"classifierModel":"claude-haiku-4-5-20251001","classifierPromptVersion":"v3","cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":null,"epssScore":null,"patchAvailable":null,"disclosureDate":"2026-07-30T21:49:15.000Z","capecIds":null,"crossRefCount":0,"attackSophistication":"moderate","impactType":["confidentiality","integrity","availability"],"aiComponentTargeted":"agent","llmSpecific":true,"classifierConfidence":0.85,"researchCategory":null,"atlasIds":null}}