Offline dependency vuln audit

From XuShuwenn/RedAct · View interactive version

Offline dependency vuln audit is an AI agent skill from the GitHub repository XuShuwenn/RedAct. Scan dependency lockfiles with Trivy in offline mode and export a CSV of HIGH/CRITICAL vulnerabilities with CVSS scores.

How to use this skill

Skill file

Offline Dependency Vulnerability Audit

Audit third-party dependencies from lockfiles or project directories using Trivy in offline mode. Filter results to HIGH and CRITICAL severities, extract CVSS scores with source priority, and export a CSV report with consistent columns.

When to Use

Use this skill when you need to:

Works well for lockfiles such as npm package-lock.json, yarn.lock, poetry.lock, Pipfile.lock, etc., when Trivy can scan the filesystem manifest.

Core Workflow

  1. Verify prerequisites
  1. Run the offline scan
  1. Parse and filter results
  1. Export CSV

Verification

After generating the CSV:

Common Pitfalls and How to Avoid Them

Optional Script Usage

A helper script is included to parse Trivy JSON and produce the CSV.

Success Criteria

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.