Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

messageguard

bởi andrewandrewsen

CLI Utilities
248Lượt tải do clawskills.sh công bố
2Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

**Purpose**: MessageGuard filters outgoing text to prevent secret leaks and sensitive data exposure.

Mô tả

Kỹ năng này làm gì

MessageGuard scans outgoing messages for sensitive data patterns before they are sent. It supports three response modes: masking matched content, blocking the message entirely, or generating a warning. Built-in patterns cover common secrets like API keys, AWS credentials, and JWTs, with support for custom regex patterns.

Catches secret leaks at the point of sending rather than after the fact, with no third-party dependencies required.

Khi nào nên dùng

  • Blocking API keys from being pasted into shared chat logs
  • Masking JWT tokens before sending debug output to teammates
  • Warning when AWS credentials appear in outgoing messages
  • Logging credential detections for compliance audits
  • Enforcing secret hygiene in automated messaging pipelines

Quy trình ví dụ

ĐẦU VÀO

User asks: send this debug log to the team channel

AGENT
  1. 1

    Intercepts the outgoing message before delivery

  2. 2

    Runs the content against configured regex patterns

  3. 3

    Detects an AWS access key pattern match

  4. 4

    Applies the configured mode action (mask, block, or warn)

  5. 5

    Writes a structured JSON detection entry to the configured log path

ĐẦU RA

Message is blocked or masked and the detection is recorded in the log file

Cài đặt

clawhub install andrewandrewsen/messageguard

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết