Dependencies
Check an AI-suggested package before installing it
A plausible name is not enough to identify the right dependency.
Step 01
Find the original publisher
Follow the project’s official documentation or repository to its package reference. Avoid choosing only by a similar name.
Step 02
Match the version
Compare the suggested API with the version your project will install. Check runtime and framework compatibility.
Step 03
Review the change
Inspect the dependency and lockfile changes. Look for unexpected transitive additions or installation steps.
Step 04
Try a small example
Use an isolated environment and a narrow example of the exact capability you need. Do not include production secrets.
Step 05
Keep a verified reference
Record why the dependency is needed, its official reference and the behavior you checked. Review it again when upgrading.
Package existence is not a security certification. This checklist is editorial guidance and does not replace your dependency review.
Package hallucination research ↗