package_audit
Audits package lockfiles from local projects or remote Git repositories to return normalized vulnerability results. Supports npm, yarn, and pnpm.
Instructions
Audit a local project or remote Git repository lockfile and return normalized package vulnerability results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Required. Local directory path or remote Git repository URL | |
| skipDev | No | Whether to skip dev dependencies during audit | |
| registry | No | Custom registry URL used during audit execution. Defaults to https://registry.npmjs.org/. | |
| threshold | No | Minimum threshold that controls the returned advisories list. Defaults to low. | |
| retryCount | No | Retry count passed to the audit executor | |
| outputFormat | No | Response format. Defaults to text. | |
| outputFormatLanguage | No | Text report language. Defaults to zh. |