A plugin for the Snyk CLI that provides dependency metadata for sbt (Scala Build Tool) projects. It scans build.sbt files to identify known vulnerabilities in dependencies. Current stable version is 3.1.0, released August 2025. The plugin supports Node 20 on Windows, Linux, and macOS, and works with sbt 0.13.x through 1.7.x (with or without sbt-dependency-graph plugin for older versions). Key differentiator: integrates Snyk's vulnerability scanning into Scala/SBT projects with automatic dependency tree extraction. v3.0.0 introduced breaking changes including dropping shell:true and updated shescape for argument escaping.
npm install snyk-sbt-pluginVerified import paths — ran on the pinned version, not inferred.
Scans an SBT project for vulnerabilities using the inspect function, logging dependency tree and vulnerability count.
Update any scripts that relied on shell:true being set; the plugin no longer uses shell execution for child processes.
Install sbt-dependency-graph plugin or coursier following Snyk support documentation.
Ensure you are using Node 20 as specified in supported OS table; future versions may require updates.
Install sbt and ensure it is available in the system PATH.
Use ES module import: import { inspect } from 'snyk-sbt-plugin'Ensure the project path contains a build.sbt file.