所有 CLI 操作都通过未固定版本的远程 npm 包执行
原文依据:2 处命令使用 `npx -y firebase-tools@latest`;`-y` 自动接受安装,而 `latest` 会随发布变化。部署、密钥和模拟器操作因此会执行当时下载的包代码,而不是经过审核并锁定的版本。
如果上游包、发布账号或依赖链被入侵,或者新版出现破坏性变化,代码可在用户本机凭当前账户权限运行,并可能接触 Firebase 登录凭据、项目文件和云资源。
该 Skill 主流程明确要求通过 `npx -y firebase-tools@latest` 管理密钥并部署。`-y` 会跳过安装确认,`latest` 不固定版本;用户执行时会下载并运行当时发布的 Firebase CLI 代码。若上游版本发生有害或不兼容变化,可能影响本地项目、Firebase 资源或凭据。用户可要求作者固定并审核具体版本,或限制自动安装及部署权限。
do so.1. If the app needs safe access to sensitive keys, use `npx -y firebase-tools@latest apphosting:secrets` commands to set and grant access to secrets.1. Run `npx -y firebase-tools@latest deploy` when you are ready to deploy.查看另外 1 个位置
To start the App Hosting emulator:```bashnpx -y firebase-tools@latest emulators:start --only apphosting```