Skip to content
Skills Library
Security · Review & audit

dependency-auditing

/dependency-auditing

Audit third-party packages by pinning resolved versions, scanning against advisory databases, and catching malicious lookalikes before install. Use when adding a dependency, wiring a vulnerability gate into CI, or reviewing what a project actually pulls in.

Repository
AI-SKILLS ↗
Licence
MIT
Last repository change
05.09.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 05.09.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Audit third-party packages by pinning resolved versions, scanning against advisory databases, and catching malicious lookalikes before install. Use when adding a dependency, wiring a vulnerability gate into CI, or reviewing what a project actually pulls in.

Original author description

Audit third-party packages by pinning resolved versions, scanning against advisory databases, and catching malicious lookalikes before install. Use when adding a dependency, wiring a vulnerability gate into CI, or reviewing what a project actually pulls in.

How it works

  1. Method
  2. Signals
  3. Boundaries
Original SKILL.md headings · 54 lines, 394 words
SKILL.md preview
---
name: dependency-auditing
description: Audit third-party packages by pinning resolved versions, scanning against advisory databases, and catching malicious lookalikes before install. Use when adding a dependency, wiring a vulnerability gate into CI, or reviewing what a project actually pulls in.
---

# Dependency auditing

Most of the code you ship you did not write: it arrives through the
dependency tree, and a single vulnerable or hijacked package runs with your
application's full privileges. Auditing means knowing exactly which versions
resolve, checking them against known advisories, and catching the malicious
lookalike before it ever installs.

## Method

1. **Commit a lockfile and install from it.** Check in
   `package-lock.json`, `poetry.lock`, `Cargo.lock`, or `go.sum`, and use
   `npm ci`, `poetry install --sync`, or the frozen equivalent in CI so
   builds resolve the exact versions you audited, not whatever floated in
   overnight.
2. **Run the advisory scanner in CI and fail on high.** Wire
   `npm audit --audit-level=high`, `pip-audit`, `cargo audit`, or
   `osv-scanner -r .` into the pipeline and break the build on high or
   critical findings. These match resolved versions against the GitHub
   Advisory and OSV databases.
3. **Check new packages for typosquats before adding.** Confirm the exact
   name, download count, and repository URL against the one you intend.
   `reqwests` for `reqwest`, scoped-name confusion, and a two-day-old
   package with 40 downloads are how malware enters; socket.dev or a manual
   registry check flags them.
4. **Review dependency-bump PRs, do not auto-merge them.** Let Dependabot or
   Renovate open updates, then read the changelog and diff for a jump in a
   package that ships install scripts. An npm package can run arbitrary code
   from a `postinstall` hook.
5. **Prune what you do not use.** Remove unused dependencies with `depcheck`
   or `cargo-udeps`. Every package you drop is one you no longer audit, and
   fewer transitive edges means a smaller attack surface.
6. **Mirror upstream for release builds.** Resolve production builds against
   a private proxy such as Artifactory or Verdaccio so a deleted or hijacked
   upstream version cannot silently change what you ship.

## Signals

- Does CI fail when a newly disclosed high-severity advisory hits the
  current lockfile?
- Is every direct dependency one a human deliberately added, with the rest
  pinned transitively?
- Would a package published yesterday under a near-miss name draw a second
  look before merge?
- Can you rebuild last month's release with identical dependency versions?

## Boundaries

This audits packages you consume, not code you author or the pipeline that
assembles them (see supply-chain-defense). Advisory databases lag
disclosure, so a clean scan means no known issue, not no issue. Defer
license and policy gating to your organization's governance tooling.

Versions

The database has no other skills named dependency-auditing.

Database snapshot: 13.11.2026 · package version b87fdb3c2009 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100dependency-vulnerability
    OWASP A09 - Using Components with Known Vulnerabilities. Use this skill when auditing dependencies, updating packages, or reviewing security advisories. Activate when: npm audit, dependency check, vulnerable package, CVE, security advisory, outdated packages, supply chain,…
  • 100dependency-audit
    Use when auditing dependencies, checking for outdated packages, reviewing security vulnerabilities, scanning for CVEs, or checking dependabot/renovate PR status. Trigger phrases: dependency audit, security audit, outdated dependencies, CVE check.
  • 100detecting-malicious-npm-packages
    Triage npm packages and lockfiles for install-script malware, credential exfiltration, and worming behavior using GuardDog, manual tarball inspection, and dynamic detonation with network/filesystem monitoring. Use when vetting a new dependency, reviewing a…
  • 90dependency-scanning-setup
    Configure automated dependency and vulnerability scanning at a cadence people will actually act on. Use when dependencies drift or vulnerabilities go unnoticed.
  • 90ring:auditing-dependency-security
    Auditing a dependency for supply-chain risk before install (pip/npm/go/cargo): checks typosquatting, maintainer/age risk, vulnerability DBs (OSV, GHSA, Socket), and lockfile hash pinning, then emits a risk score and approve/conditional/escalate/block decision. Use when adding or…
  • 100vuln-ledger
    Dependency vulnerability and malicious-package guard with a memory, for any language (PHP/Composer, Node, Python, Go, Rust, Ruby, Java, .NET, Dart, Elixir). Use at the start of a session in a repo with a lockfile, before adding or upgrading any package, after dependencies…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.