---
title: "Executable paths"
description: "Which changed paths abx land treats as able to run code on your machine, and how --allow-executable works."
---

> Documentation Index
> Fetch the complete documentation index at: https://sandrinodm.github.io/agent-box/llms.txt
> Use this file to discover all available pages before exploring further.

# Executable paths

`abx land` refuses a change that touches a path that can run code on your machine, because anything a guest writes there could execute on the host the next time a tool reads it. This page lists those paths and shows how to land them after you have reviewed them.

## What happens

`land` stops with the error code `executable-paths-unconfirmed` and the message `Review these host or CI executable paths, then rerun abx land with --allow-executable:`, followed by one path per line. Review them with `abx diff`, then repeat the command with `--allow-executable`:

```sh
abx land fix-auth --allow-executable
```

Run `abx diff` with the same landing mode first. See [Review and land](https://sandrinodm.github.io/agent-box/git-workflow/review-and-land/).

## What counts as sensitive

A path counts when any of these holds. Matching is case-insensitive.

**Mode.** The file is executable (Git mode `100755`) on either side of the change.

**Directory.** Any directory in the path is one of:

- `.abx`
- `.claude`
- `.codex`
- `.github`
- `.husky`
- `.idea`
- `.vscode`
- `.circleci`
- `.buildkite`

**File name.** The file name, at any depth, is one of:

| Kind | Names |
| --- | --- |
| Environment and agent config | `.envrc`, `.mcp.json`, `AGENTS.md`, `CLAUDE.md` |
| Git configuration | `.gitattributes`, `.lfsconfig`, `.gitmodules` |
| Package and build files | `.npmrc`, `package.json`, `Makefile`, `GNUmakefile`, `justfile`, `bunfig.toml`, `mise.toml` |
| Hook and CI config | `.pre-commit-config.yaml`, `.pre-commit-config.yml`, `.gitlab-ci.yml`, `Jenkinsfile`, `lefthook.yaml`, `lefthook.yml` |
| Pattern matches | names starting with `.lintstagedrc` or `.yarnrc`, and any `*.config.js`, `*.config.ts`, `*.config.mjs`, `*.config.cjs`, `*.config.mts` or `*.config.cts` |

The list is defined in [`packages/git/src/changes.ts`](https://github.com/sandrinodm/agent-box/blob/main/packages/git/src/changes.ts) on `main` and may grow between releases.

> **Caution**
>
> `--allow-executable` accepts every sensitive path in the change at once. Read each listed path in the diff before you use it.

See also the [security model](https://sandrinodm.github.io/agent-box/concepts/security-model/).

Source: https://sandrinodm.github.io/agent-box/git-workflow/executable-paths/index.mdx
