This is an oversimplified version of how vulnerablecode will go on to create graphs and then create smart relations between the vulnerabilities and the packages.
This involves creating/initializing basic vulnerability-->package mappings using data from various advisories like NVD, Red hat sec etc. This data serves as a basis for creating smart relations . We kind of have this step implemented.