Don’t trust the registry. Verify the code.

Catch install script abuse, credential theft, typosquats, and supply chain malware patterns before they touch your system.

Scan Your Repo Free
$npm install -g @westbayberry/dg

No account needed. Run it locally in seconds.

$ npm install

Scan any package. Right now.

Type a package name and see what our detectors find. No account needed.

How Dependency Guardian works

Every package is analyzed for behavior, correlated across signals, scored for risk, and returned as a clear pass, warn, or block verdict.

Dependency
Update
Fetch
Tarball
Code Execution
Data Exfiltration
Evasion
Package Integrity
Structure &
Metadata
Runtime
Sandbox
Cross signal
Correlation
Risk Scoring
Verdict
Pass
Warn
Block
Install with
confidence
  1. 01Intake

    Dependency Update

    A new package or version enters the pipeline.

  2. 02Retrieve

    Fetch Tarball

    The registry tarball is pulled down for inspection.

  3. 03Analyze

    Static Detectors

    Every file scanned by five detector categories, plus sandbox routing for eligible packages.

  4. 04Correlate

    Cross signal Correlation

    Detector signals combine into high confidence attack patterns.

  5. 05Score

    Risk Scoring

    Adaptive 0 to 100 risk score per package.

  6. 06Decide

    Verdict

    Score maps to one of three verdicts, each with its own delivery path.

    PASS0 to 39 WARN40 to 69 BLOCK70 to 100
  7. 07Deliver

    Delivered

    Verdicts reach developers wherever they work.

Figure 1. A dependency change enters the pipeline.

A friendly CLI.
A quiet GitHub App.

Install once and Dependency Guardian shows up where you already work, your terminal, your pull requests, your CI.

Setup in 60 seconds

~/your next project dg

Welcome. I'm Dependency Guardian.

Want me to show you how I work?

Get Started Free $npm install -g @westbayberry/dg

Common questions

Answers to the questions security teams ask before adopting a new dependency scanner.

What if Dependency Guardian itself gets compromised?

Defense in depth. The CLI is a thin API client. Detection runs server side, not in your CI. Every downloaded package is cryptographically verified against the registry before analysis. Webhook deliveries are signed and verified at both ends. The CLI only sends lockfile diffs and receives JSON verdicts. It cannot execute arbitrary code in your CI.

Is my source code sent to your servers?

No. The system receives package names and versions from your lockfile diff, then fetches package tarballs directly from the public registry. Your application code never leaves your environment.

Does it work outside GitHub?

Yes. Install the CLI (npm i -g @westbayberry/dg), run dg scan in any CI or locally. Same engine, same detectors.

Can I configure it for PRs only, not main?

The GitHub App scans every PR and posts a Dependency Guardian check run with a pass, neutral, or failure conclusion. It does not push block main. What blocks a merge is your own branch protection rule against that check. If you use the CLI directly, you control when and where it runs from your CI pipeline.

Which package managers are supported?
Supported
npm PyPI
Coming soon
JavaJavaMaven
RubyRubyRubyGems
.NET.NETNuGet
GoGoGo modules
RustRustCargo
ScalaScalaMaven / sbt
KotlinKotlinMaven / Gradle
PHPPHPComposer / Packagist
C/C++C / C++
Does it work with monorepos?

Yes. Single lockfile workspaces work out of the box. For multi lockfile monorepos, pass --workspace <dir> on the CLI (or set DG_WORKSPACE) to scope a scan to one project, or configure path patterns in the dashboard for the GitHub App.

Can I run DG from the command line?

Yes. Install globally with npm install -g @westbayberry/dg (or run via npx @westbayberry/dg). Authenticate with dg login (prints a verification URL and opens your browser when you press ENTER), then run dg scan. A scan covers every package in your lockfiles, including nested projects in a monorepo. The CLI is flag-free — output is human-readable by default; use --json or --sarif for CI. For install protection, use dg npm install / dg pip install, run dg setup --yes for user-local shims, or use explicit service mode for configured absolute-path package-manager calls.

WestBayBerry

Stop trusting your dependencies blindly

Works with the GitHub App or CLI in your terminal. Set up in under 2 minutes.

npm install -g @westbayberry/dg

Used by engineers from

UC Berkeley MIT Harvard