VulKnow: Enhancing Vulnerability Detection With Structured Knowledge and Large Language Models
The rapid proliferation of Internet of Things (IoT) systems has led to increasingly heterogeneous, resource-constrained, and security-sensitive software deployments. In this context, detecting vulnerabilities in embedded and system-level IoT code has become particularly critical, as even a single exploitable flaw may compromise entire networks or devices. Vulnerability detection in real-world software continues to pose significant challenges due to the intricate nature of program semantics, the diversity of vulnerability patterns, and the limited explainability offered by current machine learning models. Although large language models (LLMs) have exhibited remarkable capabilities in comprehending and reasoning about source code, their effectiveness is frequently compromised by inadequate domain knowledge and instances of hallucinated outputs. To address these limitations, we propose VulKnow, a retrieval-augmented framework for vulnerability detection that harnesses structured vulnerability knowledge alongside multistage prompt-based reasoning. Specifically, VulKnow first constructs a structured knowledge base derived from authoritative sources such as CWE/CVE reports and standard library specifications. Subsequently, it conducts context-aware knowledge retrieval and integrates the retrieved items into an LLM-based initial filtering module. To ensure high-confidence and verifiable results, we design a multistage reasoning pipeline that progressively validates vulnerabilities through semantic prompts and consistency checks. Experiments conducted on multiple real-world datasets (Linux, Qemu, and Big-Vul) demonstrate that VulKnow significantly enhances precision, recall, and explainability compared to existing static analysis tools as well as LLM-only baselines. This positions VulKnow as a reliable solution for practical vulnerability auditing scenarios.
- Link
- https://www.semanticscholar.org/paper/647947b4a49baf791a94e06c27dfa37ea76a9a6a
- Found by
- Semantic Scholar
- Authors
- Gui-xin Liao, Yanli Chen, Wei Ke, Hanzhou Wu, Zhicheng Dong
- Categories
- dataset
- Published
- 2026-08-15
- Last seen by the radar
- 2026-08-16
- Citations
- 0
- Influential citations
- 0
- Radar score
- 35.76 / 100 (how it is scored)
- Why it scored so
- Matched: dataset; Primary record: Semantic Scholar
- Related links
- https://doi.org/10.1109/JIOT.2026.3697600