# Athena: Vulnerability-Affected Library Identification via Knowledge Graph Completion

arXiv: https://arxiv.org/abs/2609.01187 · HTML: https://mlsanity.com/paper/2609.01187/

## Key facts

- No citing papers in the map yet (data through 14 Oct 2026).
- Builds on 13 of its 30 references that are in the map.
- First posted on arXiv 1 Sep 2026.

## Builds on (most cited first, 13 of 13)

- [BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding](https://mlsanity.com/paper/1810.04805/) (2018)
- [A Simple Framework for Contrastive Learning of Visual Representations](https://mlsanity.com/paper/2002.05709/) (2020)
- [Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks](https://mlsanity.com/paper/2005.11401/) (2020)
- [Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena](https://mlsanity.com/paper/2306.05685/) (2023)
- [Keystroke Dynamics as Part of Lifelogging](https://mlsanity.com/paper/2010.10144/) (2020)
- [KG-BERT: BERT for Knowledge Graph Completion](https://mlsanity.com/paper/1909.03193/) (2019)
- [Improving Multilingual Sentence Embedding using Bi-directional Dual Encoder with Additive Margin Softmax](https://mlsanity.com/paper/1902.08564/) (2019)
- [CHRONOS: Time-Aware Zero-Shot Identification of Libraries from Vulnerability Reports](https://mlsanity.com/paper/2301.03944/) (2023)
- [Knowledge Graph Completion with Relation-Aware Anchor Enhancement](https://mlsanity.com/paper/2504.06129/) (2025)
- [VulLibGen: Generating Names of Vulnerability-Affected Packages via a Large Language Model](https://mlsanity.com/paper/2308.04662/) (2023)
- [Tracing Vulnerability Propagation Across Open Source Software Ecosystems](https://mlsanity.com/paper/2505.04307/) (2025)
- [Mapping NVD Records to Their Vulnerability-fixing Commits: How Hard is It?](https://mlsanity.com/paper/2506.09702/) (2025)
- [VulGuard: An Unified Tool for Evaluating Just-In-Time Vulnerability Prediction Models](https://mlsanity.com/paper/2507.16685/) (2025)

## Abstract (arXiv)

A single vulnerability in a widely used library can cascade through millions of dependent applications, yet more than half of vulnerability database entries contain missing or incorrect affected-library information. Existing automated approaches neglect the relational structure of vulnerability databases, treating identification as an isolated text retrieval problem. In this paper, we propose Athena, the first graph-based approach for vulnerability affected library identification. Athena models vulnerability databases as a knowledge graph and reformulates the identification problem as knowledge graph completion (KGC). It comprises three key modules: a Modeling module that constructs a security knowledge graph integrating CVEs, libraries, CWE weakness types, CPE products, and software ecosystems; a Completion module that applies a modular KGC backbone to predict missing affected libraries for a given CVE via link prediction; and a Re-ranking module that retrieves KGC candidates and rescores them using a fine-tuned LLM augmented with knowledge graph embeddings, jointly leveraging structural and textual information. Our experiments on VulLib demonstrate that Athena significantly outperforms four state-of-the-art baselines, achieving a 32% improvement in Avg. F1 over the best baseline (i.e., VulLibGen). Notably, our KGC backbone with only 110M parameters already surpasses VulLibGen's best configuration at 7B parameters, demonstrating the effectiveness of graph-based modeling; the re-ranking module then provides substantial further gains, consistently outperforming the best baseline across all evaluated LLM backbones.
