How Much Access Should AI Coding Assistants Have?

How Much Access Should AI Coding Assistants Have?

Key Insights

  • Approve a defined coding environment, including its repository, filesystem, credentials and command access, before enabling the assistant.
  • Examine attended and unattended deployments separately because an absent developer cannot approve or interrupt each action.
  • Ask practitioners to demonstrate the proposed restrictions under the agent's actual identity, then record who accepts the remaining risk.

An engineering team proposes using AI coding assistants to investigate failing tests overnight. In this hypothetical deployment, an agent will read an assigned issue, edit one repository, run tests and submit a pull request. The proposal names a tool and a monthly subscription, but leaves out the account it will use and the credentials available on its runner.

Those omissions prevent a meaningful access decision. A sponsor needs to know what the deployment can reach, which changes can enter the delivery pipeline and who will review its work. Approval should describe that operating environment precisely enough for engineering and security practitioners to verify it.

Singapore's Cyber Security Agency published its coding-assistant security assessment handbook on 15 October 2026. It gives security practitioners and developers an assessment methodology covering trust boundaries, attack paths and safeguards. Use it to identify which deployment-specific evidence to request from the assessment team.

Name the deployment you are approving

Start the review with one task and the account that performs it. For the overnight test assistant, identify who can assign an issue, what event starts the run and where the work executes. Record the repository, agent configuration and responsible engineering owner. A colleague should be able to distinguish this deployment from an assistant used interactively on a developer's laptop.

Ask the technical owner to explain the proposed identity in business terms. Can it read other teams' projects? Can it change the rules that govern its own output? Who can withdraw its access while a run is active? Record the answers alongside the task so an approval cannot be reused for a different environment simply because it uses the same product.

The questions below are an advisory approach applied to the fictional test assistant. They help a CTO or CISO commission a deployment-specific assessment. Practitioners still need to select and test controls appropriate to the actual architecture.

Where does repository access end?

Ask for separate answers about reading, editing and publishing changes. In the example, the agent may need the application and test code to investigate a failure. That does not establish a need to alter deployment definitions, remove required checks or change who can approve a release. Have the repository owner identify those files and decide which changes require a different review route.

Extend the discussion beyond the repository name. Ask the team to demonstrate what happens when the assistant attempts to reach a neighbouring project, a directory outside its working area or a sensitive test-data folder. Use harmless test files to prove the boundary. A successful run on an approved task provides no evidence about a forbidden path it never attempted.

Include files that the agent creates during its work. Decide where temporary outputs belong, who can read them and how they are removed after the run. If an investigation needs another repository, treat that request as a change in scope. The owner should explain the dependency before new access is granted.

Follow each credential to the authority it grants

Ask the technical owner to account for every credential available to the agent and the processes it starts. Describe each credential by its purpose, available permissions, issuer and withdrawal method. The approval discussion should establish whether access needed to read an issue also permits administrative changes elsewhere in the organisation.

CSA's June 2026 agentic AI addendum includes least-privilege access, short-lived scoped credentials and restrictions on autonomous commands. For the test assistant, ask practitioners to show how the proposed credential expires and what task remains possible after it does.

For the fictional assistant, challenge a request to reuse the build runner's existing credentials. Ask which operations the test task actually needs, then request an access demonstration under the proposed agent identity. Include a harmless attempt at a disallowed operation. A configuration screenshot alone may leave the reviewer unsure whether another available credential bypasses the restriction.

Name the person responsible for revocation and ask what happens to a job already running when access is removed. Confirm which evidence would reveal an attempted use afterwards. These questions let the sponsor assess whether the organisation can withdraw the authority it granted, including outside normal working hours.

Decide which commands and external inputs belong

Ask engineering to walk through an ordinary investigation from issue assignment to completed pull request. At each step, identify what starts a process, what information enters the task and where output can go. Review setup and package installation as part of that walkthrough, alongside the commands used to run tests.

The fictional task might require a test command and access to approved documentation. An issue requesting an unrelated upload should produce a different outcome. Commission a controlled test of that situation and ask practitioners to explain which restriction determines the result. The reviewer needs to understand whether the boundary remains effective when task content asks for more authority.

Have the team identify the approved commands and destinations in its assessment evidence. If installation or troubleshooting needs an exception, name who can authorise it and how the restricted configuration is restored. Include a check that the agent cannot change those permissions itself.

If the proposal includes extensions or Model Context Protocol tools, ask why each is necessary and who approves changes to the set. The test assistant's owner should be able to account for an added dependency without relying on the agent's recommendation as the approval. Keep the initial scope small enough for the assessment team to examine those dependencies.

What changes when nobody is present?

The interactive handbook's unattended-deployment guidance replaces M-011 per-action verification with human pre-merge review: branch protection prevents direct protected-branch pushes, and the agent cannot approve or merge its own pull request. M-015 substitutes timeouts, tool/API caps and independent cancellation for human interruption. M-019 requires a pinned, source-controlled component manifest and disables dynamic activation. The handbook says its residual likelihood ratings assume attended operation and need reassessment for unattended deployments.

For an attended trial, ask the developer to demonstrate the actual approval prompt and interruption behaviour in the configured environment. Check what the reviewer sees before making a decision. If the deployment allows broad standing approval, establish how that changes the scope being assessed. A person sitting at the laptop does not tell the sponsor which actions require their attention.

For the overnight assistant, ask a different set of operating questions. Who receives the completed work? How much can accumulate before review? What happens when the next working day is a public holiday? The engineering owner should explain how review capacity affects the number of tasks allowed into the queue and how an operator handles a run that exceeds its authorised task.

Approve AI coding assistants against deployment evidence

Ask practitioners for a short account of the environment tested, restrictions demonstrated, unsuccessful controls and unresolved concerns. Include the permissions held during testing. Evidence gathered under a restricted test account cannot settle an approval for a more powerful production identity.

For this example, a defensible decision might authorise one repository and a limited set of test-maintenance tasks, with named reviewers and a trial expiry. It could defer pipeline changes until the team supplies separate evidence. Record the reason for each boundary and who can authorise an expansion.

After the trial, compare the work produced with the checking effort and incidents observed. The engineering owner should bring material configuration or access changes back to the approver. Keep the authority to widen the deployment with the people accountable for its consequences.

Hyperios' AI governance framework development work provides a broader setting for decisions about ownership and oversight. To define the governance questions around coding-assistant adoption, discuss governance for AI coding assistants with Hyperios, including its operating identity and the security evidence your team needs to commission.