Building PackageGuard: Dependency Traversal, External APIs, and Explainable Risk Scoring in TypeScript

typescript dev.to

First, what exactly is PackageGuard? PackageGuard is a TypeScript command-line tool that scans a Node.js project's dependencies and flags packages that may deserve security scrutiny. The problem it addresses is dependency risk. Imagine you're building a backend service. You install a package to make an HTTP request, parse a file, or handle authentication. That package may itself depend on other packages, and those packages may have dependencies of their own. Your application therefo

Read Full Tutorial open_in_new
arrow_back Back to Tutorials