It si the core intelligence of the Security Audit CLi. It does Reachability Analysis(is vulnerable package affect sensitive part?).
🏗️ Architecture Overview

🛠️ Integrated Components
- Dependency Graph Builder (
dependencyGraph.js)
- make a full tree of a project dependencies
- how it works
- Prioritizes
package-lock.json
- Resolves nested
node_modules
- Executes
npm audit --json
- Usage Mapper (
usageMapper.js)
- Understands how your source code interacts
- How it Works
- AST Parsing
- Import Tracking
- Call Flow
- Reachability Engine (
reachability.js)
- The "brain" that connects the dots between a vulnerable library and your sensitive code.
- Working
- Seeding
- BFS (Breadth-First Search)
- Sensitive Targets like auth, payment
- Status Classification
- Graph Reporter (
reporter.js)