# Application Developer Tool: Dependency Audit

Severity count tiles above a vulnerability table with package names, advisory ids, installed and patched versions, and an update action.

- Page: https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools/dependency-audit
- Collection: [Application](https://www.shadcn-ui-blocks.com/blocks/application-pro), Standard tier
- Group: [Developer Tools](https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools)
- Created: 2026-07-04
- Preview image: https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools/dependency-audit.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/application-pro-developer-tools-dependency-audit
```

Needs an API key from a Pro or Team plan: add `@shadcn-ui-blocks` to the registries in components.json with the key as an `Authorization: Bearer` header. Setup: https://www.shadcn-ui-blocks.com/docs/shadcn-cli. The MCP server installs it without the setup: https://www.shadcn-ui-blocks.com/docs/mcp.

## Depends on

- npm packages: class-variance-authority, radix-ui
- shadcn/ui components: badge, button, table
- Installs to: `@/components/blocks/application-pro/developer-tools/dependency-audit`

## About this block

Dependency Audit is the vulnerability report for
acme-app, summarising 214 packages scanned from the
lockfile against 21 matched advisories. Four severity
tiles across the top count critical, high, moderate, and
low findings. Below them a table lists five
vulnerabilities, each row carrying the package name in
monospace with a direct or via require chain, a severity
Badge, the advisory id and title, the installed version,
the version it is patched in, and an action cell. Fixable
rows expose an Update button while the cookie finding,
which needs a major bump, shows a plain note instead.

The summary counts and the vulnerability list are two
typed const arrays, and severityVariant is a Record that
maps each level to a Badge weight without colour tokens.
Transitive findings render their require chain under the
package name so the source of an indirect advisory is
never a mystery. The footer states that the audit runs on
every install and nightly at 03:00 UTC, and that auto fix
opens a pull request bumping each package to its minimum
patched version before requesting review.

## When to use

Reach for this block on the security or dependencies page,
wired to your audit tooling and the project lockfile.
Point the Update button at your fix workflow and confirm
the resulting pull request runs the full test suite before
anyone approves it.

A natural flow around it on an Application Pro page:

**Before**

- [Build status list](https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools)
- [Status and health](https://www.shadcn-ui-blocks.com/blocks/application-pro/status-health)

**After**

- [Deploy panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools)
- [Reports](https://www.shadcn-ui-blocks.com/blocks/application-pro/reports)

## What you can display

One strong use is the lockfile vulnerability report.
Other audit views:

- **License audit.** Swap severity for license family and
  flag packages outside your allowed list.
- **Outdated packages.** Replace advisories with current
  versus latest versions and a semver delta per row.
- **Bundle impact.** Add an install size column to weigh
  each dependency against its footprint.

> Tip: the require chain under transitive packages is the
> detail that turns a vague advisory into a fix; keep it
> visible so no one hunts the lockfile by hand.

## More in Application Developer Tools

- [Api Console](https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools/api-console)
- [Build Status List](https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools/build-status-list)
- [Cron Jobs Monitor](https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools/cron-jobs-monitor)
- [Deploy Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools/deploy-panel)
- [Diff Viewer](https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools/diff-viewer)
- [Env Vars Manager](https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools/env-vars-manager)
- [Error Inbox](https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools/error-inbox)
- [Feature Flags Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools/feature-flags-panel)
- [Log Viewer](https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools/log-viewer)
- [Migrations Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools/migrations-panel)
- [SDK Quickstart](https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools/sdk-quickstart)
- [Secrets Rotation Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools/secrets-rotation-card)
- [SQL Query Editor](https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools/sql-query-editor)
- [Terminal Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools/terminal-panel)
- [Trace Waterfall](https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools/trace-waterfall)
- [Webhook Logs Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/developer-tools/webhook-logs-table)
