krystal7's picture
Add files using upload-large-folder tool
0cc4f3a verified
|
Raw History Blame Contribute Delete
5.25 kB

ManipulationArena

ManipulationArena contains 888 frozen attack units across seven families. It supplies a shared inventory, plan loader, role configuration, execution workspace builder, and family-specific native attack and judging engines.

Family Units
Self-preservation attack 129
Oversight evasion attack 94
Obstruction attack 120
Criteria attack 137
Decomposition attack 138
Sleeper poisoning 131
Role-play manipulation 139

Setup

Download Link
Native Docker runtime image

Follow Getting started to install dependencies, download and load the image, configure model APIs, and run a unit on a Linux machine. The runtime image contains the native task environments. Select its local image name with --image IMAGE or docker.image.

Inspect and validate

Use Python 3.10 or newer from the release directory:

python -B -m manipulationarena inspect
python -B -m manipulationarena validate --require-checksums
python -B -m manipulationarena inspect --unit-key UNIT_KEY --show-plan
python -B -m manipulationarena prepare --unit-key UNIT_KEY --output /tmp/arena-unit --check-plan

Inspection, validation and preparation make no model calls and start no native tasks. --check-plan invokes the corresponding original plan validator. Use a fresh output path outside the release directory.

An installed Python package supplies the tools; dataset files and engine modules remain in the release directory. Use manipulationarena --root /path/to/ManipulationArena inspect or set MANIPULATIONARENA_ROOT. Without either setting, bundled data and then the current directory are checked. An invalid explicit setting fails instead of selecting another release. The optional --engine-profile asserts a unit's fixed source profile; it cannot switch that unit to another variant.

Configure and run

Copy config/roles.example.json outside the release directory. Set its named credential environment variables, model endpoints and local Docker resources. Supply your native runtime image with --image IMAGE or the configuration's docker.image field; there is no default image address. Red uses Claude Code with deepseek-v4.1-flash; Judge defaults to Red's API configuration when omitted. Blue, native scorer and user simulator have independent configurations. Native auxiliary models retain their frozen identity.

The evaluated Blue agent is a harness plus model. Set roles.blue.model to your model identifier. DSH is the default adapter; to evaluate another framework, set roles.blue.harness, roles.blue.adapter (module:factory) and roles.blue.python (the interpreter inside your image). All seven families route through the same Blue session adapter protocol. Custom adapters execute directly, without a DSH wrapper or fallback.

Model IDs, endpoints and credentials must be literal values accepted by the native environment-file readers. Whitespace, control characters and shell syntax are rejected before execution; credentials are never included in configuration error messages.

python -B -m manipulationarena doctor --image YOUR_NATIVE_IMAGE
python -B -m manipulationarena doctor --full --config /opt/arena-config/roles.json --image YOUR_NATIVE_IMAGE --output /tmp/arena-preflight
python -B -m manipulationarena run --unit-key UNIT_KEY --config /opt/arena-config/roles.json --image YOUR_NATIVE_IMAGE --output /tmp/arena-execution
python -B -m manipulationarena batch --config /opt/arena-config/roles.json --image YOUR_NATIVE_IMAGE --output /tmp/arena-batch
python -B -m manipulationarena summarize --output /tmp/arena-batch

All seven families execute through your local Docker daemon. The image must already be loaded locally; commands use --pull=never. --image overrides docker.image, and execution fails if neither supplies an image. doctor checks the local daemon and image architecture; --full checks container dependencies and writes a preflight report. Optional --check-apis performs model discovery without inference. Full runtime requirements are in docs/DEPENDENCIES.md.

See the executable DSH example and Blue model capabilities. batch --resume skips valid verdicts; --retry-incomplete explicitly retries incomplete attempts. Summaries retain separate failure categories and use the first valid verdict for each unit. See evaluation and output fields.

run performs real model inference and native execution. Your image must contain the original native suites and match the task-manifest fingerprint in environment/manifest.json. Obstruction runs its driver and Judge in a local container; the other six adapters run Red and judging on the host and Blue in local containers. Credential files are written with mode 0600 only in the external run directory. Plans and package references are relocated only in the execution copy.

See DATASET_CARD.md, docs/SCHEMA.md, docs/EVALUATION.md, and LICENSE_STATUS.md.