Skip to content

vulnerwise 0.2.0

Latest

Choose a tag to compare

@Sidon Sidon released this 29 Nov 13:09
· 1 commit to main since this release

Changed

  • pip-audit reports "skipped: no Python packages" for a project without PyPI packages, instead of "not installed" or "no pinned version".
  • Option help says what is Python only: --no-usage, --no-pip-audit and --bandit.
  • The Markdown report title is "Dependency audit" ("Auditoria de dependências" in pt-BR) instead of naming Python.

Added

  • npm support: package-lock.json and npm-shrinkwrap.json (lockfile v1, v2, v3, nested copies included) and package.json, node-semver ranges, OSV SEMVER ranges, and npm upgrade commands (npm install with the right --save-* flag; npm update with an overrides hint for transitive packages). examples/vulnerable-node to try it.
  • Cargo support: Cargo.lock (v1-v4) and Cargo.toml (dev, build and target tables, renamed, path, git and workspace = true dependencies), with workspace members covered by the root lock, Cargo requirements, and cargo commands (cargo add for direct crates, cargo update -p ... --precise for transitive and member-only ones). examples/vulnerable-rust to try it. Directories tagged with CACHEDIR.TAG (Cargo's target/) are skipped.
  • Go support: go.mod (require blocks, // indirect, replace by another module or a local directory, exclude), with a warning for a go directive before 1.17, and go commands (go get module@version then go mod tidy; a note for replaced modules). examples/vulnerable-go to try it.
  • CycloneDX JSON SBOM support (1.4 to 1.6), when the SBOM is given as the path: each component's ecosystem comes from its purl; components without a purl or with another purl type are named in a "Not analysed" summary row and JSON not_analysed, and make a clean result exit with 3. SBOM components get target versions without commands, and no import scan. examples/vulnerable-sbom to try it.
  • Mixed projects: each directory and ecosystem is resolved on its own; tables gain an Ecosystem column when a project spans several; pip-audit and the import scan only look at PyPI packages, and other findings show "not checked (Python only)".
  • JSON report: packages[].ecosystem (the OSV ecosystem name, PyPI for now). Packages, queries and advisories carry their ecosystem, so same-named packages of two ecosystems are never mixed.
  • Native install in GitHub Copilot CLI (copilot plugin marketplace add Sidon/vulnerwise) and Google Antigravity (agy plugin install), through an Agent Plugins 1.0 manifest at plugins/vulnerwise/plugin.json.

Install in Claude Code:

claude plugin marketplace add Sidon/vulnerwise
claude plugin install vulnerwise@vulnerwise

Full changes: v0.1.0...v0.2.0