Skip to main content
QUICK REVIEW

[Paper Review] Detecting Cryptographically Relevant Software Packages with Collaborative LLMs

Eduard Hirsch, Kristina Raab|arXiv (Cornell University)|Mar 7, 2026
Advanced Malware Detection TechniquesComputer Science0 citations
TL;DR

The paper proposes an offline, collaborative LLM framework that uses majority voting across multiple local models to heuristically identify cryptographically relevant software packages, evaluated on about 65k Fedora packages.

ABSTRACT

IT systems are facing an increasing number of security threats, including advanced persistent attacks and future quantum-computing vulnerabilities. The move towards crypto-agility and post-quantum cryptography (PQC) requires a reliable inventory of cryptographic assets across heterogeneous IT environments. Due to the sheer amount of packets, it is infeasible to manually detect cryptographically relevant software. Further, static code analysis pipelines often fail to address the diversity of modern ecosystems. Our research explores the use of large language models (LLMs) as heuristic tools for cryptographic asset discovery. We propose a collaborative framework that employs multiple LLMs to assess software relevance and aggregates their outputs through majority voting. To preserve data privacy, the approach operates on-premises without reliance on external servers. Using over 65,000 Fedora Linux packages, we evaluate the reliability of this method through statistical analysis, inter-model agreement, and manual validation. Preliminary results suggest that~LLM ensembles can serve as an efficient first-pass filter for identifying cryptographic software, resulting in reduced manual workload and assisting PQC transition. The study also compares on-premises and online LLM configurations, highlighting key advantages, limitations, and future directions for automated cryptographic asset discovery.

Motivation & Objective

  • Identify how LLMs can heuristically detect cryptographic functionality in software packages.
  • Evaluate whether aggregating multiple locally hosted LLMs improves detection quality.
  • Demonstrate an offline workflow suitable for crypto-asset discovery in enterprise environments.
  • Provide guidance and open-source artifacts for reproducible cryptographic asset discovery.

Proposed method

  • Collect a base package list from a package manager (Fedora) with name, description, and first-level dependencies.
  • Prompt multiple local LLMs with carefully engineered JSON-output prompts to assess cryptographic relevance for each package.
  • Aggregate LLM outputs via a majority-vote scheme to produce a final cryptographic relevance decision.
  • Validate model selections and majority-vote results via a labeled sample and cross-validation.
  • Compare offline LLM configurations against online configurations and analyze response quality and dependencies.

Experimental results

Research questions

  • RQ1RQ1 How can LLMs be employed to heuristically identify software packages that implement or depend on cryptographic functionality?
  • RQ2RQ2 Can aggregation across multiple LLMs improve the quality of cryptographic relevance judgments?

Key findings

  • Ensembles of LLMs can serve as an efficient first-pass filter for identifying cryptographic software assets.
  • A majority-vote strategy across five local models yields robust classifications for packages.
  • Manual validation on 390 packages supports iterative improvement and model selection.
  • The study provides open-source code and data to enable reproducibility and further research.
  • Offline (on-premises) LLM setup demonstrates practical viability for PQC-related asset discovery.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.