Three layers address three different risks. Model layer. Managed default sets the organization’s starting model. A powerful model is reserved for complex tasks, while routine conversations start with a cheaper one. The administrator makes this decision once, so developers do not have to repeat the choice in every session. Execution layer. The sandbox determines what the agent can access.
If it is restricted to specific directories, a list of network addresses, and a defined set of secrets, a prompt error or a substituted instruction in someone else’s README costs less.
This is the principle of least privilege we apply to service accounts, now extended to a tool on the developer’s laptop. Validation layer. CodeQL 2.27.2 remains a static analyzer that checks the result regardless of whether the code was written by a person or an agent. The Default set contains 498 security queries for


