bytedance / appshark

Appshark is a static taint analysis platform to scan vulnerabilities in an Android app.
Apache License 2.0
1.49k stars 166 forks source link

能否支持aar、jar文件的扫描? #21

Closed shannon2014 closed 10 months ago

shannon2014 commented 1 year ago

你好,作为一个大型APP的开发者,每次在APP中集成其他非自研的三方SDK(jar和aar)时,总担心这些SDK会存在隐私合规的问题,我尝试利用appShark对这些SDK进行接入前扫描,在initSoot时,我传入了AnalyzeStepByStep.TYPE.AAR,然后编译出新的AppShark-all.jar,,运行时soot报错,截图如下。查阅soot源码,发现其ClassSourceType不支持aar。本人对soot不太熟悉,无法继续深入研究, 请问appShark是否支持直接扫描jar和aar文件,或者能提供一些思路?谢谢 image

image

image

nkbai commented 1 year ago

目前暂不支持,建议通过工具将aar,jar转成apk文件再进行扫描。