osv-scanner
osv-scanner copied to clipboard
[WebKit vendored code] osv-scanner fails to identify ANGLE and webrtc projects
Summary:
osv-scanner fails to identify ANGLE and webrtc projects in the WebKit project while scanning for vendored code dependencies.
Steps to Reproduce:
- Check out WebKit (at commit https://github.com/WebKit/WebKit/commit/fda388552a877f757aa8216c8d116937fe8651f2):
git clone https://github.com/WebKit/WebKit.git WebKit.git
- Run
osv-scanner(at commit 85563d901bec48bbe8db1242f083c42d42353ace):
go run ./cmd/osv-scanner/main.go -r WebKit.git/Source/ThirdParty
Expected Results:
osv-scanner identifies ANGLE and webrtc as vendored code dependencies.
Actual Results:
osv-scanner fails to identify ANGLE and webrtc as vendored code dependencies.
Scanning dir WebKit.git/Source/ThirdParty
Scanning directory for vendored libs: WebKit.git/Source/ThirdParty
[...]
Scanning potential vendored dir: WebKit.git/Source/ThirdParty/ANGLE
[...]
Scanning potential vendored dir: WebKit.git/Source/ThirdParty/libwebrtc
[...]
Scanning directory for vendored libs: WebKit.git/Source/ThirdParty/ANGLE/src/third_party
[...]
Scanning directory for vendored libs: WebKit.git/Source/ThirdParty/libwebrtc/Source/third_party
[...]
Notes:
Both ANGLE and libwebrtc folders have their own third-party subfolders with additional vendored code dependencies.
They're not indexed currently. We'll get these added.
Taking a closer look here, it looks like webrtc and ANGLE do not do release tags, which is blocking our current indexing mechanisms.
@andrewpollock FYI since this was a case that you mentioned.