FineNib: A Query Synthesizer For Static Analysis of Security Vulnerabilities
Overview
Overall Novelty Assessment
FineNib contributes an agentic framework that synthesizes CodeQL queries from CVE descriptions, addressing the challenge of hallucinated deprecated syntax in LLM-generated queries. The paper resides in the 'CodeQL Query Synthesis from CVE Descriptions' leaf, which contains only two papers including FineNib itself. This represents a highly sparse research direction within the broader taxonomy of fifty papers across thirty-six topics, suggesting that automated CVE-to-CodeQL synthesis is an emerging rather than crowded area. The sibling paper QLCoder shares the same goal of LLM-driven query generation from vulnerability descriptions.
The taxonomy tree reveals that FineNib's parent branch 'LLM-Assisted Query and Specification Synthesis' sits alongside 'Neuro-Symbolic Integration for Vulnerability Detection' and 'Domain-Specific Static Analysis Techniques'. While neuro-symbolic approaches like LLM-guided interprocedural analysis combine neural models with traditional static analysis engines for whole-repository reasoning, FineNib focuses specifically on query synthesis rather than detection execution. The neighboring 'LLM-Based Static Analyzer Synthesis' leaf addresses generating complete analyzers from bug patterns, whereas FineNib targets individual queries for an existing analyzer (CodeQL). This positioning clarifies that FineNib operates at the query specification layer rather than the analysis engine layer.
Among twenty candidates examined, the core agentic framework contribution shows one refutable candidate from ten examined, indicating some prior work in CVE-to-query synthesis exists within this limited search scope. The custom MCP interface contribution was not evaluated against candidates, leaving its novelty unassessed in this analysis. The evaluation contribution examined ten candidates with none appearing to refute it, suggesting that systematic validation on real-world CVEs and repositories may be less explored. These statistics reflect a focused semantic search rather than exhaustive coverage, and the single refutable match likely corresponds to the sibling paper QLCoder in the same taxonomy leaf.
Based on the limited search of twenty candidates, FineNib appears to address a relatively sparse research direction with modest prior work overlap. The taxonomy structure confirms that automated CVE-to-CodeQL synthesis remains an emerging area compared to more established branches like domain-specific smart contract analysis or foundational dataflow techniques. However, this assessment is constrained by the top-K semantic search methodology and does not capture potential relevant work outside the examined candidate set or in adjacent communities such as program synthesis or automated software engineering.
Taxonomy
Research Landscape Overview
Claimed Contributions
FineNib is an agentic framework that translates CVE descriptions into executable CodeQL queries. It embeds an LLM in a synthesis loop with execution feedback and constrains reasoning using a custom MCP interface that provides structured interaction with a Language Server Protocol and a RAG database.
The framework introduces a novel integration that combines execution-guided synthesis with semantic retrieval and structured reasoning. The MCP interface provides syntax guidance via LSP and semantic guidance via a vector database of CodeQL queries and documentation.
The authors evaluate FineNib on CWE-Bench-Java comprising 176 CVEs across 111 Java projects, covering 42 vulnerability types. The evaluation demonstrates how FineNib identifies sources, sinks, sanitizers, and taint propagation steps to synthesize queries that detect vulnerabilities in vulnerable versions while remaining silent on patched versions.
Core Task Comparisons
Comparisons with papers in the same taxonomy category
[21] QLCoder: A Query Synthesizer For Static Analysis of Security Vulnerabilities PDF
Contribution Analysis
Detailed comparisons for each claimed contribution
FineNib agentic framework for CVE-to-query synthesis
FineNib is an agentic framework that translates CVE descriptions into executable CodeQL queries. It embeds an LLM in a synthesis loop with execution feedback and constrains reasoning using a custom MCP interface that provides structured interaction with a Language Server Protocol and a RAG database.
[21] QLCoder: A Query Synthesizer For Static Analysis of Security Vulnerabilities PDF
[22] Automating the early detection of security design flaws PDF
[51] Automatic inference of search patterns for taint-style vulnerabilities PDF
[52] Automatic detection of access control vulnerabilities via API specification processing PDF
[53] Towards automatic generation of vulnerability-based signatures PDF
[54] A unit-based symbolic execution method for detecting memory corruption vulnerabilities in executable codes PDF
[55] Automating ROS2 Security Policies Extraction through Static Analysis PDF
[56] Supporting automated vulnerability analysis using formalized vulnerability signatures PDF
[57] Vulnerability detection in ethereum smart contracts via machine learning: A qualitative analysis PDF
[58] Towards automated security design flaw detection PDF
Custom MCP interface for structured reasoning
The framework introduces a novel integration that combines execution-guided synthesis with semantic retrieval and structured reasoning. The MCP interface provides syntax guidance via LSP and semantic guidance via a vector database of CodeQL queries and documentation.
Evaluation on real-world CVEs and repositories
The authors evaluate FineNib on CWE-Bench-Java comprising 176 CVEs across 111 Java projects, covering 42 vulnerability types. The evaluation demonstrates how FineNib identifies sources, sinks, sanitizers, and taint propagation steps to synthesize queries that detect vulnerabilities in vulnerable versions while remaining silent on patched versions.