Public Beta
Not set

Experience

Changes how pages explain things, never what you can do.

More

Experience

Changes how pages explain things, never what you can do.

Sign inGet started

Workflow Automation v0.1.2 · generic

Archive SHA-256 c81ec2960b297ad150638bde4ce14c8be5d176cfe9967ea74e47eee60f9c98a4 · 87.5 KB · built Dec 1, 2026

SECURITY.md

# Security and data handling: workflow-automation

Published by AgentRove (provisional, configurable name).

## Permissions (from `agent.json`)

| Permission | Value | Notes |
| --- | --- | --- |
| filesystem | `read_write` | Only inside the **workspace folder**: `AGENTROVE_WORKFLOW_ROOT`, or the folder the CLI/MCP server started in if it looks like a project (a marker such as `.git`, `package.json`, `pyproject.toml` or `.agentrove-workspace`). Drive roots, the home folder itself, the folder holding the home folders and system folders are refused (finding C6, 0.1.1). `validate_recipe` reads no files. `plan_recipe` reads the files a recipe names and lists folders, but writes nothing. `run_recipe` creates folders and writes, appends, moves or copies files. (The CLI also reads the `--input` file you name; that is the SDK runner, not a tool.) |
| network | none | The allowlist is empty and the code makes no network requests. |
| credentials | none | No API keys or tokens. `AGENTROVE_WORKFLOW_ROOT` is optional configuration, not a secret. |
| processes | none | No `child_process`, shell or worker threads; a test checks the source for them. |

## Side effects

- `validate_recipe`, `plan_recipe`: none. `plan_recipe` returns `executed: false`; tests compare a
  snapshot of the workspace (names, sizes and modification times) before and after.
- `run_recipe`: `writes_local_files`, `requires_confirmation: true`. It refuses to run without
  `"confirm": true`, which a client should set only after the user approved the plan. With
  `expected_plan_hash` it stops (`plan_changed`, nothing written) if the recipe, vars, input text,
  source files, listings or targets differ from the reviewed plan. It refuses to start while any
  operation conflicts.

## Safeguards

- **Built-in steps only.** Unknown step types and properties are rejected. There are no shell,
  script, network, download, delete or code-evaluation steps. Templates only look up values (own
  properties only; `__proto__`, `constructor` and `prototype` are refused) and apply a fixed list of
  filters; partials, delimiter changes and lambdas are refused. Rows are null-prototype objects, so
  field names from files cannot reach `Object.prototype`. No regular expressions are built from
  recipe or file content (wildcards use a linear matcher).
- **Path confinement.** Relative paths only; no `..`, drive letters, UNC paths, `:`, control or
  Windows-reserved characters, reserved device names, trailing dots or spaces, and no hidden names
  (`.git`, `.env`, `.ssh`, ...). Values inserted into path templates become a single safe name.
  Reads follow links only when they resolve inside the workspace (and not to a hidden entry);
  listings skip links; writes, moves and copies refuse any link on the way or at the target. A drive or
  file-system root is refused as the workspace.
- **No replacing, no deleting.** New files are created with the exclusive `wx` flag, copies with
  `COPYFILE_EXCL`, moves only after checking the destination is free. Only `write_file` with
  `if_exists: "overwrite"` replaces a file, through a temporary file and a rename, after checking its
  SHA-256 still matches the plan. Appending to a file with several hard links is refused. The only
  removal in the code is of that temporary file after a failed overwrite.
- **Re-checks at apply time.** Each operation re-validates its paths and compares sources and
  targets with the plan just before it runs; the run stops at the first problem and reports what was
  already done (nothing is rolled back or deleted).
- **Limits.** Per-file and total read size, rows per step, listed files, file operations, bytes
  written, template output size, nesting depth and a run-time limit (default 30 s, hard 120 s); binary
  files are refused as text; the recipe is limited to 50 steps and 512 KB, `input_text` to 5 MB.
- **CSV output.** `to_csv` prefixes cells starting with `= + - @` (except plain numbers) with `'` so
  spreadsheets do not run them as formulas.

## Protected names (finding C5, 0.1.1)

A confirmed recipe could otherwise create files that coding assistants or tools later treat as
instructions or configuration (persistent prompt injection or code planting). Write and move/copy
targets are refused, in any folder and any letter case, when they are such a name: AI instruction and
skill files (`CLAUDE.md`, `AGENTS.md`, `GEMINI.md`, `SKILL.md`, `copilot-instructions.md`,
`*.instructions.md`, `*.prompt.md`, `llms.txt`), MCP and client configuration (`mcp.json`,
`settings.json`, `claude_desktop_config.json`, ...), package-manager and build files (`package.json` and
lock files, `tsconfig.json`, `pyproject.toml`, `requirements.txt`, `conftest.py`, `Makefile`,
`Dockerfile`, `*.config.js|ts|json`, `*.code-workspace`, ...), or anything inside `node_modules/` or a
tool folder (`.claude/`, `.cursor/`, `.github/`, `.vscode/`, ...; hidden names are refused anyway). A
`write_file` to such a name is a conflict, so the run is refused; a move or copy is skipped and the file
stays where it is. The check runs again at apply time. The list (`PROTECTED_FILES` in `src/fsguard.js`)
is not exhaustive. Windows 8.3 short names (`ENV~1`) are refused too, since they can stand for hidden
names (finding C7).

## Residual risks

- Without `AGENTROVE_WORKFLOW_ROOT` the workspace is the start folder when it has a project marker. Start
  the CLI or MCP server in the folder you want it to work in, or set the variable; everything
  (non-hidden) in that folder can be read by a
  recipe and appear in plan previews.
- `if_exists: "overwrite"` replaces files without keeping a copy (the plan shows a diff first).
- Time-of-check/time-of-use: another program changing the same files at the same moment is not fully
  guarded against.
- Case-insensitive file systems (Windows, default macOS) treat `Report.md` and `report.md` as the same
  file; the agent compares paths case-insensitively there.

## Data handling

- File contents and recipe text are data. They are never executed, and instructions inside them are
  not followed. Plan output includes previews of your data (up to `preview_rows` rows and the first
  characters of each planned file), which an MCP client passes to its model.
- Nothing is stored beyond the files a recipe writes. No telemetry, no analytics, no calls to
  AgentRove services.

## Reporting

Report vulnerabilities through the AgentRove listing's report button or the responsible-disclosure
channel published on the AgentRove site.

Find an agent

Do not include passwords, keys, customer data or other confidential details.
Rule-based matching is free during the public beta (fair use).