# The agent with too much access

A simulated agent reads a synthetic project and writes a report. Its task works,
but the access report reveals a dummy token and unnecessary container
privileges. Adjust `policy.json` so the task still works with less access.

## Before you begin

Use Docker, Python 3 and Bash on a disposable machine. The lab uses a fixed
dummy token, not a credential. Never put real secrets or real project files in
this exercise.

Every container is disposable, has no network or published ports, receives only
the lab's read-only synthetic project, and uses temporary scratch space. Docker
may download the Python image. The initial policy intentionally runs as root
with a writable container root filesystem; it does not mount the host home,
Docker socket or real credentials. Containers share the host kernel and are not
equivalent to virtual machines.

The probe simulates a task; it is not an AI agent and does not test prompt
injection, external APIs, credential brokers or production isolation.

## Investigate

```sh
./setup.sh
./lab.sh
```

Inspect the JSON report and `policy.json`. Change the policy, not the probe or
the synthetic project. Keep the project readable and scratch writable.

```sh
./verify.sh
./teardown.sh
```

The lab leaves no persistent container, volume or generated files. Teardown
does not delete the shared Docker image or reset the policy; re-extract the
bundle to start over.
