<link rel="stylesheet" href="styles.cf390c6bfbe7555f.css">

Computing and Mathematical Sciences

Permanent URI for this communityhttps://researchcommons.waikato.ac.nz/handle/10289/5

This community houses research from the Faculty of Computing and Mathematical Sciences at the University of Waikato.

Browse

Search Results

Now showing 1 - 3 of 3
  • Item type:Publication,
    CodeWars: Using LLMs for vulnerability analysis in cybersecurity education
    2026-03-21, The Colloquium for Information Systems Security Education
    Large Language Models (LLMs) are increasingly explored as tools for software development and could further constitute a supplementary source for the development of varied examples intended for pedagogical use. While they can improve productivity, their ability to produce code that is both secure and compliant with Secure Software Development (SSD) practices remains uncertain, raising concerns about their role in cybersecurity education. If LLMs are to be integrated effectively, students must be trained to critically evaluate generated code for correctness and vulnerabilities, raising an important question: How can LLM-generated code be effectively and securely incorporated into Cybersecurity education for teaching vulnerability analysis? This paper introduces CodeWars, a novel teaching methodology that combines LLM-generated and human-written code to examine how students engage with vulnerability detection tasks. CodeWars was implemented as a pilot study with a total of 32 students at Cardiff University and the University of Waikato, where students analyzed flawed, secure, and mixed-origin code samples. By comparing student approaches, analysis, and perceptions, the study provides insights into how vulnerabilities are detected, how code origins are distinguished, and how SSD practices are applied. Our analysis of student feedback and interviews indicates that Codewars produced structured and accessible code, simplifying vulnerability identification and offering educators the means to efficiently develop varied SSD teaching applications. These findings illuminate both the advantages and constraints of employing LLMs in secure coding and position this study as a foundational step toward the responsible adoption of AI in Cybersecurity Education.
  • Item type:Publication,
    Adaptive digital twins for energy-intensive industries and their local communities
    2024, Elsevier BV
    Digital Twins (DTs) are high-fidelity virtual models that behave-like, look-like and connect-to a physical system. In this work, the physical systems are operations and processes from energy-intensive industrial plants and their local communities. The creation of DTs demands expertise not just in engineering, but also in computer science, data science, and artificial intelligence. Here, we introduce the Adaptive Digital Twins (ADT) concept, anchored in five attributes inspired by the self-adaptive systems field from software engineering. These attributes are self-learning, self-optimizing, self-evolving, self-monitoring, and self-protection. This new approach merges cutting-edge computing with pragmatic engineering needs. ADTs can enhance decision-making in both the design phase and real-time operation of industrial facilities and allow for versatile 'what-if' scenario simulations. Seven applications within the energy-intensive industries are described where ADTs could be transformative.
  • Item type:Publication,
    Automating test scripts for Android UI testing
    2024, Academy & Industry Research Collaboration Center
    The Espresso capture/replay testing tool for Android applications creates tests that are prone to test fragility, in that when small changes occur to the user interface, tests break and are unable to be re-run. To reduce the fragility and its impact inherent in Espresso tests, we take a modeldriven development approach to test generation. Using interaction sequence models as the basis for generation, we are able to create test scripts that can be run in Android Studio identically to manually recorded tests. This process simplifies scripts when compared with those generated by recording and reduces the time required by developers to create and maintain the test suite, resulting in higher quality testing and validation of Android user interfaces.
All items in Research Commons are provided only to permit fair dealing for the purposes of research or private study. They are protected by copyright with all rights reserved unless otherwise indicated.