Group
  • Security

    Audit my dependencies for known vulnerabilities

    Runs the package audit, triages real risk from noise, and upgrades or replaces vulnerable packages safely.

    • Improve quality
    • Plan & validate
    • Beginner
    • Replit
    • Cursor
    • Bolt
    • Lovable
    • General

Free Prompt

Audit my project's dependencies for known vulnerabilities. Run my package manager's audit command (npm audit, or the equivalent for my stack) and review the results with me. For each reported vulnerability: identify whether the affected package is actually used in a way that exposes the vulnerable code path (a dev-only build tool is lower risk than a package parsing user input at runtime), then fix it. Prefer upgrading within the existing package. If a fix requires a major version bump, check the changelog for breaking changes before applying and update my code where the API changed. If a package is abandoned and unfixable, propose a maintained replacement. Do not blindly run audit fix --force; it applies major upgrades that can silently break the app. Do not remove packages that are still imported somewhere. After each change, make sure the app still builds and the relevant feature still works. Give me a summary table: package, severity, whether it's exploitable in my usage, and what you did. Flag anything you couldn't fix and tell me the mitigation (for example, the vulnerable function is never called with user input).

What This Does / How This Helps

Runs your package manager's audit, then does the part the audit output doesn't: figuring out which findings actually matter for how your app uses each package, and fixing them without breaking the build. AI tools install packages freely, and some of those packages have known CVEs by launch day. Some findings are noise (a dev dependency with a theoretical issue), but some are a library parsing user input with a public exploit. Knowing the difference is the whole job. You get a triaged table instead of a wall of warnings: severity, real exploitability in your usage, the fix applied, and mitigations for anything that can't be upgraded yet.

Want to skip doing this by hand?

Fortivibe audits your app for all of the areas these prompts cover (and more).

See What We Check

Related Prompts