Migration command executes an unpinned remote npm package
Source references: 1The quick start instructs users to run `npx auth@latest migrate`. `@latest` selects whatever version is current at execution time rather than a reviewed, locked version, and npx may download and execute it.
If the upstream release is compromised, the package name resolves unexpectedly, or a newer version changes behavior, code can run with the developer's permissions. The migration may also alter the authentication database schema and cause compatibility or availability problems.
This command both selects the unpinned `@latest` release and invokes `migrate`. When npx needs to fetch the package, a newly published remote version can execute in the user's environment and may change the authentication database schema. The source provides no version verification, migration preview, or rollback guidance. Users can require a pinned version, release-integrity information, and a reviewed migration plan with a backup.
3. Add `sendResetPassword` for password reset flows4. Run `npx auth@latest migrate`5. Verify: attempt sign-up and confirm verification email triggers