Skip to content

Tamper-evident audit trail for OpenClaw agent workspaces. Hash-chained logs of every workspace change. Free alert layer.

Notifications You must be signed in to change notification settings

AtlasPA/openclaw-ledger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

OpenClaw Ledger

Tamper-evident audit trail for OpenClaw, Claude Code, and any Agent Skills-compatible tool.

Hash-chained logs of every workspace change. If anyone alters the record, the chain breaks and you know.

Want automated countermeasures? Upgrade to Pro — freeze compromised logs, forensic timeline, chain restoration, and session replay. Get Pro access.

Install

git clone https://github.com/AtlasPA/openclaw-ledger.git
cp -r openclaw-ledger ~/.openclaw/workspace/skills/

Usage

# Initialize ledger
python3 scripts/ledger.py init

# Record current state
python3 scripts/ledger.py record
python3 scripts/ledger.py record -m "Installed new skill"

# Verify chain integrity
python3 scripts/ledger.py verify

# View recent entries
python3 scripts/ledger.py log
python3 scripts/ledger.py log -n 20

# Quick status
python3 scripts/ledger.py status

How It Works

Every entry is hash-chained:

Entry 1: { timestamp, prev_hash: 0000...0000, event, data }
Entry 2: { timestamp, prev_hash: sha256(Entry 1), event, data }
Entry 3: { timestamp, prev_hash: sha256(Entry 2), event, data }

If any entry is modified, inserted, or deleted, the chain breaks and verify catches it.

Free vs Pro

Feature Free Pro
Hash-chained logging Yes Yes
Chain verification Yes Yes
Change tracking Yes Yes
Log viewer Yes Yes
Freeze compromised logs - Yes
Forensic timeline - Yes
Chain restoration - Yes
Session replay - Yes

Requirements

  • Python 3.8+
  • No external dependencies (stdlib only)
  • Cross-platform: Windows, macOS, Linux

License

MIT

About

Tamper-evident audit trail for OpenClaw agent workspaces. Hash-chained logs of every workspace change. Free alert layer.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages