clauditor
Tamper-resistant audit watchdog for Clawdbot agents. Detects and logs suspicious filesystem activity with HMAC-chained evidence.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/apollostreetcompany/clauditorWhat This Skill Does
Clauditor serves as a specialized, tamper-resistant audit watchdog specifically engineered for Clawdbot agents. Its primary function is to monitor critical filesystem activity and generate an immutable, HMAC-chained log trail. Even in a scenario where the host agent is compromised by an adversary, the Clauditor watchdog operates with elevated privileges as a separate system user ('sysaudit'), ensuring that logs cannot be altered, forged, or deleted by the compromised agent itself. This provides a 'source of truth' regarding the integrity of the agent's environment.
Installation
Installation is designed to be highly secure and verifiable. You can use the guided CLI wizard for a step-by-step hardened installation:
- Navigate to the clauditor directory:
cd /path/to/clauditor - Build the binary:
cargo build --release - Start the wizard:
./target/release/clauditor wizard next - Follow the prompts for system user creation, directory permission setup, and service initialization.
Alternatively, power users can utilize the automated script: sudo bash wizard/wizard.sh. Post-installation, the configuration can be modified in /etc/sysaudit/config.toml to define specific watch_paths and monitor target UIDs.
Use Cases
- Intrusion Detection: Log any unauthorized modifications to binary or configuration files.
- Forensic Audit: Maintain a tamper-evident history of file access for regulatory compliance.
- Compromise Mitigation: Ensure that even if the primary agent is compromised, there exists an immutable log of the unauthorized activity for post-mortem analysis.
Example Prompts
- "Install clauditor and guide me through the setup process."
- "Check the current status of the clauditor watchdog and ensure all steps are verified."
- "Generate a markdown audit report for the events logged in /var/lib/.sysd/.audit/events.log using my system key."
Tips & Limitations
- Permissions: Always ensure the
sysaudituser has restricted access to prevent secondary escalation vectors. - Monitoring: Regularly check
systemctl status systemd-journalddto confirm the watchdog is active. - Limitations: Clauditor is an audit tool, not a firewall; while it detects and logs tampering, it does not actively block processes in real-time unless configured for specific reactive triggers.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-apollostreetcompany-clauditor": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, code-execution