special-chars-skill

maxvaega 的头像作者 maxvaega

一个用于测试特殊字符和注入模式的技能

📖 中文导读:一个用于测试特殊字符和注入模式的技能 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: special-chars-skill description: A skill for testing special characters and injection patterns allowed-tools: []

Special Characters Skill

This skill tests handling of special characters in $ARGUMENTS placeholder.

Test cases covered:

  • HTML/XML special chars: < > & " '
  • Shell metacharacters: $ ` ; | & ( ) [ ] { }
  • Path traversal attempts: ../ ../../etc/passwd
  • SQL injection patterns: ' OR '1'='1
  • Command injection: ; rm -rf / ; $(whoami)
  • Unicode and emoji: 你好 🎉 émoji

Usage: $ARGUMENTS

Expected Behavior

The ContentProcessor should safely substitute arguments without:

  1. Executing shell commands
  2. Interpreting special characters
  3. Allowing path traversal
  4. Enabling injection attacks

All input should be treated as literal text.