Teaching DevOps Security Education with Hands-on Labware: Automated Detection of Security Weakness in Python

Mst Shapna Akter, Juanjose Rodriguez-Cardenas, Hossain Shahriar, Akond Rahman, Fan Wu, Wu, FanarXiv 2023 · DOI

Abstract

The field of DevOps security education necessitates innovative approaches to effectively address the ever-evolving challenges of cybersecurity. In adopting a student-centered approach, there is the need for the design and development of a comprehensive set of hands-on learning modules. In this paper, we introduce hands-on learning modules that enable learners to be familiar with identifying known security weaknesses, based on taint tracking to accurately pinpoint vulnerable code. To cultivate an engaging and motivating learning environment, our hands-on approach includes a pre-lab, hands-on and post lab sections. They all provide introduction to specific DevOps topics and software security problems at hand, followed by practicing with real world code examples having security issues to detect them using tools. The initial evaluation results from a number of courses across multiple schools show that the hands-on modules are enhancing the interests among students on software security and cybersecurity, while preparing them to address DevOps security vulnerabilities.

Introduction

As the software industry increasingly adopts DevOps to accelerate delivery cycles, security integration—often termed DevSecOps—has become a critical necessity. However, a significant gap exists between theoretical cybersecurity education and the practical skills required to secure modern CI/CD pipelines. Traditional curricula often lack hands-on experience in identifying vulnerabilities within infrastructure-as-code (IaC) or automated workflows. This paper presents a series of ten open-source, portable learning modules designed to bridge this gap by providing students with accessible, real-world security challenges.

Methodology: Authentic Learning Framework

The curriculum is built upon the Authentic Learning framework, which emphasizes immersive, real-world tasks to foster deep understanding. To eliminate technical barriers, the labware is hosted on GitHub and executed via Google Colab, allowing students to run complex security tools directly in a web browser without local configuration.

Each module follows a structured three-step cycle designed to move students from conceptual understanding to active problem-solving:

  1. Pre-lab: Introduces foundational concepts and basic security scenarios.
  2. Hands-on Lab: Students engage with real-world code examples to detect vulnerabilities.
  3. Post-lab: Students optimize their solutions and reflect on the process to improve detection accuracy and build self-efficacy.
The three-step pedagogical cycle: Prelab (Initiating Understanding), Doing (Engaging/Hands-on), and Extending (Evaluating & Applying).

Technical Implementation: Taint Tracking

A core technical focus of the labware is Taint Tracking. This method involves tracing "tainted" data—untrusted user input—as it flows through an application. The goal is to determine if this data reaches a "sink," such as a database query or a system command, where it could execute a malicious payload (e.g., SQL injection).

Conceptual diagram of taint tracking, illustrating the flow of data from inputs to application sinks.

By teaching the logic of taint tracking rather than just the use of automated scanners, the modules help students understand the underlying mechanics of vulnerabilities. The curriculum covers a wide DevSecOps spectrum, including Git hooks for static analysis, Kubernetes manifest security, and automated secret management.

Evaluation and Results

The modules were evaluated using survey data from approximately 74 undergraduate engineering students across Kennesaw State University, Auburn University, and Tuskegee University. The study reached a diverse demographic, including significant representation from female and African American students.

Key findings include:

  • High Engagement: Over 80% of participants agreed or strongly agreed that the hands-on tutorials were beneficial to their learning.
  • Relevance: Approximately 70% of students reported that working with real-world applications significantly enhanced their cybersecurity understanding.
  • Career Readiness: A total of 42 participants explicitly confirmed that the modules made them feel better prepared for future professional challenges.

Conclusion

The initial deployment of these hands-on modules demonstrates that removing technical friction and focusing on authentic, real-world tasks can significantly enhance student interest in DevOps security. Future work will focus on long-term skill retention assessments, expanding the modules to other programming languages like Go and JavaScript, and scaling the complexity of the datasets to match the evolving threat landscape.

Summary updated

BibTeX
@misc{akter2023teaching,
  author = {Mst Shapna Akter and Juanjose Rodriguez-Cardenas and Hossain Shahriar and Akond Rahman and Fan Wu and Wu, Fan},
  title = {{Teaching DevOps Security Education with Hands-on Labware: Automated Detection of Security Weakness in Python}},
  year = {2023},
  eprint = {2311.16944},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2311.16944},
}
Figure