🏆
Trusted Academic Publisher
Serving Researchers Since 2012

Supply Chain Software Dependency Vulnerability Scanner

DOI : 10.5281/zenodo.24772189
Download Full-Text PDF Cite this Publication

Text Only Version

Supply Chain Software Dependency Vulnerability Scanner

G. Shreyas

Department of Computer Science and Engineering Presidency University Bengaluru, India

Richard Roy

Department of Computer Science and Engineering Presidency University, Bengaluru, India

K. Kavin Nithish

Department of Computer, Science and Engineering Presidency University, Bengaluru, India

Abstract – In the modern world, software development involves the use of packages that have vulnerabilities which can be spread through dependencies either directly or transitively. In this paper, we are introducing SecureSBOM, a web application focused on Python, that allows integrating dependency inventory creation, SBOM creation, vulnerabilities sources mapping, severity- based visualization, and artificial intelligence based process of assessment. The system design makes sure that the deterministic results based on configured vulnerability sources will not interfere with the AI-based assessment. The deterministic way uses package name and the version to find the vulnerabilities and then show the canonicalized results on dashboard and report page. AI way fetches package and advisories context, performs inference, request structured results, excludes advisory IDs not supported by the evidence retrieval step and deliver the assessments for human reviewing. Dashboard includes dependency inventory, safer alternatives, scanning history, and report pages. The latest documentation on the project describes the first evaluation of selected Python packages and the results of advisory consolidation and scan time measurement; the latter needs to reproduce measurements

based on the actual data from the evaluation process before any conclusion on effectiveness of the system can be made.

Index Terms – Software supply chain security, software bill of materials (SBOM), CycloneDX, vulnerability correlation, dependency on Python packages, OSV, NVD, grounded AI, human in the loop security dependency on Python packages, OSV, NVD, grounded AI, human in the loop security

  1. INTRODUCTION

    The current applications are making use of open source libraries to save themselves time during development. This results in a problem of a supply chain as the application may inherit vulnerabilities from those packages that are not declared by it. There were some studies conducted in the aof vulnerability management of the open-source dependency and it was found out that information related to the vulnerabilities was often incomplete or inaccurate [1]. Transparency and Validity as Security Properties are Emphasized in Software Supply Chain Research [2], [3].

    A Software Bill of Materials (SBOM) is an automatically Readable inventory of the components and relations.

    However, even this type of inventory cannot eliminate all issues in practice. Information regarding vulnerabilities can be dispersed across the sources, aliases can make multiple records look like unique ones, and severity information can vary between the records. On top of this, large language models can generate realistic but unsubstantiated security statements. This makes it necessary to have a workflow which maintains findings made via source and AI in different data categories.SecureSBOM is a dependency scanning tool with a web interface that specializes in Python. It can ingest dependency manifests, show details on components and vulnerabilities, produce CycloneDX SBOM output, and offers a dedicated interface for AI assessment reports. Project documentation mentions that OSV and NVD are the source of vulnerabilities, and there is a report-export process and interface for safer alternatives. Application interfaces include scan results, vulnerability severity summary, dependencies inventory, AI assessment status, and reports.

    The contributions of this paper are:

    • The distinction between deterministic vulnerability

      Findings and AI assessments which require independent evaluation;

    • An evidence-based AI workflow based on extracted package/advisory context, structured output, filtering of unsupported identifiers, and human evaluation; and

    • An evaluation plan to validate SBOMs, dependency resolution, advisory extraction, scan effectiveness, and evidence backing AI assessment.

    This paper does not state that an advisory match wouldserve as evidence that the vulnerable code is indeed reachable in a specific application. The validity of the system has to be validated via reproducible tests conducted on a defined reference set of data.

  2. RELATED WORK

    Ponta et al. investigated the problems of detection, evaluation and mitigation of vulnerabilities in open source dependencies and described the limitations of metadata based matching [1]. Our work emphasizes that matching the package version and an advisory does not equate the problem of application specific reachability. SecureSBOM concentrates at the moment on the metadata contained in manifests and advisories without stating the same code

    reachability analysis.Okafor et al. structured the software supply chain security techniques based on the properties such as transparency, validity, and separation [2]. These properties are important for the scanner because it has to maintain the provenance of discovered findings and exclude any unvalidated model output from mixing with source derived entries. Ladisa et al.reviewed the patterns of software supply chain attacks and mitigation techniques [3].

    stale inventory, tooling gaps, privacy, and false positives [7]. These research results motivate the investigation of not just the possibility of generating an SBOM but also of its usefulness, up to date, and alignment with downstream findings.

    Vulnerability scanners similarly warn against the package level match as evidence of application vulnerability. Ponta et al. researched the vulnerability detection, assessment, and mitigation in open source dependencies [1]. Zhao et al.

    evaluated software composition analysis tools on Java projects, paying attention to the effects of different dependency resolution scenarios on the quality of vulnerability reports [8]. The SecureSBOM currently supports Python manifests and source derived advisory matching, and not claiming function level reachability analysis.

    The work done by Okafor et al. classified properties of software supply chain security in relation to transparency, validity, and separation, among others [2]. The work by Ladisa et al. reviewed software supply chain attacks and protection techniques [3]. This is useful for retaining source provenance and keeping unverified AI generated results separated from deterministic results. CycloneDX is a standardized bill of materials(SBOM) format with documented schemas [9]. OSV has an API for retrieving open source vulnerability data [10]; PyPI exposes package information through its JSON API

    [11]; and the National Vulnerability Database at NIST exposes vulnerability data and CVSS scores [12]. These resources can be used complementarily; however, their records should be used carefully, since their contents cannot be relied upon independently as evidence of exploitability. SecureSBOM uses them as evidence sources, not as evidence of exploitability by itself.

    The study of SBOMs has also considered whether the resulting inventories satisfy stakeholder requirements in practice. In that regard, Stalnaker et al. conducted a survey of 138 practitioners and conducted eight interviews, determining similar issues regarding te SBOM contents, tool shortcomings, maintenance, verification, and special domain requirements [4]. Xia et al. researched SBOM practices in the context of interviews and surveys in various countries, whereas Bi et al. considered 4,786 GitHub discussions from 510 SBOM related projects to identify the practical design concerns and solutions [5], [6]. A systematic literature review of 2025 also categorizes the use cases of SBOMs into vulnerability management, transparency, component assessment, risk assessment, and supply chain integrity, with challenges related to

  3. SYSTEM OVERVIEW

    1. Architecture

      This application is made up of a React front end user interface, a Python/FastAPI back end, dependencies and SBOM services, vulnerability source integrations, a persistence layer, and a reporting component. An auxiliary AI assisted path performs package metadata retrieval and advisory context gathering, makes an API request to the specified model provider, verifies structured output, and presents the result of the assessment for validation. This architecture is shown in the architecture diagram provided with the application (Fig. 1).

      Fig. 1. Architecture diagram for the SecureSBOM project. The diagram shows the deterministic scanning pipeline and the additional AI analyst pipeline. This is a conceptual drawing; specific integrations and deployments should be cross-referenced against the code version that was submitted.

    2. Deterministic Discoveries and AI AssessmentsOur system recognizes two types. Type A is a list of discoveries that have been made using deterministic matches on a set of configured vulnerability sources. The discoveries may include advisory IDs, package or version info, CVSS data, severity levels, and remediation information. Type B is a list of AI assessments of advisories or vulnerabilities that could emerge. Type B is not considered a confirmed vulnerabilities type, and this is explicitly stated to the user in the UI.

      This distinction is a central design requirement. An AI assessment should never automatically replace or equate to a deterministic source discovery. The user

      can choose whether to confirm, reject, or investigate the assessment but turning it into a confirmation will need its own separate validation process.

    3. User Interface and Reports

    The UI allows navigating to perform scans, view confirmed vulnerabilities, assess the AI assessments, check the dependencies inventory, find safer alternatives, view reports and check scan history. Report screen displays information about the scan, number of components and severity breakdowns. These UI elements (Fig. 2) show what kind of functionality is provided in the interface; screenshots do not prove the correctness of the underlying scanning algorithm.

  4. METHODOLOGY

  1. Manifest Ingestion and Dependency Graph

    Input manifest ingestion for the scanner includes Python dependencies manifest. The project description specifies that manifest parsing and dependency resolution are expected to result in both direct and transitive components information. The completeness of resolution depends on metadata availability, version requirements, platform flags and on how the dependency is handled by the resolver. Therefore, the paper does not presuppose that all manifests supplied to the scanner are guaranteed to be resolved in full.

    The dependency graph is presented as

    Gdep = (Vdep, Edep). (1)

    Each vertex denotes a package component and each directed edge denotes the dependency between them. In any implementation, each component record should retain package name and package version at least, along with package URL and relationship metadata if any, as produced by SBOM service. The dependency graph can be used to present transitive relations, however, it cannot be sufficient to determine if a vulnerable codepath is executed.

    The Project Dossier provides information on a resolver that works using package metadata without executing any package installation hooks. It is a relevant security requirement and needs to be explicitly stated only after checking the implementation and its coverage by tests. Metadata based resolution may deviate from the complete environment as it can be influenced by dependencies and runtime environment markers.

  2. SBOM Generation

    Our application produces CycloneDX JSON format SBOMs and allows downloading an SBOM via the scan results interface. Screenshot provided in the interface indicates the produced SBOM is of CycloneDX v1.5 JSON format, which is validated according to the specification. There is an official specification and schemas of CycloneDX [9]. Before publishing the final results, it is required to confirm the exact version of the generated SBOM and validation approach through the implementation and

    exported SBOM sample. Each SBOM generated by the tool needs to be parsed and validated against the corresponding schema. Other validations would be those for component IDs, dependencies, and consistency between the scan inventory and the BOM export. Validation of the schema ensures the conformance of the structure only and does not guarantee the completeness of the inventory of the dependencies.

  3. Vulnerability Information Retrieval and Severity Representation

    From the project documentation, OSV and NVD are the configured sources of vulnerability information. OSV allows queries for vulnerabilities related to open source software [10], while NVD offers information on CVEs and CVSS metadata [12]. Source documents can have aliases, versions, severities, references, and publishing metadata. Different sets of fields can exist between different sources and documents.For a particular component version combination, the scanning algorithm correlates retrieved advisories with the component and produces corresponding results. If there is CVSS data present, it can enable severity based triaging. Any missing or inconsistent scores must stay as such rather than being substituted with unsupported numbers. The source matching means that the package/version is related to the advisory according to the affected version policy of the source; it does not imply any proof of exploitability on the scanned application.

  4. Canonical Advisory Correlation Vulnerability feeds may overlap with each other in terms of advisories or IDs they provide. In case of grouping of records based on aliases, we can build an alias graph that has the following form: Galias = (Vid, Eid), (2) where the

    vertex set consists of advisory IDs and the edges connect two IDs if they appear together in a source record. Then connected components analysis would allow grouping IDs that are connected by alias relationships. The canonical ID can be chosen according to a deterministic rule, preserving all alias and source information.

    In the project dossier, there is a discussion about connected component correlation and deterministic canonical identifier selection. This algorithm is to be

    included in the list of contributions in terms of implementation only after making sure that the code follows the process. It is possible for the connected components to link identifiers transitively. Hence, the implementation needs to verify conflicting aliases and

    avoid merging unrelated vulnerabilities based on source errors.For a given number of raw advisories Nr and number of canonical groups Nc, a potential consolidation ratio is Rconsolidation = Nc/Nr, Nr > 0. (3)

    The lower the consolidation ratio, the higher the consolidation of raw records, but it does not measure correctness in itself. The ratio is undefined for Nr = 0, which is not applicable in the report, while the lack of records is another story.

  5. Grounded AI-Assisted Triage The purpose of the AI assisted process is to probe into possible security issues with the help of retrieved package metadata, advisories, and any other analysis signals available to the tool itself. The task for the model is to generate structured answers in the form of confidence, evidence, evidence sources, verifications, mitigation recommendations, and limitations. The application performs post validation on advisories where identifiers are filtered out which are not included in the retrieved evidence according to the description of the project. The validation is an approach specific protection mechanism rather than the guarantee that all statements generated by the tool are true. While identifier filtering may stop some unsupported identifiers to persist, this will not ensure that the explanation of the issue, the mitigation, and affected versions stated by the model are true. Therefore, retrieved package description and advisory should be considered as untrusted input; instructions alone cannot provide protection against prompt injection.

  6. Safer Alternatives and Reporting The interface includes a Safer Alternatives view and support for report export. The project’s documentation specifies that upgrade targets or package replacement suggestions should be made. These should only be considered valid if the proposed target version has been evaluated against applicable advisory information and the application’s dependencies. A new version suggestion should not automatically be

classified as safe without having been verified against appropriate sources

  1. IMPLEMENTATION AND INTERFACE EVIDENCE

    The supplied images (see Fig. 2) include the homepage, deterministic analysis results page, AI evaluation page, and a sample security report generated by the tool. This demonstrates that the project has these interface capabilities, but does not constitute verification of backend functionality.

    Fig 2.1 Secure SBOM landing page

    Fig 2.2 Deterministic vulnerability findings dashboard

    Fig 2.3 AI assessments kept separate from verified findings

    requests 2.25.0

    27

    11

    0.41

    7.00

    jinja2 2.11.2

    15

    5

    0.33

    5.18

    urllib3 1.26.4

    27

    11

    0.41

    5.68

    pydantic 2.8.2

    0

    0

    N/A

    3.49

    Fig 2.3 Generated security report overview

    In the case of the dashboard screen capture, there is an inconsistency where the counter for the scanned packages and the counter for the affected components is zero, whereas the count for the canonical findings is not zero. In order to validate the correctness of the scan in this particular dashboard state, this issue needs to be investigated. In the case of the report screen capture, there is an overview of the scan with the number of components and severities.

  2. EVALUATION PLAN AND INITIAL MEASUREMENTS REPORTED BY PROJECT

    A reproducibly performed evaluation should include measurements of correctness in dependency resolution, SBOM validity, vulnerability detection, advisories matching, AI support of evidence, and execution time. The reference set should include package and version pairs, advisory IDs, affected versions conditions, and the source of ground truth for each case. The same environment and source snapshots should be used to compare repeated runs. The provided project report gives initial values from Table I which are reported project values and should be confirmed with actual evaluation/results.json file, test logs, source snapshots, and the particular revision of the code before conference submission. It is deliberate to omit the project dossier’s claim of 100% accuracy of the provided summary because it lacks sufficient information regarding the process of obtaining ground truth.

    .TABLE I

    PRELIMINARY MEASUREMENTS REPORTED IN THE PROJECT DOSSIER

    Package/version

    Raw

    Canon

    Ratio

    Time(s)

    These values in Table I correlate with Nc/Nr for rows with non-zero raw counts. The 0 record row has ‘not applicable’ because 0/0 value is undefined. Lower consolidation ratio indicates fewer canonical clusters after correlations, but confirmation from a manual or reference comparison is needed to make sure that these groups are correct. Likewise, lack of results for one selected package does not constitute sufficient basis for determining a false-positive rate. The report also lists 44 automated tests. This number needs to be corroborated by the test suite and its output. In case of vulnerability detection, precision and recall need to be calculated on the basis of a reference set: Precision = TP/(TP + FP), (4) Recall

    = TP/(TP + FN), (5) where TP,

    FP, and FN are true positives, false positives, and false negatives on the basis of a defined matching policy. Evaluation needs to be made per a defined unit of evaluation, e.g., package version/advisory pair or a canonical vulnerability group.AI assessments must be considered independently from deterministic detections. Some useful metrics are the proportion of material claims that are supported by citations, ratio of unsupported-identifier rejections, evidence abstaining behavior, correctness of mitigations, and human reviews. Mocking of providers is sufficient for validating behavior of the pipeline, but not for assessing the actual language model.

  3. THREATS TO VALIDITY AND LIMITATIONS

    1. Dependency- Resolution Validity Validity of the completeness of dependency inventory relies on manifest syntax, version constraints, package metadata, platform annotations, and resolver behavior. Dependency resolution via metadata does not guarantee creation of an environment identical to that built using an installer or lock file. The results need to state what inputs were tested.

    2. Vulnerability-Matching Validity

      Sources of public vulnerabilities may be incomplete,

      out of-date, or inconsistent. The use of alias-based correlation can limit repeated warnings, but incorrectly correlated aliases may cause different vulnerabilities to become one. The package and version matches do not guarantee code reachability or exploitations. Such considerations demand critical examination of scanner results.

    3. AI and Security Validity Evidence search, structural formatting of results, ID filtering, and human validation may address the selected problems but still cannot guarantee the absence of hallucinations, false negatives, prompt injection, or wrong remediations. In case of sending package metadata to the hosted models, data processing concerns should be noted. Names of models/providers, prompts, configurations, and collected evidence should be stored when possible.

    4. Evaluation Validity Currently, the numerical summary of the evaluation is not reproduced independently in this draft. The results have to be generated from the evaluation artifacts and associated with the particular revision of the source code in order to use them for effectiveness justification. The images are interface based evidence, and thus cannot be considered experimental evidence. In particular, inconsistent counter values on the dashboard have to be reconciled with scan results.

  4. CONCLUSION AND FUTURE WORK

In this paper, SecureSBOM : an application for Python that provides dependency inventory, export of SBOM in the CycloneDX format, identification of the sources of vulnerabilities, presentation according to the severity of issues, reporting, and a separate AI- supported review process has been described. The main design concept of SecureSBOM is keeping deterministic source-based findings separated from AI-generated ones, which need to be independently verified.

The initial follow-up tasks would include reproducing the benchmark results, validating the SBOM generation against the declared CycloneDX schema version, testing advisory correlation edge cases, reconciling differences between dashboard and report counts, and verifying claims of AI capability against gathered data. Some future tasks might include exploration into other ecosystems, dependency

reachability, signed provenance, and remedition, on the condition that these extensions be assessed and not taken as an automatic success.

ACKNOWLEDGMENT

We are truly grateful to Mr. Pratyush Acharya, our guide, for his advice and support throughout the development of SecureSBOM. We also thank the Department of Computer Science and Engineering, Presidency University, Bengaluru.

REFERENCES

  1. S. E. Ponta, H. Plate, and A. Sabetta, Detection, assessment and mitigation of vulnerabilities in open source dependencies, Empir. Softw. Eng., vol. 25, pp. 31753215, 2020, doi: 10.1007/s10664-020- 09830-x.

  2. C. Okafor, T. R. Schorlemmer, S. Torres-Arias, and J. C. Davis, SoK: Analysis of software supply chain security by establishing secure design properties, in Proc. ACM Workshop Softw. Supply Chain Offensive Res. Ecosyst. Defenses (SCORED), 2022, doi: 10.1145/3560835.3564556.

  3. P. Ladisa, S. E. Ponta, A. Sabetta, M. Martinez, and O. Barais, Journey to the center of software supply chain attacks, IEEE Secur. Privacy, vol. 21, no. 6, pp. 3449, 2023, doi: 10.1109/MSEC.2023.3302066.

  4. T. Stalnaker, N. Wintersgill, O. Chaparro, M. Di Penta, D. M. German, and D. Poshyvanyk, BOMs away! Inside the minds of stakeholders: A comprehensive study of bills of materials for software systems, in Proc. 46th IEEE/ACM Int. Conf. Softw. Eng. (ICSE), 2024, doi: 10.1145/3597503.3623347.

  5. B. Xia, T. Bi, Z. Xing, Q. Lu, and L. Zhu, An empirical study on software bill of materials: Where we stand and the road ahead, in Proc. IEEE/ACM 45th Int. Conf. Softw. Eng. (ICSE), 2023, doi: 10.1109/ICSE48619.2023.00219.

  6. T. Bi, B. Xia, Z. Xing, Q. Lu, and L. Zhu, On the way to SBOMs: Investigating design issues and solutions in practice, ACM Trans. Softw. Eng. Methodol., vol. 33, no. 6, 2024, doi: 10.1145/3654442.

  7. E. O’Donoghue, Y. Hastings, E. Ortiz, and A. R. M. Muneza, Software bill of materials in software supply chain security: A systematic literature review, 2025, arXiv:2506.03507. [Online]. Available:

  8. L. Zhao, S. Chen, Z. Xu, C. Liu, L. Zhang, J. Wu, J. Sun, and Y. Liu, Software composition analysis for vulnerability detection: An empirical study on Java projects, in Proc. ACM Joint Eur. Softw. Eng. Conf. Symp. Found. Softw. Eng. (ESEC/FSE), 2023, pp. 960972, doi: 10.1145/3611643.3616299.

  9. OWASP Foundation. CycloneDX specification. Accessed: Oct. 23, 2026. [Online]. Available:

  10. Google. OSV API. Accessed: Oct. 23, 2026.

    [Online].Available:https://google.github.io/osv.dev/api/

  11. Python Packaging Authority. PyPI JSON API. Accessed: Oct. 23,

    2026. [Online]. Available:

  12. National Institute of Standards and Technology. National Vulnerability Database. Accessed: Oct. 23, 2026. [Online]. Available: https://nvd.nist.gov/