.continue/agents/dependency-security-review.md
Review this pull request for changes to dependencies. A significant portion of PRs in this repo are automated dependency bumps (Dependabot, Snyk). This check ensures dependency changes get meaningful review.
package.json ChangesNew dependencies - For each newly added dependency:
Major version bumps - For major version upgrades:
Removed dependencies - For each removed dependency:
package-lock.json ChangesLarge lockfile diffs (>500 lines changed) - Flag for human review, as they may indicate a transitive dependency shift that warrants attention.
New transitive dependencies - Check if the total dependency count increased significantly.
Packages with filesystem/network access - New dependencies that read/write files or make network requests deserve extra scrutiny since this tool runs locally on user machines.
Native/binary dependencies - New native modules (node-gyp, .node binaries) increase the attack surface and build complexity.
Post-install scripts - Dependencies with postinstall scripts can execute arbitrary code during npm install.
package.json or package-lock.json files directly.