-
Security
Pin my dependencies and commit the lockfile
Makes builds reproducible with exact versions, a committed lockfile, and no surprise auto-upgrades.
Free Prompt
What This Does / How This Helps
Makes every build install exactly the same code: exact versions, committed lockfile, and strict installs in production. Reproducibility is a security issue, not just an ops nicety. Floating versions mean a dependency can ship a new release between your last test and your launch deploy, and you run code you never reviewed. That's also how compromised package updates sneak in: the lockfile is what stops a hijacked minor release from auto-installing. You also get a hygiene pass on the dependency list itself, since AI builders install freely and every abandoned package is future attack surface you're maintaining for no benefit.
Want to skip doing this by hand?
Fortivibe audits your app for all of the areas these prompts cover (and more).