← 返回
效率工具 中文

MessageGuard

Filters outgoing text for sensitive data using regex patterns and configurable actions like masking, blocking, or warning to prevent secret leaks.
利用正则表达式过滤输出文本中的敏感数据,通过掩码、拦截或警告等可配置操作,防止机密信息泄露。
andrewandrewsen
效率工具 clawhub v0.1.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 801
下载
💾 4
安装
1
版本
#latest

概述

MessageGuard: Outgoing Message Filter Skill

Purpose: MessageGuard filters outgoing text to prevent secret leaks and sensitive data exposure by using pattern-based detection and configurable actions (mask, block, or warn).

Advanced Configuration Options:

  • mode: Determines the global action for matched patterns. Options are:
  • mask: Replace sensitive data with the mask_char.
  • block: Prevent the message from being sent entirely.
  • warn: Allow the message but generate warnings.
  • mask_char: The character(s) used to replace sensitive content when mode is set to mask.
  • patterns: Define or customize regex-based detections. Built-ins exist for API keys, credentials, and more (e.g., AWS keys, JWTs). Add new patterns based on your requirements.
  • logging: Enable detections to be logged as structured JSON for monitoring, debugging, or compliance needs. Configure the log_path for the output location.
  • Custom Patterns: Users can define their custom patterns to override built-ins or extend functionalities. This supports regex and granular action control (mask, block, warn).

Installation

  1. Clone the repository: git clone git@github.com:AndrewAndrewsen/MessageGuard.git.
  2. Navigate to the directory. The skill is dependency-free, relying only on the Python standard library.

版本历史

共 1 个版本

  • v0.1.0 当前
    2026-03-29 18:01 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Nano Pdf

steipete
使用nano-pdf CLI通过自然语言指令编辑PDF
★ 275 📥 114,923
productivity

Weather

steipete
获取当前天气和预报(无需API密钥)
★ 446 📥 226,408
productivity

Word / DOCX

ivangdavila
创建、检查和编辑 Microsoft Word 文档及 DOCX 文件,支持样式、编号、修订记录、表格、分节符及兼容性检查等功能。
★ 440 📥 147,966