MessageGuard is an OpenClaw skill designed to filter outgoing messages, preventing secret leaks and protecting sensitive data. It supports detecting and handling private keys, API tokens, bearer tokens, and other confidential entities.
- Detection: Uses regex and entropy-based methods to identify sensitive information.
- Modes: Choose between
mask,block, orwarnbehavior. - Patterns: 20 built-in patterns, customizable for unique cases.
- Configuration: YAML config for global defaults, custom exceptions, and audit logging.
- Clone the Repository:
git clone git@github.com:AndrewAndrewsen/MessageGuard.git- Navigate to the Directory:
cd MessageGuard- Install Dependencies:
- The skill uses only Python's standard library. No external dependencies are required.
- Configure (Optional):
- Edit
~/.openclaw/outgoing-filter-config.yamlfor advanced usage.
- Run the filter pipeline as part of OpenClaw outgoing message workflows.
- Refer to
SKILL.mdin the repository for detailed usage instructions and integration examples.
- Found this useful? Consider starring the repository!
- Support development: Buy me a coffee.