gosec 基于ast 的golang 安全检查工具

gosec 基于ast 的golang 安全检查工具,核心是基于了一些rule 进行安全的处理

参考使用

  • 安装
    官方提供了对应操作系统的包,安装就可以了,也可以使用go install 命令安装
  • 使用
    当然gosec 还有其他命令可以选择,具体可以通过gosec 查看
 
gosec .

 

参考资料

https://github.com/securego/gosec
https://securego.io/
https://securego.io/docs/rules/rule-intro.html

posted on 2023-06-06 08:24  荣锋亮  阅读(122)  评论(0编辑  收藏  举报

导航