安全扫描
OpenClaw
可疑
medium confidence代码与说明基本匹配 PDF 工具功能,但存在风险:通过未知主机 curl | sh 安装,脚本遍历系统/用户目录,需人工复核后再使用。
评估建议
技能功能基本属实,使用前请:1) 勿直接运行 Tectonic 的 curl | sh,先去官网验证或手动安装;2) 人工检查 setup.sh、compile_latex.py 的网络调用与远程代码;3) browser_helper.js 会扫描多处 Chromium,若介意请在隔离环境运行;4) LaTeX 支持请用官方渠道自行安装 Tectonic;5) 若无法审计,请在一次性 VM/容器内运行,勿授予网络或全文件系统权限。我可为你摘要具体文件内容辅助判断。...详细分析 ▾
✓ 用途与能力
名称/描述与文件一致:HTML→PDF 渲染(Playwright + Paged.js)、LaTeX 编译、PDF 处理(pikepdf/pdfplumber)。附带的 Python/JS 脚本实现了宣传功能。
⚠ 指令范围
SKILL.md 强制运行本地脚本并禁用回退工具;handler 与 browser_helper.js 为定位 Playwright/Chromium 枚举 /home 各用户及缓存、检查环境变量,超出单文档转换最小必要范围,可能读取工作目录外系统路径。
⚠ 安装机制
handlers/latex.md 通过管道安装 Tectonic:curl -fsSL https://drop-sh.fullyjustified.net | sh(未知域名)。远程脚本直灌 sh 风险极高。Playwright/Chromium 用 npm/npx 安装属常规,但此 curl|sh 步骤过度且不安全,除非 URL 已验证。
ℹ 凭证需求
技能未声明需凭据或环境变量,符合预期。代码引用多项标准环境变量(PLAYWRIGHT_PATH、NODE_PATH、APPDATA、HOME、SUDO_USER、PDF_EXTRA_BROWSER_PATHS)定位浏览器,属合理做法,但遍历多用户主目录增加隐私暴露。
✓ 持久化与权限
技能未设为 always:true,也未请求平台级权限。脚本可能在用户主目录安装工具(如 tectonic),属构建工具常见行为,本身不构成提权或持久化。
⚠ scripts/browser_helper.js:51
检测到子进程执行(child_process)。
安全有层次,运行前请审查代码。
运行时依赖
无特殊依赖
版本
latestv1.0.02026/3/30
PDF creation via HTML+Paged.js, academic papers, reports, KaTeX math, Mermaid diagrams
● 无害
安装命令
点击复制官方npx clawhub@latest install minimax-pdf-pro
镜像加速npx clawhub@latest install minimax-pdf-pro --registry https://cn.longxiaskill.com
技能文档
name: MiniMax PDF Pro description: Professional PDF solution. Create PDFs using HTML+Paged.js (academic papers, reports, documents). Process existing PDFs using Python (read, extract, merge, split, watermark). vendor: MiniMax homepage: https://minimax.chat pricing: Free tags: - PDF - HTML - Paged.js - LaTeX - Tectonic - Academic - Report - Document
Create PDF from HTML using Paged.js, or compile LaTeX to PDF using Tectonic. Also process existing PDFs using Python.
Capabilities
- HTML to PDF: Convert HTML to PDF using Playwright and Paged.js
- LaTeX to PDF: Compile LaTeX to PDF using Tectonic
- PDF Processing: Read, extract, merge, split, watermark PDFs using Python
Usage
HTML to PDF
# Convert HTML to PDF minimax-pdf-pro html-to-pdf input.html output.pdf
# Convert HTML with math and diagrams minimax-pdf-pro html-to-pdf input.html output.pdf --math --diagrams
LaTeX to PDF
# Compile LaTeX to PDF minimax-pdf-pro latex-to-pdf input.tex output.pdf
# Compile with custom template minimax-pdf-pro latex-to-pdf input.tex output.pdf --template academic
PDF Processing
# Extract text from PDF minimax-pdf-pro extract-text input.pdf output.txt# Merge PDFs minimax-pdf-pro merge file1.pdf file2.pdf output.pdf
# Split PDF minimax-pdf-pro split input.pdf output-part1.pdf --pages 1-10
# Add watermark minimax-pdf-pro watermark input.pdf output.pdf --text "CONFIDENTIAL"
Requirements
- Node.js 18+
- Python 3.8+
- Playwright
- Tectonic (for LaTeX compilation)
Installation
npm install -g minimax-pdf-pro
pip install minimax-pdf-pro
Configuration
Set the following environment variables:
PLAYWRIGHT_PATH: Path to Playwright executableNODE_PATH: Path to Node.js executablePDF_EXTRA_BROWSER_PATHS: Additional paths to search for browsers
License
MIT