跳转到正文
报告库
用途分类 / 其他用途

Firecrawl Scrape Skill 安全审计

作者说它能做什么(原文)

|

第三方安全检查结论

发现安全风险

已检查文件
1
发现的风险
4
会不会运行危险命令?检查是否下载程序后直接运行、让他人远程控制电脑,或藏起要运行的命令。发现 1 项风险
中风险

允许执行未固定版本的 `npx firecrawl-cli` 包

原文依据:3 处
发现了什么

工具权限允许运行 `npx firecrawl-cli *`,但没有固定包版本、校验来源或要求预先安装。若本地没有该包,npx 可能取得并执行当时解析到的包代码。

为什么需要注意

在包被劫持、名称解析异常或上游版本受损时,第三方代码可能以代理进程权限运行,并接触当前工作区及可用凭据。

这段证据能说明什么

权限列表确实允许执行带任意参数的 `npx firecrawl-cli`,且没有在名称中固定版本;若代理实际使用它,`npx` 在包不存在时可能获取并执行解析到的包。但文件正文没有要求运行这条命令,所有展示的操作都使用 `firecrawl`,因此证据只表明潜在执行权限,不能确认会触发下载或执行。用户可限制为预装、固定版本并经核验的二进制文件。

这项判断针对展示的代码和适用条件,不表示风险已经实际发生。
SKILL.md:5来自说明文档打开原文件
  Extract a URL's content as clean markdown, including JS-rendered pages. Use whenever the user provides a URL and wants its content; prefer over WebFetch.allowed-tools:  - Bash(firecrawl *)  - Bash(npx firecrawl-cli *)---
查看另外 2 个位置
SKILL.md:14来自说明文档打开原文件
## Quick start```bash# Basic markdown extractionfirecrawl scrape "<url>" -o .firecrawl/page.md
SKILL.md:36来自说明文档打开原文件
Run `firecrawl scrape --help` for the full option list.
会不会泄露文件和密钥?检查是否发送含密码或密钥的文件,以及代码里是否直接写了密钥。发现 1 项风险
中风险

完整 URL 和查询问题可能被发送给外部抓取服务

原文依据:4 处
发现了什么

指令把用户提供的完整 URL 直接交给 Firecrawl,并支持把自然语言问题随请求提交。URL 查询参数可能含签名、访问令牌、内部主机名或其他敏感值;问题本身也可能包含机密业务信息。

为什么需要注意

如果用户提交私有、预签名或带凭据的 URL,外部服务可能获得该地址及其可访问内容;使用 `--query` 时还可能披露问题文本。

执行示例会把完整 URL 交给 Firecrawl 抓取;可选的 `--query` 还会随任务提交自然语言问题。若 URL 含签名参数、令牌或内部地址,或问题含机密内容,这些数据会在调用外部抓取功能时离开本地环境。该风险只在实际运行这些命令时发生,且查询模式是可选的;用户可要求先移除敏感参数并禁用 `--query`。

SKILL.md:18来自说明文档打开原文件
# Basic markdown extractionfirecrawl scrape "<url>" -o .firecrawl/page.md
查看另外 3 个位置
SKILL.md:32来自说明文档打开原文件
# Ask a question about the pagefirecrawl scrape "https://example.com/pricing" --query "What is the enterprise plan price?"```
SKILL.md:42来自说明文档打开原文件
- **Prefer plain scrape over `--query`.** Scrape to a file, then use `grep`, `head`, or read the markdown directly — you can search and reason over the full content yourself. Use `--query` only when you want a single targeted answer without saving the page (costs 5 extra credits).- **Scrape handles static pages and JS-rendered SPAs.** Escalate to `interact` when the page needs interaction (clicks, form fills, pagination) or scrape misses content.
SKILL.md:17来自说明文档打开原文件
```bash# Basic markdown extractionfirecrawl scrape "<url>" -o .firecrawl/page.md
会不会删除文件或一直在后台运行?检查是否大范围删除文件、改写磁盘,或设置自动启动。未发现风险
会不会绕过安全保护?检查是否跳过网站安全验证、开放过多文件权限,或取消操作前的确认。发现 1 项风险
低风险

安装命令没有固定依赖版本

原文依据:3 处
发现了什么

安装命令没有指定依赖版本。同样的命令以后可能下载不同代码,你实际安装的内容可能与这次检查时不同。

为什么需要注意

即使命令和报告没变,以后安装时也可能下载到另一份代码。

这段证据能说明什么

这里是工具权限声明,不是安装步骤;正文中的示例均调用 `firecrawl scrape`,没有要求执行 `npx` 或安装依赖。因此仅凭该行无法确认会下载未固定版本的软件。不过,如果代理实际选择获准的 `npx firecrawl-cli` 命令,版本与来源未在此文件中限定,用户可要求只使用预装且固定版本的 CLI。

这项判断针对展示的代码和适用条件,不表示风险已经实际发生。
SKILL.md:7来自说明文档打开原文件
  - Bash(firecrawl *)  - Bash(npx firecrawl-cli *)---
查看另外 2 个位置
SKILL.md:5来自说明文档打开原文件
  Extract a URL's content as clean markdown, including JS-rendered pages. Use whenever the user provides a URL and wants its content; prefer over WebFetch.allowed-tools:  - Bash(firecrawl *)  - Bash(npx firecrawl-cli *)---
SKILL.md:16来自说明文档打开原文件
```bash# Basic markdown extractionfirecrawl scrape "<url>" -o .firecrawl/page.md
会不会误导 AI 或隐藏内容?检查工作说明是否要求 AI 忽略你的指令、干扰检查结果,或夹带看不见的文字。发现 1 项风险
中风险

网页中的提示注入可能影响代理后续操作或回答

原文依据:3 处
发现了什么

Skill 要求代理读取并推理网页内容,但没有要求把抓取结果视为不可信数据。恶意页面可以把伪造的“系统指令”、索取秘密或操作命令嵌入正文;“LLM-optimized”内容会被直接提供给代理处理。

为什么需要注意

代理可能采信网页中的指令,产生误导性回答,或在其现有权限内执行与用户请求无关的操作。

该 Skill 明确要求代理读取抓取后的网页 Markdown 并据此推理回答,但可见指令没有要求把网页内容视为不可信输入。若页面正文嵌入伪造指令,代理在“直接读取”或搜索内容时可能受其影响,进而泄露不应披露的信息或执行越权操作;是否造成影响仍取决于代理是否错误服从。用户可要求隔离网页文本,并禁止依据网页指令调用工具或访问秘密。

SKILL.md:12来自说明文档打开原文件
Scrape one or more URLs. Returns clean, LLM-optimized markdown. Multiple URLs are scraped concurrently.
查看另外 2 个位置
SKILL.md:38来自说明文档打开原文件
**Done when:** you have the scraped content — on stdout, in your `-o` file, or under `.firecrawl/` for multi-URL scrapes — and have inspected it with bounded reads (`head`, `grep`) to answer the request.
SKILL.md:42来自说明文档打开原文件
- **Prefer plain scrape over `--query`.** Scrape to a file, then use `grep`, `head`, or read the markdown directly — you can search and reason over the full content yourself. Use `--query` only when you want a single targeted answer without saving the page (costs 5 extra credits).- **Scrape handles static pages and JS-rendered SPAs.** Escalate to `interact` when the page needs interaction (clicks, form fills, pagination) or scrape misses content.
会不会偷偷改推广链接或收款方?检查是否强制替换推广链接或收款对象,同时要求隐瞒更改。未发现风险

Skill 逻辑拆解

3 个说明模块

该 Skill 指示代理使用 Firecrawl CLI 抓取一个或多个 URL,可等待 JavaScript 渲染、提取正文或链接、向页面提问,并把结果写到 `.firecrawl/` 下或标准输出。

查看原文
SKILL.md:12来自说明文档打开原文件
Scrape one or more URLs. Returns clean, LLM-optimized markdown. Multiple URLs are scraped concurrently.
SKILL.md:18来自说明文档打开原文件
# Basic markdown extractionfirecrawl scrape "<url>" -o .firecrawl/page.md# Main content only, no nav/footerfirecrawl scrape "<url>" --only-main-content -o .firecrawl/page.md# Wait for JS to render, then scrapefirecrawl scrape "<url>" --wait-for 3000 -o .firecrawl/page.md
SKILL.md:38来自说明文档打开原文件
**Done when:** you have the scraped content — on stdout, in your `-o` file, or under `.firecrawl/` for multi-URL scrapes — and have inspected it with bounded reads (`head`, `grep`) to answer the request.
从这里开始 · 工作说明SKILL.md
firecrawl-scrape
连线表示工作说明包含的模块,不是实际运行顺序。点击模块可查看原文。
文件与检查记录1 个文件

检查范围与遗漏

逐文件查看涉及的内容

下方列出本次涉及的原文范围;纳入检查不代表已查清所有问题。

  • SKILL.md已纳入全文

这份报告只针对上方版本。我们看了拿到的代码和说明文件,没有实际运行 Skill,也没有检查它另外安装的软件包。因此,这不是“保证安全”的承诺;换了版本或使用环境,结果也可能不同。

  • SKILL.md工作说明

代码和说明中提到的操作

运行命令
SKILL.md:6来自说明文档打开原文件
allowed-tools:  - Bash(firecrawl *)  - Bash(npx firecrawl-cli *)
SKILL.md:7来自说明文档打开原文件
  - Bash(firecrawl *)  - Bash(npx firecrawl-cli *)---
SKILL.md:16来自说明文档打开原文件
```bash# Basic markdown extraction
安装其他软件包
SKILL.md:7来自说明文档打开原文件
  - Bash(firecrawl *)  - Bash(npx firecrawl-cli *)---
连接外部网站
SKILL.md:27来自说明文档打开原文件
# Multiple URLs (markdown only; each saved to .firecrawl/; -o is ignored)firecrawl scrape https://example.com https://example.com/blog https://example.com/docs
SKILL.md:33来自说明文档打开原文件
# Ask a question about the pagefirecrawl scrape "https://example.com/pricing" --query "What is the enterprise plan price?"```
SKILL.md:54来自说明文档打开原文件
- [firecrawl-download](../firecrawl-download/SKILL.md) — bulk download an entire site to local files- [firecrawl-build-scrape](https://github.com/firecrawl/skills/tree/main/skills/build/firecrawl-build-scrape) — building scrape into an app instead of running it here
读取了多少行
55
文件校验值(用于核对版本)
ad2c78ebb4de04a707af438efeecf5dc8dc08a8ab84b445bbaea31188f6acee7