Every CLI operation executes an unpinned remote npm package
Source references: 2Commands use `npx -y firebase-tools@latest`; `-y` automatically accepts installation, while `latest` changes over time. Deployment, secret, and emulator operations therefore execute whatever package code is downloaded at that time rather than a reviewed, locked version.
If the upstream package, publishing account, or dependency chain is compromised—or a new release has destructive changes—code can run locally with the user's current privileges and potentially access Firebase credentials, project files, and cloud resources.
The main workflow explicitly uses `npx -y firebase-tools@latest` for secret management and deployment. `-y` skips installation confirmation and `latest` is not version-pinned, so execution downloads and runs whatever Firebase CLI release is current. A harmful or incompatible upstream change could affect the local project, Firebase resources, or credentials. Users can ask for a reviewed pinned version or restrict automatic installation and deployment permissions.
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.Show 1 other places
To start the App Hosting emulator:```bashnpx -y firebase-tools@latest emulators:start --only apphosting```