vet
Scan package manifests, directories, container images, or GitHub repositories to identify vulnerabilities, malicious packages, and enforce security policies using CEL expressions. More information: https://safedep.github.io/vet/vet.html.
- Scan the current directory:
vet scan .
- Scan the
package-lock.jsonmanifest file:
vet scan
- Scan with filter to fail on any critical vulnerability found in the codebase:
vet scan --filter 'vulns.critical.exists(p, true)' --filter-fail
- Scan any OSS package for malware:
vet inspect malware --purl
- Start the MCP server for AI enabled security in code editors like Cursor:
vet server mcp
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
