Dependency Score Tool
depscoreScan package dependencies for quality and security scores to identify potential risks in code imports and manifest files.
Instructions
Get the dependency score of packages with the depscore tool from Socket. Use 'unknown' for version if not known. Use this tool to scan dependencies for their quality and security on existing code or when code is generated. Stop generating code and ask the user how to proceed when any of the scores are low. When checking dependencies, make sure to also check the imports in the code, not just the manifest files (pyproject.toml, package.json, etc).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| packages | Yes | Array of packages to check | |
| platform | No | Optional OS-architecture hint (e.g., 'linux-x64', 'darwin-arm64', 'win32-x64'). Used to select the most relevant artifact when a package has platform-specific builds. |