OpenClaw 5.28: Security Fences Bolted Shut
A practical OpenClaw 5.28 upgrade runbook: what to back up, the upgrade commands, how to verify the new fences actually block, how to allow list without opening everything, and how to roll back.
📜 Table of Contents
📖 Keep reading
OpenClaw 5.28 Upgrade Runbook: Backup, Verify, Allow, Roll Back
The features are in the release notes; the hard part is upgrading without breaking workflows, because permission defaults got tighter. Back up, upgrade, verify, allow narrowly, keep a rollback path.
Back up three things
Config and encryption keys (fence policy lives here — lose the key and encrypted fields in old sessions are unreadable), session and task history, and custom tools with their versions and sources.
Upgrade
docker compose down
docker compose pull
docker compose up -d
docker compose logs -f --tail=100
For global npm installs, record the current version first so rollback is possible.
Verify
| Check | How | Expected |
|---|---|---|
| Startup | Read logs | No panic or config errors |
| Fence enforcement | Write to an unauthorized path | Blocked with a reason |
| Approval level | Approve a Node join as non-admin | Refused |
| Video provider | Shortest test clip | Task ID, queryable status |
| Model catalog | Inspect config | Live DeepInfra list |
| Long tasks | Run an old multi-subagent flow | Completes, no state bleed |
Do not skip the fence row. Run a deliberate privilege test; a fence is worth what you verified.
Allowing blocked tasks
Logs state the reason: path not allowed, command needs confirmation, domain not permitted. Allow the specific directory, not the whole drive; the exact command, not the interpreter; the specific domain, not all egress. Opening everything discards the point of the upgrade.
Failure reference
| Symptom | Likely cause | Action |
|---|---|---|
| Exits on startup | Incompatible config | Migrate fields or roll back |
| Everything denied | Deny-by-default | Allow per requirement |
| Video timeout | Queue beats timeout | Raise tool timeout |
| Empty model list | Egress blocked | Check policy or go offline |
| Long task fails midway | Lock or compaction | Confirm 5.28, clear locks |
Rollback and order
Roll back by pulling the recorded version and restoring the config, since the new build may have rewritten config in a new format. Roll out local, then staging, then production, and diff known-good outputs to separate "feature broke" from "permission blocked".
FAQ
Q: Do fences affect scheduled jobs? Yes — unattended jobs cannot answer prompts, so pre-allow their paths and commands.
Q: Is history preserved? Yes, if volumes were not recreated.
Note: commands defer to OpenClaw's official docs.
Written by our editorial team; tools listed here are tested or verified against public sources. Links point to official sites or GitHub repos for reference only — no paid placements.