agentleFS
backspace-shmackspacebackspace-shmackspace/claude-devkit/skills/dependency-audit/SKILL.md

dependency-audit

Skill15 starsChanged 3 months agoMITView on GitHub

Supply chain security audit — coordinates real CLI vulnerability scanners (npm audit, pip-audit, govulncheck, cargo audit, etc.) and synthesizes findings with license compliance and risk assessment.

  • Installs packages

32 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use api-audit, container-audit and 9 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • briiirussellSkill

    api-audit

    Audit REST, GraphQL, and RPC APIs against the OWASP API Security Top 10 (2023). Use when the user mentions 'API security,' 'API audit,' 'BOLA,' 'broken object level authorization,' 'BFLA,' 'function-level authorization,' 'mass assignment,' 'API rate limiting,' 'GraphQL security,' 'REST security,' 'API authentication,' 'API authorization,' 'excessive data exposure,' or needs to review API endpoints for security weaknesses.

    Also in 3 projects that use this

  • grichaSkill

    container-audit

    Audit local Docker images and running containers for hardening issues before deploy — privileged flags, root users, stale base images, missing resource limits. Use for pre-deploy container review.

    Also in 3 projects that use this

  • vbrevikSkill

    secret-scan

    Scan git repositories for leaked secrets (API keys, passwords, tokens, certificates) using gitleaks. Detects secrets in git history and current code. Produces STIG V-ID-tagged findings that feed into /stig-compliance as pipeline evidence. Use when (1) reviewing code changes for accidental secret commits, (2) auditing git history for previously committed secrets, (3) /stig-compliance review needs secret detection evidence. Works air-gapped.

    Also in 3 projects that use this

  • UnitOneAISkill

    threat-modeling

    Runs a structured STRIDE threat model on any system design, API specification, or codebase. Auto-invoked when the user discusses architecture, shares a system diagram or design document, or asks "what could go wrong?" Produces threat actor profiles, component-threat matrix, a threat register with STRIDE classification, data-flow diagram template, trust boundary identification, and prioritized mitigations mapped to MITRE ATT&CK techniques.

    Also in 4 projects that use this

  • renfei-designSkill

    a11y-audit

    Audit Figma designs for WCAG accessibility issues — color contrast, minimum font size, touch target sizing, and missing text alternatives. Use when asked to check accessibility, audit contrast ratios, find a11y issues, verify WCAG compliance, or review designs for accessibility problems. Scans nodes, analyzes offline, and annotates issues in Figma.

    Also in 3 projects that use this

  • SentrySkill

    write-tests

    Write tests following project conventions. Use when adding new tests or modifying existing ones.

    Also in 3 projects that use this

The file

Show its rules and text

We split this skill into the rules it gives an agent

28 rules. 0 are common, 12 are distinctive, and 16 are very specific to this project.

  • 0

    Common

    Most of the 30 edited versions we read keep these.

  • 12

    Distinctive

    This author's own choices. Worth a look.

  • 16

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Search patterns (in order):

    line 55
  2. Distinctive:

    If $ARGUMENTS specifies a manifest path, use that directly.

    line 63
  3. Very specific:

    If no manifest found: Stop workflow.

    line 128
  4. Very specific:

    If manifest found but no scanner available: Log SCANNER="" — workflow continues.

    line 129
  5. Distinctive:

    If manifest and scanner found: Full workflow runs.

    line 130
  6. Distinctive:

    Read the manifest file identified in Step 0.

    line 136
  7. Distinctive:

    All direct dependencies (name + version or version constraint)

    line 137
  8. Distinctive:

    All dev/test dependencies (if present and relevant)

    line 138
  9. Distinctive:

    If a lock file exists alongside the manifest, note it — the scanner will use it for exact vulnerability matching.

    line 141
  10. Distinctive:

    Run the scanner. Note: non-zero exit codes from vulnerability scanners indicate findings, not errors.

    line 171
  11. Very specific:

    Read the scanner output file at $PLANS_DIR/dependency-audit-[TIMESTAMP].scanner-raw.json.

    line 212
  12. Very specific:

    Output: Write your synthesis to $PLANS_DIR/dependency-audit-[TIMESTAMP].cve-synthesis.md with:

    line 234
  13. Very specific:

    If scanner output was empty or indicated no findings, write: 'No vulnerabilities found by scanner.' If no scanner was available …

    line 259
  14. Very specific:

    If no scanner was available (SCANNER_STATUS=INCOMPLETE), write: 'CVE scan skipped — no scanner available.'"

    line 260
  15. Very specific:

    Read the manifest at [MANIFEST].

    line 269
  16. Distinctive:

    Patent risk: Check for packages with known patent encumbrances

    line 282
  17. Very specific:

    Output: Write to $PLANS_DIR/dependency-audit-[TIMESTAMP].license-check.md with:

    line 288
  18. Very specific:

    Read the manifest at [MANIFEST].

    line 316
  19. Very specific:

    Use gh CLI for GitHub metadata when available (graceful degradation if gh is not installed or not authenticated).

    line 323
  20. Very specific:

    If gh is available:

    line 329
  21. Distinctive:

    Check if the dependency uses:

    line 350
  22. Very specific:

    If gh is available, check for SECURITY.md:

    line 366
  23. Very specific:

    Graceful degradation: If gh is not available or returns errors, skip GitHub metadata queries and note in the report: "GitHub metadata …

    line 372
  24. Distinctive:

    Do not fabricate alternatives -- only suggest packages you can verify exist.

    line 385
  25. Very specific:

    Output: Write to $PLANS_DIR/dependency-audit-[TIMESTAMP].supply-chain.md with the supply chain risk table and summary findings."

    line 387
  26. Distinctive:

    Read all three analysis files:

    line 396
  27. Very specific:

    Write a consolidated report to $PLANS_DIR/dependency-audit-[TIMESTAMP].report.md with:

    line 405
  28. Very specific:

    Read $PLANS_DIR/dependency-audit-[TIMESTAMP].report.md and determine final verdict.

    line 455

“Common” is measured: kept by at least 6 in 10 of the 30 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

/dependency-audit Workflow

Output Rules

  • Always print full absolute paths for all artifact references (plan files, review files, audit logs). This makes paths clickable in terminals like Warp. Use the resolved $PLANS_DIR value, never relative paths.

Role

This skill is a pipeline coordinator. It orchestrates a sequential supply chain security workflow by delegating scanner invocation and synthesis to appropriate tools. It does NOT perform LLM-based CVE lookup — it coordinates real CLI scanners that use live vulnerability databases, then synthesizes their output. The LLM's training data has a knowledge cutoff and cannot reliably detect post-cutoff CVEs.

Inputs

  • Package manifest path or scope: $ARGUMENTS (optional — auto-detected if omitted)
  • Supported: package.json, requirements.txt, pyproject.toml, Pipfile, go.mod, Cargo.toml, pom.xml, Gemfile

Step 0 — Pre-flight: detect manifest and scanner availability

Resolve devkit paths (MUST be first action in Step 0):

Tool: Bash

# --- Devkit Path Resolution ---
DEVKIT_SCRIPTS="${CLAUDE_DEVKIT:-$HOME/.claude-devkit}/scripts"

# Source path resolution helper
if [ -f "$DEVKIT_SCRIPTS/resolve-project-dir.sh" ]; then
  . "$DEVKIT_SCRIPTS/resolve-project-dir.sh"
  DEVKIT_PROJECT_DIR_RESOLVED=$(resolve_devkit_project_dir) || {
    echo "Failed to resolve project directory" >&2; exit 1
  }
elif [ -n "${DEVKIT_PROJECT_DIR:-}" ]; then
  DEVKIT_PROJECT_DIR_RESOLVED="$DEVKIT_PROJECT_DIR"
else
  echo "WARNING: devkit is not installed. Using deprecated .devkit/ fallback." >&2
  DEVKIT_PROJECT_DIR_RESOLVED=".devkit"
fi

PLANS_DIR="$DEVKIT_PROJECT_DIR_RESOLVED/plans"
mkdir -p "$PLANS_DIR"
echo "Plans directory: $PLANS_DIR"

Tool: Bash (direct — coordinator does this), Glob

Detect manifest type by searching for known manifest files:

Tool: Glob

Search patterns (in order):

  • **/package.json → ecosystem: Node.js, scanner: npm audit
  • **/requirements.txt or **/pyproject.toml or **/Pipfile → ecosystem: Python, scanners: pip-audit or safety
  • **/go.mod → ecosystem: Go, scanner: govulncheck
  • **/Cargo.toml → ecosystem: Rust, scanner: cargo audit
  • **/pom.xml → ecosystem: Java, scanner: mvn dependency:analyze
  • **/Gemfile → ecosystem: Ruby, scanner: bundle audit

If $ARGUMENTS specifies a manifest path, use that directly. Otherwise, use the first manifest found.

Check scanner availability via which:

Tool: Bash

TIMESTAMP=$(date -u +"%Y%m%dT%H%M%SZ")
echo "Run timestamp: $TIMESTAMP"

# Detect ecosystem and check scanners
ECOSYSTEM=""
MANIFEST=""
SCANNER=""
SCANNER_CMD=""

# Check for manifests and their scanners
if [ -f "package.json" ] || [ -f "$(find . -name 'package.json' -not -path '*/node_modules/*' -maxdepth 3 | head -1)" ]; then
  MANIFEST=$(find . -name 'package.json' -not -path '*/node_modules/*' -maxdepth 3 | head -1)
  ECOSYSTEM="Node.js"
  if which npm >/dev/null 2>&1; then SCANNER="npm"; SCANNER_CMD="npm audit --json"; fi
fi

if [ -z "$ECOSYSTEM" ] && ([ -f "requirements.txt" ] || [ -f "pyproject.toml" ] || [ -f "Pipfile" ]); then
  MANIFEST=$(ls requirements.txt pyproject.toml Pipfile 2>/dev/null | head -1)
  ECOSYSTEM="Python"
  if which pip-audit >/dev/null 2>&1; then SCANNER="pip-audit"; SCANNER_CMD="pip-audit --format json";
  elif which safety >/dev/null 2>&1; then SCANNER="safety"; SCANNER_CMD="safety check --json"; fi
fi

if [ -z "$ECOSYSTEM" ] && [ -f "go.mod" ]; then
  MANIFEST="go.mod"
  ECOSYSTEM="Go"
  if which govulncheck >/dev/null 2>&1; then SCANNER="govulncheck"; SCANNER_CMD="govulncheck ./..."; fi
fi

if [ -z "$ECOSYSTEM" ] && [ -f "Cargo.toml" ]; then
  MANIFEST="Cargo.toml"
  ECOSYSTEM="Rust"
  if which cargo >/dev/null 2>&1; then SCANNER="cargo audit"; SCANNER_CMD="cargo audit --json"; fi
fi

if [ -z "$ECOSYSTEM" ] && [ -f "pom.xml" ]; then
  MANIFEST="pom.xml"
  ECOSYSTEM="Java"
  if which mvn >/dev/null 2>&1; then SCANNER="mvn"; SCANNER_CMD="mvn dependency:analyze -q"; fi
fi

if [ -z "$ECOSYSTEM" ] && [ -f "Gemfile" ]; then
  MANIFEST="Gemfile"
  ECOSYSTEM="Ruby"
  if which bundle >/dev/null 2>&1 && bundle exec gem list 2>/dev/null | grep -q bundler-audit; then
    SCANNER="bundle-audit"; SCANNER_CMD="bundle audit check --update";
  fi
fi

echo "ECOSYSTEM=$ECOSYSTEM"
echo "MANIFEST=$MANIFEST"
echo "SCANNER=$SCANNER"
echo "SCANNER_CMD=$SCANNER_CMD"
echo "TIMESTAMP=$TIMESTAMP"

Pre-flight outcomes:

  • If no manifest found: Stop workflow. Output: "No supported package manifest found. Supported: package.json, requirements.txt, pyproject.toml, Pipfile, go.mod, Cargo.toml, pom.xml, Gemfile"
  • If manifest found but no scanner available: Log SCANNER="" — workflow continues. Steps 1–3 will be skipped for CVE scanning; Steps 4–5 (license + supply chain) still run. Verdict will be INCOMPLETE.
  • If manifest and scanner found: Full workflow runs.

Step 1 — Read and parse manifest

Tool: Read (direct — coordinator does this)

Read the manifest file identified in Step 0. Extract:

  • All direct dependencies (name + version or version constraint)
  • All dev/test dependencies (if present and relevant)
  • Lock file location (e.g., package-lock.json, Pipfile.lock, go.sum, Cargo.lock, Gemfile.lock) for precise version data

If a lock file exists alongside the manifest, note it — the scanner will use it for exact vulnerability matching.

Output summary of dependency count to stdout (e.g., "Found 42 direct dependencies, 87 total including transitive").

Step 2 — Invoke scanner

Tool: Bash (direct — coordinator does this)

If no scanner is available (SCANNER="" from Step 0):

Output:

SCANNER STATUS: INCOMPLETE — no vulnerability scanner available for [ecosystem]

To enable full vulnerability scanning, install the appropriate scanner:
  Node.js:  npm (included with Node.js)
  Python:   pip install pip-audit   (or: pip install safety)
  Go:       go install golang.org/x/vuln/cmd/govulncheck@latest
  Rust:     cargo install cargo-audit
  Java:     Apache Maven required (https://maven.apache.org)
  Ruby:     gem install bundler-audit

Continuing with license compliance and supply chain risk assessment only.
Steps 4–5 will still run. CVE vulnerability data will NOT be reported.

Set SCANNER_OUTPUT="(no scanner available)" and skip to Step 3 synthesis with empty CVE data.

If scanner is available:

Run the scanner. Note: non-zero exit codes from vulnerability scanners indicate findings, not errors.

# Run scanner — non-zero exit = findings found, not a command error
SCANNER_OUTPUT_FILE="$PLANS_DIR/dependency-audit-${TIMESTAMP}.scanner-raw.json"

case "$SCANNER" in
  npm)
    npm audit --json 2>/dev/null > "$SCANNER_OUTPUT_FILE" || true
    ;;
  pip-audit)
    pip-audit --format json 2>/dev/null > "$SCANNER_OUTPUT_FILE" || true
    ;;
  safety)
    safety check --json 2>/dev/null > "$SCANNER_OUTPUT_FILE" || true
    ;;
  govulncheck)
    govulncheck -json ./... 2>/dev/null > "$SCANNER_OUTPUT_FILE" || true
    ;;
  "cargo audit")
    cargo audit --json 2>/dev/null > "$SCANNER_OUTPUT_FILE" || true
    ;;
  mvn)
    mvn dependency:analyze -q 2>&1 > "$SCANNER_OUTPUT_FILE" || true
    ;;
  bundle-audit)
    bundle audit check --update 2>&1 > "$SCANNER_OUTPUT_FILE" || true
    ;;
esac

echo "Scanner output saved to: $SCANNER_OUTPUT_FILE"
cat "$SCANNER_OUTPUT_FILE"

Step 3 — LLM synthesis of scanner output

Tool: Task, subagent_type=general-purpose, model=claude-sonnet-4-6

Prompt: "You are a security analyst synthesizing vulnerability scanner output for a dependency audit report.

Read the scanner output file at $PLANS_DIR/dependency-audit-[TIMESTAMP].scanner-raw.json. Also read the manifest file at [MANIFEST].

Your task:

  1. Parse the scanner output and extract all vulnerability findings.
  2. For each finding, identify:
    • Package name and affected version
    • CVE/vulnerability ID (e.g., CVE-2024-XXXXX, GHSA-XXXXX)
    • Severity (Critical / High / Medium / Low — use scanner-reported severity)
    • Description (one sentence)
    • Whether a fixed version is available
    • Whether the vulnerable package is a direct dependency or transitive
  3. Categorize findings by severity:
    • Critical: RCE, authentication bypass, data exfiltration — must fix before shipping
    • High: Significant security impact — should fix soon
    • Medium: Limited impact or requires unusual conditions — review and plan fix
    • Low: Minimal impact — track but lower priority
  4. Note any findings where the scanner could not complete (e.g., network errors, auth required).

Output: Write your synthesis to $PLANS_DIR/dependency-audit-[TIMESTAMP].cve-synthesis.md with:

## CVE Findings

**Scanner:** [scanner name and version if available]
**Ecosystem:** [ecosystem]
**Scan date:** [timestamp]
**Total vulnerabilities:** [count by severity: X Critical, X High, X Medium, X Low]

### Critical Findings
[table: Package | CVE ID | Description | Fixed Version | Direct/Transitive]

### High Findings
[table]

### Medium Findings
[table]

### Low Findings
[table]

### Scanner Notes
[any warnings, incomplete scans, or limitations from the scanner output]

If scanner output was empty or indicated no findings, write: 'No vulnerabilities found by scanner.' If no scanner was available (SCANNER_STATUS=INCOMPLETE), write: 'CVE scan skipped — no scanner available.'"

Step 4 — License compliance check

Tool: Task, subagent_type=general-purpose, model=claude-sonnet-4-6

Prompt: "You are reviewing a software project's dependency manifest for license compliance issues.

Read the manifest at [MANIFEST]. If a lock file exists (package-lock.json, Pipfile.lock, go.sum, Cargo.lock, Gemfile.lock), also read it for exact package versions.

Your task:

Analyze the dependencies for license compliance concerns. LLM analysis is appropriate for license review since license data is stable (licenses don't change after release) and license terms are documented.

  1. Identify licenses for each dependency (use your knowledge of well-known packages' licenses). Note: You may not know every package's license. For packages you are uncertain about, flag them as 'license unknown — verify manually'.
  2. Flag compliance concerns:
    • Copyleft (strong): GPL-2.0, GPL-3.0, AGPL-3.0 — may require source disclosure
    • Copyleft (weak): LGPL, MPL — generally OK for linking but review usage
    • Restricted: Commercial licenses, proprietary, no-license (all-rights-reserved)
    • Patent risk: Check for packages with known patent encumbrances
    • License conflicts: GPL-incompatible combinations
  3. Approve without concern:
    • MIT, Apache-2.0, BSD-2-Clause, BSD-3-Clause, ISC, Unlicense, CC0

Output: Write to $PLANS_DIR/dependency-audit-[TIMESTAMP].license-check.md with:

## License Compliance

### Summary
[X packages reviewed, Y flagged for review, Z unknown]

### Flagged Dependencies
| Package | License | Concern | Recommendation |
|---------|---------|---------|----------------|

### Unknown Licenses (verify manually)
| Package | Notes |

### Approved Licenses
[Count of packages with permissive licenses — no individual listing needed]

### Notes
[Any license conflict combinations, usage-specific caveats]
```"

## Step 5 — Supply chain risk assessment

Tool: `Task`, `subagent_type=general-purpose`, `model=claude-sonnet-4-6`

Prompt:
"You are performing a supply chain risk assessment of a software project's dependencies.

Read the manifest at `[MANIFEST]`.

**Your task:**

### Supply Chain Risk Assessment

Evaluate each direct dependency against these structured risk criteria.
Use `gh` CLI for GitHub metadata when available (graceful degradation if
`gh` is not installed or not authenticated).

**Risk Criteria (check each dependency):**

1. **Single/low maintainer count** (HIGH risk indicator)
   If `gh` is available:
   ```bash
   gh api repos/{owner}/{repo}/contributors --jq 'length'

Flag if contributor count <= 2. This is the left-pad/event-stream risk: a single compromised or burned-out maintainer can affect all consumers.

  1. Unmaintained/archived (HIGH risk indicator) If gh is available:
    gh api repos/{owner}/{repo} --jq '{archived: .archived, pushed_at: .pushed_at, open_issues: .open_issues_count}'
    Flag if: repo is archived, OR last push > 12 months ago, OR open issues > 100 with no recent activity.
  2. Past CVE history (MEDIUM risk indicator) Cross-reference with scanner output from Step 2. If the dependency has had previous CVEs (even if currently fixed), flag as elevated risk -- repeat offenders indicate structural security issues in the codebase.
  3. High-risk features (MEDIUM risk indicator) Check if the dependency uses:
    • FFI / native code bindings (C extensions, node-gyp, cgo)
    • Deserialization of untrusted data (pickle, yaml.load, JSON.parse with reviver)
    • Code execution capabilities (eval, exec, Function constructor)
    • Network listeners or servers (opens ports, accepts connections) Flag each high-risk feature found.
  4. Low popularity (LOW risk indicator) If gh is available:
    gh api repos/{owner}/{repo} --jq '.stargazers_count'
    Flag if stars < 100 for a non-internal package. Low popularity means fewer eyes reviewing the code for security issues.
  5. Missing security contact (LOW risk indicator) If gh is available, check for SECURITY.md:
    gh api repos/{owner}/{repo}/contents/SECURITY.md --jq '.name' 2>/dev/null
    Missing SECURITY.md means no coordinated disclosure process.

Graceful degradation: If gh is not available or returns errors, skip GitHub metadata queries and note in the report: "GitHub metadata unavailable -- supply chain risk assessment is based on manifest data and scanner output only. Install and authenticate gh CLI for full assessment."

Report format for supply chain risks:

DependencyVersionRisk LevelRisk FactorsSuggested Alternative
left-pad1.1.3HIGH1 maintainer, archivedString.prototype.padStart (built-in)

For HIGH-risk dependencies, suggest well-maintained alternatives where known. Do not fabricate alternatives -- only suggest packages you can verify exist.

Output: Write to $PLANS_DIR/dependency-audit-[TIMESTAMP].supply-chain.md with the supply chain risk table and summary findings."

Step 6 — Generate consolidated report

Tool: Task, subagent_type=general-purpose, model=claude-sonnet-4-6

Prompt: "You are generating a consolidated dependency audit report from three analysis documents.

Read all three analysis files:

  • $PLANS_DIR/dependency-audit-[TIMESTAMP].cve-synthesis.md
  • $PLANS_DIR/dependency-audit-[TIMESTAMP].license-check.md
  • $PLANS_DIR/dependency-audit-[TIMESTAMP].supply-chain.md

Also read the manifest at [MANIFEST].

Your task:

Write a consolidated report to $PLANS_DIR/dependency-audit-[TIMESTAMP].report.md with:

# Dependency Audit Report

**Date:** [TIMESTAMP]
**Ecosystem:** [ecosystem]
**Manifest:** [manifest path]
**Scanner used:** [scanner name or 'none — INCOMPLETE']

## Executive Summary

[2-3 sentences summarizing the overall security posture of the dependencies]

**Verdict:** [PASS / PASS_WITH_NOTES / BLOCKED / INCOMPLETE — see Step 7 criteria]

## Vulnerability Findings
[Paste CVE synthesis content]

## License Compliance
[Paste license check content]

## Supply Chain Risk
[Paste supply chain content]

## Remediation Priorities

### Immediate (Critical/High vulnerabilities)
[Numbered list with: package, CVE, fix command (e.g., npm update package@version)]

### Short-term (Medium vulnerabilities, license concerns)
[Numbered list]

### Monitor (Low vulnerabilities, supply chain flags)
[Numbered list]

## Scanner Installation (if INCOMPLETE)
[Only if no scanner was available — installation instructions for this ecosystem]

Preliminary verdict guidance for your report (final verdict set in Step 7):

  • BLOCKED: Any Critical CVE present
  • PASS_WITH_NOTES: High CVEs, license flags, or supply chain concerns — no Critical CVEs
  • INCOMPLETE: No scanner available — CVE data missing
  • PASS: No findings across all three analyses"

Step 7 — Verdict gate

Tool: Read (direct — coordinator does this)

Read $PLANS_DIR/dependency-audit-[TIMESTAMP].report.md and determine final verdict.

Verdict rules (in priority order):

  1. BLOCKED — Any Critical severity CVE found. Mandatory remediation before shipping.
  2. INCOMPLETE — No scanner was available. CVE vulnerability data is missing. Cannot report PASS. License and supply chain data may be present.
  3. PASS_WITH_NOTES — No Critical CVEs, but any of: High severity CVEs, license compliance flags, supply chain concerns.
  4. PASS — Scanner ran successfully, no CVEs found, no license flags, no supply chain concerns.

IMPORTANT: The skill MUST NOT report PASS when SCANNER was unavailable. INCOMPLETE is the correct verdict — it honestly represents that the vulnerability check could not be performed.

Output verdict and archive:

Tool: Bash

mkdir -p $PLANS_DIR/archive/dependency-audit/${TIMESTAMP}
mv $PLANS_DIR/dependency-audit-${TIMESTAMP}.scanner-raw.json \
   $PLANS_DIR/dependency-audit-${TIMESTAMP}.cve-synthesis.md \
   $PLANS_DIR/dependency-audit-${TIMESTAMP}.license-check.md \
   $PLANS_DIR/dependency-audit-${TIMESTAMP}.supply-chain.md \
   $PLANS_DIR/archive/dependency-audit/${TIMESTAMP}/ 2>/dev/null || true
echo "Archived analysis files to $PLANS_DIR/archive/dependency-audit/${TIMESTAMP}/"

Final output by verdict:

  • PASS: "Dependency audit PASS. No vulnerabilities, license issues, or supply chain concerns found. Report: $PLANS_DIR/dependency-audit-[TIMESTAMP].report.md"
  • PASS_WITH_NOTES: "Dependency audit PASS_WITH_NOTES. Review findings in report: $PLANS_DIR/dependency-audit-[TIMESTAMP].report.md. Address High severity items before next release."
  • INCOMPLETE: "Dependency audit INCOMPLETE. No vulnerability scanner available for [ecosystem]. Install [scanner] to enable CVE scanning. License and supply chain analysis: $PLANS_DIR/dependency-audit-[TIMESTAMP].report.md"
  • BLOCKED: "Dependency audit BLOCKED. Critical vulnerabilities found — do not ship until resolved. Report: $PLANS_DIR/dependency-audit-[TIMESTAMP].report.md"

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.