命令会直接下载并运行未固定版本的 Firebase CLI
原文依据:2 处指南多次使用 `npx -y firebase-tools@latest`。`-y` 自动接受安装,而 `latest` 会随发布时间变化,因此未来执行的代码并非本次审计中可确定的固定版本。
如果 npm 包、其依赖或最新版本出现恶意或破坏性变化,它会以运行该代理的用户权限执行,并可接触当前项目文件及已登录的 Firebase 会话。
这是操作指南,不会仅因被读取而执行命令;但若代理按指南操作,`npx -y` 会自动同意安装并运行当时由 `latest` 指向的 Firebase CLI。版本未固定,实际执行内容会随发布变化,增加供应链和不可复现风险。用户可要求固定并审核具体版本,或限制安装及网络权限。
description: Comprehensive guide for Firebase Crashlytics, including provisioning and SDK usage. Use this skill when the user needs help setting up Crashlytics, adding crash reporting, or using the Crashlytics SDK in their application.compatibility: This skill is best used with the Firebase CLI, but does not require it. Firebase CLI can be accessed through `npx -y firebase-tools@latest`.metadata:查看另外 1 个位置
- **Firebase CLI**: Installed and logged in (see `firebase-basics`).- **Firebase Project**: Created via `npx -y firebase-tools@latest projects:create` (see `firebase-basics`).- **Firebase App**: Created via `npx -y firebase-tools@latest apps:create <IOS|ANDROID|WEB> <package-name-or-bundle-id>`