Security in 60 Seconds: AI and Your Dependencies
Carlin Cherry walks through the checks developers should make before accepting AI-picked packages and the tools that help monitor dependency risk.
Reviewing AI-selected dependencies
AI does more than generate code: it can also choose packages. Every package it adds becomes part of your software supply chain and needs the same review as any other new dependency.
Before accepting an AI-selected package, check:
- Existence: Verify that the package is real.
- Maintainers: Identify who maintains it.
- Versions: Inspect which versions your project will use.
- Dependencies: Review what else the AI is pulling into your project.
Catching vulnerabilities
Use the GitHub package firewall to help keep packages with known vulnerabilities out of your code. Keep Dependabot alerts enabled to detect newly discovered vulnerabilities in your dependencies.
For details, see the Dependabot alerts documentation.
AI changes who picks the package, but it does not change who is responsible for it. These tools support dependency review; they do not remove the need to scrutinize what enters your project.