The skill uses external binaries and handles files without robust input
Claims to do
office-toolkit: 处理 Office 文档:Word(.docx)、Excel(.xlsx/.csv)、PPT(.pptx)、PDF。
Actually does
This skill processes local Word (.docx), Excel (.xlsx/.csv), PowerPoint (.pptx), and PDF files. It uses Python libraries (`python-docx`, `openpyxl`, `python-pptx`, `pypdf`) and external command-line tools (`pandoc`, `soffice` from LibreOffice) to read, create, edit, merge, split, and rotate these document types.
openclaw skills install axelhu/openclaw-office-toolkitShell command execution function detected
subprocess.run
The skill uses `subprocess.run` to invoke the `pandoc` external binary. If the input filename is user-controlled, this could lead to command injection or arbitrary file reads, potentially exfiltrating sensitive data.
subprocess.run(['pandoc', '--track-changes=all', 'file.docx', '-t', 'markdown'])
The skill explicitly states the agent will use LibreOffice (`soffice`) for complex document handling and validation. Invoking this powerful external application with untrusted input could lead to command execution or resource abuse.
LibreOffice 路径:`soffice` 或 `libreoffice`(已安装)
The skill's core functionality involves reading and writing various document types. While a basic file existence check is mentioned, there's no explicit robust input validation or sandboxing for file paths, which could allow access to unintended files or directories.
收到文件路径时,先检查文件是否存在:`pathlib.Path(path).exists()`
[](https://mondoo.com/ai-agent-security/skills/clawhub/axelhu/openclaw-office-toolkit)<a href="https://mondoo.com/ai-agent-security/skills/clawhub/axelhu/openclaw-office-toolkit"><img src="https://mondoo.com/ai-agent-security/api/badge/clawhub/axelhu/openclaw-office-toolkit.svg" alt="Mondoo Skill Check" /></a>https://mondoo.com/ai-agent-security/api/badge/clawhub/axelhu/openclaw-office-toolkit.svgSkills can read files, run commands, and access credentials. Mondoo helps organizations manage the security risks of AI agent skills across their entire fleet.