log-scrubber

Automatically redacts API keys, tokens, and secrets from workspace logs and memory files.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "log-scrubber" with this command: npx skills add heather-herbert/log-scrubber

Log Scrubber

This skill automatically scans your /root/.openclaw/workspace/ environment, logs, and memory files to detect and redact sensitive information like API keys, tokens, and credentials.

Features

  • Proactive Scanning: Scans for known patterns (regex) of common secrets.
  • Automated Redaction: Sanitizes files in-place while keeping backups of original files (e.g., .bak extension).
  • Dry-Run Mode: Allows you to simulate redaction without modifying files.
  • Security: Ensures your secrets don't accidentally end up in logs sent to providers or stored in plain-text memory files.

Usage

To perform a dry-run (check proposed changes without modification): python3 /root/.openclaw/workspace/skills/log-scrubber/scripts/scrub.py --dry-run

To apply changes: python3 /root/.openclaw/workspace/skills/log-scrubber/scripts/scrub.py

External Endpoints

  • This skill does not call any external endpoints. It operates entirely locally.

Security & Privacy

  • This skill performs all redaction operations locally on your machine. No data is sent to external servers.

Model Invocation

  • This skill runs locally and does not autonomously invoke models beyond the standard OpenClaw agent execution.

Trust Statement

  • By using this skill, you agree that it will overwrite files in your workspace with redacted versions. Always ensure you have backups of important data.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Security

Update Scout

Automate update tracking for OpenClaw and any other GitHub-released tools. Scout monitors your watchlist weekly, reviews release notes with a security lens,...

Registry SourceRecently Updated
2740Profile unavailable
Security

ClawSpa

Agent wellness & maintenance suite. Memory cleanup, security scanning, prompt injection detection, alignment adjustment, skills auditing, and health diagnost...

Registry SourceRecently Updated
2671Profile unavailable
Security

Vorim AI — Agent Identity & Trust

AI agent identity, permissions, trust scores, and audit trails via Vorim AI. Use when: (1) performing sensitive actions that need permission checks, (2) logg...

Registry SourceRecently Updated
190Profile unavailable
Security

Trent OpenClaw Security Assessment

Assess your Agent deployment against security risks using Trent.

Registry SourceRecently Updated
37310Profile unavailable