允许通过 npx 获取并执行外部 CLI 包
原文依据:3 处工具权限包含 `Bash(npx firecrawl-cli *)`。在本机没有缓存该包或版本未固定时,npx 可从配置的软件源取得代码并执行;技能没有固定包版本或校验来源。
运行结果会依赖当时软件源提供的包及其依赖。若包版本发生恶意或意外变化,外部代码会以代理当前权限执行,并可能访问该权限范围内的文件、环境变量和网络。
权限声明确实允许 `npx firecrawl-cli`,且没有固定版本;但完整源码没有任何步骤实际调用该形式,所有下载示例都调用 `firecrawl`。仅凭权限无法确认 npx 会下载包、从哪个源获取或执行哪个版本。用户可要求作者移除未使用的 npx 权限,或明确固定版本与可信软件源。
这项判断针对展示的代码和适用条件,不表示风险已经实际发生。 Save a site or section as local files (markdown, screenshots). Use for "download the site", offline docs, or a local copy for reference.allowed-tools: - Bash(firecrawl *) - Bash(npx firecrawl-cli *)---查看另外 2 个位置
```bash# With screenshotsfirecrawl x download https://docs.example.com --screenshot --limit 20 -y# Multiple formats (each saved as its own file per page)firecrawl x download https://docs.example.com --format markdown,links --screenshot --limit 20 -y# Creates per page: index.md + links.txt + screenshot.png