首页 > 解决方案 > 如何在角度/节点应用程序中执行漏洞扫描

问题描述

我正在尝试设置一个流程来检查 Angular 7 / Node 项目中的已知漏洞。我怎样才能运行这样的过程?有什么工具可以使用吗?

我已经尝试使用 maven 运行 dependency-check-maven 插件,但它为我创建了一个报告,说检查了 0 件事。

上次执行结果:

dependency-check version: 4.0.2
Report Generated On: Mar 27, 2019 at 17:02:49 +00:00
Dependencies Scanned: 0 (0 unique)
Vulnerable Dependencies: 0
Vulnerabilities Found: 0
Vulnerabilities Suppressed: 0

Dependencies Scanned 中的那些 0 让我觉得“这不起作用”。

标签: node.jsangularmavenjenkins-pipelineowasp

解决方案


试试 npm 审计。它会检查您的节点模块是否存在已知漏洞:

https://docs.npmjs.com/cli/audit


推荐阅读