Skip to content

Kevin-sa/security-bom-analyze

Repository files navigation

____  _____ ____ _   _ ____  ___ _______   __    ____   ___  __  __         _    _   _    _    _  __   ____________ 
/ ___|| ____/ ___| | | |  _ \|_ _|_   _\ \ / /   | __ ) / _ \|  \/  |       / \  | \ | |  / \  | | \ \ / /__  / ____|
\___ \|  _|| |   | | | | |_) || |  | |  \ V /____|  _ \| | | | |\/| |_____ / _ \ |  \| | / _ \ | |  \ V /  / /|  _|  
___) | |__| |___| |_| |  _ < | |  | |   | |_____| |_) | |_| | |  | |_____/ ___ \| |\  |/ ___ \| |___| |  / /_| |___
|____/|_____\____|\___/|_| \_\___| |_|   |_|     |____/ \___/|_|  |_|    /_/   \_\_| \_/_/   \_\_____|_| /____|_____|

三方组建依赖分析,依赖于nebula graph做深度索引

Introduction

系统在19年年底完成demo编写,在log4j2安全应急中发现三方组建、安全资产侧的多方面缺陷,春节期间把demo重新做部分完善。 目前主要针对java-maven做分析,三种方式

  • jar
  • pom.xml
  • maven plugin

数据存储

  • nebula

Install

kafka

./bin/kafka-topics.sh --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic security_sca_pom
  • start kafka and zk
./bin/zookeeper-server-start.sh config/zookeeper.properties
./bin/kafka-server-start.sh config/server.properties
./bin/kafka-console-consumer.sh --zookeeper localhost:2181 --topic security_sca_pom --from-beginning
./bin/kafka-console-consumer.sh --zookeeper localhost:2181 --topic security_sca_jar_pom --from-beginning

nebula

mvn plugin

cd security-bom-analyze-maven-plugin
mvn install clear

architecture

service

nebula sql

  • graph/maven.sql

achievement

查看jar包依赖junit.junit\animal-sniffer-annotations\jsr305 查看Git对应的依赖

Thanks

About

第三方组建依赖分析

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages