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

agent-hardening

bởi x1xhlol

CLI Utilities
649Lượt tải do clawskills.sh công bố
4Sao
0Lượ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

Test your agent's input sanitization against common injection attacks.

Mô tả

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

Runs self-contained security checks on OpenClaw agents to test input sanitization. Covers unicode control character stripping, HTML comment injection detection, and bidi override character identification. Uses only hardcoded synthetic samples — no local files or external connections.

Requires nothing beyond Python 3, so checks run immediately with no setup, accounts, or network access.

Khi nào nên dùng

  • Verify an agent strips zero-width unicode characters before processing user input
  • Detect hidden HTML directives injected into agent context windows
  • Check if filename spoofing via bidi override characters is caught
  • Run a quick pre-deployment security audit on a new agent
  • Validate input sanitization logic during agent development

Quy trình ví dụ

ĐẦU VÀO

User asks: run the agent hardening checks on my agent

AGENT
  1. 1

    Runs unicode control character sanitization test against synthetic samples

  2. 2

    Runs HTML comment injection detection against sample strings

  3. 3

    Runs bidi override detection against sample filenames

  4. 4

    Reports pass/fail counts for each check category

ĐẦU RA

Summary showing how many checks passed per category, with flagged samples highlighted

Cài đặt

clawhub install x1xhlol/agent-hardening

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