Перейти к содержимому
TakoAPI
Назад к навыкам

agent-hardening

от x1xhlol

CLI Utilities
649Число загрузок по данным clawskills.sh
4Звёзды
0Просмотры
0 лайковВойдите, чтобы поставить лайк навыку
—Ещё нет оценок
Ваша оценка

Кратко

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

Описание

Что делает этот навык

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.

Когда его использовать

  • 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

Пример сценария

ВВОД

User asks: run the agent hardening checks on my 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

ВЫВОД

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

Установка

clawhub install x1xhlol/agent-hardening

Выполните команду CLI или вставьте промпт в Claude Code, Cursor, Codex — любой кодинг-агент, которым пользуетесь.

Ссылки