CI/DI (四)OWASP Dependency-Check python

练习Test方法
SAST, DAST, SAC
SCA案例五, Github有Dependency review做组件扫描。这次测试一个cmd程序。

snapshot:

执行扫描

 .\dependency-check.bat --project "flaskProject_v5" --scan "D:\flaskProject_v5"

生成结果报告,没有检查到requirement.txt插件包

D:\dependency-check\bin\dependency-check-report.html

在这里插入图片描述

执行扫描,没有检查到pom.xml插件包。应该是不支持maven

.\dependency-check.bat --project "fp" --scan "D:\sspyriso-fp"

fix:
扫描时候报错,检查jsrepository.json文件内容是否为空。解决办法手动下载此文件,或者把文件内容粘贴过来。
dependency-check\data\jsrepository.json
https://raw.githubusercontent.com/Retirejs/retire.js/master/repository/jsrepository.json

在这里插入图片描述

Reference:
OWASP Dependency-Check
https://owasp.org/www-project-dependency-check/

Download dependency-check

dependency-check/ About command指令介绍
https://jeremylong.github.io/DependencyCheck/dependency-check-cli/index.html

Failed to initialize the RetireJS repo
https://github.com/jeremylong/DependencyCheck/issues/2599

jsrepository.json
https://download.csdn.net/download/weixin_50750933/86402307

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值