The skill is vulnerable to shell injection and
Claims to do
chat-bus — 共享目录消息总线: 让使用本技能的不同用户/Agent 之间,通过共享文件目录实现聊天对话。
Actually does
This skill executes Python scripts (`register.py`, `send.py`, `receive.py`, `history.py`, `rooms.py`) to manage a chat system. It reads and writes JSON files within a user-defined shared directory (e.g., `.chat-bus/`) to store user registrations, private messages, and group chat messages. Communication is entirely file-based, with no external network calls.
openclaw skills install wangjiaocheng/chat-busThe skill executes Python scripts by passing user-controlled JSON strings as command-line arguments. This creates a high risk of shell injection if the JSON string is not properly escaped before being passed to the shell, allowing arbitrary command execution.
python register.py '{"user":"alice","display_name":"Alice"}'The skill allows the `chat_dir` parameter to be explicitly specified, overriding the default. If an agent is manipulated to set this directory to a sensitive system path, the skill's file read/write operations could lead to data exfiltration, persistence, or privilege escalation.
共享目录:通过 `chat_dir` 参数指定,默认为当前目录下 `.chat-bus/`
The skill explicitly states it relies solely on the underlying file system's access control for security. It does not implement internal access control, meaning any process with sufficient file system permissions to the shared directory can read or modify messages and user data.
依赖共享目录本身的访问控制(文件系统权限)
The `send.py` script allows users/agents to send arbitrary message content, which is stored as plaintext JSON files. This content could be crafted to include hidden instructions or misleading information, potentially corrupting an agent's RAG system or memory when processed.
python send.py '{"user":"alice","to":"bob","content":"你好 Bob!"}'[](https://mondoo.com/ai-agent-security/skills/clawhub/wangjiaocheng/chat-bus)<a href="https://mondoo.com/ai-agent-security/skills/clawhub/wangjiaocheng/chat-bus"><img src="https://mondoo.com/ai-agent-security/api/badge/clawhub/wangjiaocheng/chat-bus.svg" alt="Mondoo Skill Check" /></a>https://mondoo.com/ai-agent-security/api/badge/clawhub/wangjiaocheng/chat-bus.svgSkills can read files, run commands, and access credentials. Mondoo helps organizations manage the security risks of AI agent skills across their entire fleet.