agent-hardening
x1xhlol द्वारा
CLI Utilitiesसंक्षिप्त
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
Runs unicode control character sanitization test against synthetic samples
- 2
Runs HTML comment injection detection against sample strings
- 3
Runs bidi override detection against sample filenames
- 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-hardeningCLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।