Index of every page on this site: llms.txt
All skills
andrewyng avatar

/dependency-audit

@d1b8cd6
by Andrew Ngandrewyng/openworker20k stars
2,802
Run it yourself

Scan lockfiles for vulnerable dependencies and triage by real reachability

  • 1 file
  • 1.5 KB
  • Updated 3 months ago
  • GitHub
Use this Skill: https://skilld.dev/gh/andrewyng/openworker/dependency-audit

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈23 tokens for metadata: the name and description. ≈350 when used: this file.

Description uses 1.2% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈93 characters, or 1.2%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Audit the project's dependencies and separate what's exploitable from what's noise.

  1. Identify the ecosystems present (package-lock.json / pnpm-lock.yaml / yarn.lock, requirements*.txt / uv.lock / poetry.lock, go.sum, Cargo.lock, pyproject).
  2. Pick scanners that are present (check first; ask before installing):
    • osv-scanner --lockfile <each lockfile> --format json (best cross-ecosystem)
    • npm audit --json / pip-audit -f json / trivy fs --scanners vuln . -f json
  3. Deduplicate advisories across scanners (key on advisory id + package), then triage each one by reading the code:
    • Direct or transitive? (npm ls <pkg>, pipdeptree -r -p <pkg> or grep imports)
    • Is the vulnerable functionality actually used here? Grep for the affected API; an unreachable advisory in a dev-only tool is LOW no matter its CVSS.
    • Verdict per advisory: fix-now / fix-soon / accept-with-note, one line of why.
  4. Map each fix-now to its smallest closing upgrade (advisory metadata's fixed-in version); note when only a major closes it and what the migration entails.
  5. Deliver: an audit table (advisory · package · direct? · reachable? · verdict · smallest fix) ordered by real priority — then hand off to safe-upgrade-pr for the actual upgrades. Offer a CI guard (e.g. an osv-scanner step) so new advisories surface on PRs instead of in the next audit.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at d1b8cd6. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 3 days ago.

Activeupdated 3 months ago

README badge

README badge for andrewyng/openworker/dependency-audit