google / google/osv-scanner

Integrate Vanir

Open
#1,227 1 comment 2 reactions 0 assignees View on GitHub
backlog enhancement
Dominant language
Go
Stars
11k
Forks
792
Avg merge
1d 20h
Merged PRs (30d)
48

Description

https://github.com/google/vanir is a system for

- Generating signatures for source code patches
- Detecting whether a local copy/fork of some code has patches applied, by using the signatures generated.

This seems very useful for the general C/C++ ecosystem, where vendoring/forking is very common. Today, our approach is to guess the closest upstream repository (tagged) commit, and key vulnerability matching based on vulnerable commit ranges (https://osv.dev/blog/posts/introducing-broad-c-c++-support/)

Vanir seems like an alternative approach that could work better.

@baekhyunwook

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.