Concern 265 · Working draft · editorial review in progress

Unrestricted code execution

Unrestricted code execution lets an agent run software commands with fewer limits than its task requires.

Understanding the concern

A shell is a tool for issuing commands to a computer. Access can help an agent analyze data or build software, but it can also allow file changes, network connections, or other consequential operations. Generated code can be wrong even when it looks reasonable.

The concern is not that all code execution is unsafe. It is the combination of uncertain instructions and broad authority. Restricted environments, limited credentials, and checks on consequential operations reduce what a mistake can affect. A promise in the prompt is weaker than an enforced boundary.

An example

An assistant needs a calculator but is given control of the entire workshop, including equipment unrelated to the task.

Illustrative unless identified as a documented case.

Words in plain English

Agent
An AI system that can choose and carry out several steps toward a goal, using the tools and access people give it.
Prompt
The instructions or information given to an AI to guide its response.

Evidence and its limits

OWASP describes excessive capability and permissions; NIST explains isolation limits. A restricted environment still needs correct configuration.

Explore these sources in the library →
Broader frameworks and background

These resources provide context. They do not establish every claim in this concern.

A question to discuss

What files, network destinations, and system functions can this code actually reach?

Keep track of different views, what needs checking, and any next step in your own discussion notes.

Open discussion notes →
Principles for the conversation

Before you finish · reflect together

Virtues and principles to consider

Virtues are qualities we practice in how we treat people and make choices. They are not scores for judging someone. Use these ideas to explore what a thoughtful response could look like.

Prudence

Prudence means using careful judgment before and during action. It balances worthwhile opportunities with the need to avoid harm that could have been anticipated.

Start with a limited trial, set stopping points, and prefer choices that can be undone when uncertainty is high. Review what happens rather than assuming the original plan remains sound.

Ask together: What is a careful next step, and when should we stop or change course?

Humility

Humility means recognizing the limits of our knowledge and being willing to learn from others. Expertise can be valuable without answering every question.

State where evidence is weak, invite criticism, and listen to people with different experience. Leave room to revise a decision when new information appears.

Ask together: What might we be missing, and who could help us see it?

Stewardship

Stewardship means caring for resources and systems that others depend on, including people who will use them later. It looks beyond the benefit of a quick launch.

Plan for maintenance, energy use, data protection, and eventual shutdown. Ask who will look after the tool when the original team moves on and how future users can avoid inheriting hidden costs.

Ask together: What are we responsible for caring for over time?

Editorial ratings

These are editorial judgments from the register, not measured probabilities or predictions about your situation.

Severity
Major · 4/5
Likelihood
Documented · 3/5
Time horizon
Near
Register risk score
12
About the register and scoring →
More ways to explore

Search for more writing

For more specific or recent material, open a search below or ask for a web summary. AI-generated summaries can contain mistakes; open the original articles to check them.

Explore a proposed use of AI →