| 工具 | npm audit、pip-audit、OWASP Dependency-Check、Trivy fs 等 |
|---|---|
| 数据源 | 各工具自带的漏洞库/OSV 等公开数据 |
| 策略 | 高危阻断、中低危记录并跟踪 |
Node
Node
npm audit --audit-level=highPython
Python
pip-audit --strict扫描对象是锁文件对应的闭包依赖;锁文件缺失时结果不可信。
对第三方依赖清单做已知漏洞比对:npm audit、pip-audit、OSV 等工具可离线接入 CI,按严重级决定阻断。
| 工具 | npm audit、pip-audit、OWASP Dependency-Check、Trivy fs 等 |
|---|---|
| 数据源 | 各工具自带的漏洞库/OSV 等公开数据 |
| 策略 | 高危阻断、中低危记录并跟踪 |
npm audit --audit-level=highpip-audit --strict