Adversarial CS

Think like the adversary. Build like the defender.

The Adversarial CS Project brings adversarial thinking and analytics into the first computer science courses students take at El Paso Community College, then puts those skills to work in binational hackathons and workshops across the borderland.

Developing Computational Adversarial Thinking · NSF Advanced Technological Education, Award DUE-2300378

AgeCheck.java

          
Enter your age:

Adapted from our CS1 activity on preventing Grandma from typing “cow” instead of a number. Pick an input, then switch to the defended version.

Adversarial thinking is the new computational thinking

Computational thinking teaches students to express a solution a computer can run. Adversarial thinking asks the next question: how could this solution be misused, broken, or fooled, and what should the program do about it? CSEC2017 names it a cross-cutting concept of cybersecurity; we treat it as a habit every programmer needs from week one.

Anticipate

Imagine the inputs, users, and situations the designer never planned for, from a mistyped number to a deliberate attack.

Analyze

Use data and evidence to judge what is likely, what is costly, and which claims and sources can be trusted.

Defend

Write resilient code: validate input, respect data limits, protect integrity, and fail safely when something goes wrong.

Course modules, CS0 through CS4

Adversarial thinking is woven into the existing fundamentals sequence rather than taught as a separate security course. Each module is a ready-to-use activity for instructors and peer leaders; materials open in Google Docs and Drive.

  1. CS0

    Adversarial and Analytics Thinking

    CS Fundamentals 0 — an introduction for majors and non-majors alike.

  2. CS1

    Fundamentals of Computer Programming

    CS Fundamentals I — input, types, and data integrity.

  3. CS2

    Elementary Data Structures and Algorithms

    CS Fundamentals II — arrays meet biometrics.

  4. CS3

    Data Structures

    CS Fundamentals III — modeling systems an adversary might target.

  5. CS4

    Computer Organization and Machine Language

    CS Fundamentals IV — how data and instructions live in memory.

    • Modules in development. Check back, or contact the project team to pilot one.

Research

The project studies what happens when adversarial thinking is infused into introductory courses. Early comparisons of course sections with and without the AT modules suggest students in the AT sections write more secure programs.

Integrating AT into Fundamentals of CS

Designing, piloting, and evaluating adversarial thinking modules across the CS0–CS4 sequence, supported by peer-led team learning.

Misinformation Analytics

Applying analytics thinking to how false information spreads, and how students can evaluate sources and claims with data.

Bloom’s for Computing: Adversarial Thinking Verbs

Identifying the action verbs that signal adversarial thinking so learning outcomes and assessments can target it explicitly.

Project publications

  • 2026 Integrating Adversarial Computing into Foundational CS Education: Teaching Security and Adversarial ThinkingChristian Servin, Nadia V. Karichev
    Proceedings of the 57th ACM Technical Symposium on Computer Science Education (SIGCSE TS 2026), Vol. 2, pp. 1509–1510
    ACM DL
  • 2025 Adversarial Computing: Integrating Resilience and Security Into Foundational CS EducationChristian Servin, Nadia V. Karichev
    ACM SIGCITE 2025, pp. 113–118
    ACM DL
  • 2025 Adversarial Thinking: Innovating Contemporary Problem Solving Skills in ComputingChristian Servin, J. J. Childress, Nadia V. Karichev
    Journal of Computing Sciences in Colleges 40(7), pp. 36–41
    ACM DL
  • 2025 Enhancing Cybersecurity Mindset through Rock-Paper-Scissors: A Hands-On Approach to Adversarial ThinkingChristian Servin
    ITiCSE 2025, Vol. 2, p. 763
    ACM DL
  • 2024 Hack the Border: Empowering Experiential Learning Competencies in Computing through HackathonsChristian Servin, Nadia V. Karichev, J. J. Childress
    Journal of Computing Sciences in Colleges 39(7), pp. 52–57
    ACM DL
  • 2024 Rock Paper Scissors: Towards Infusing Adversarial Thinking into Computing EducationChristian Servin, Nadia V. Karichev, Alejandro Solano
    UTEP–NMSU Workshop on Mathematics, Computer Science, and Computational Science, 2024
    PDF
  • 2024 Unfolding Programming: How to Use AI Tools in Introductory Computing CoursesChristian Servin, Nadia V. Karichev, Myshie Pagel
    ACM SIGITE 2024, pp. 49–55
    ACM DL
  • 2023 An Authentic Peer-Led Team Learning Program for Community Colleges: A Recruitment, Retention, and Completion Instrument for Face-to-Face and Online ModalityChristian Servin, Myshie Pagel, Ernest Webb
    Proceedings of the 54th ACM Technical Symposium on Computer Science Education (SIGCSE TS 2023), Vol. 1, pp. 736–742
    ACM DL

Related work in the ACM Digital Library

Looking for more? Search “adversarial thinking” in the ACM Digital Library.

Hack the Border

A binational hackathon for the border good. Students from both sides of the US–Mexico border apply adversarial thinking to regional challenges, from finance to transportation to public spaces.

  1. V4.0Hack the Border 4.0 — six challenges, including four critical-infrastructure scenarios
  2. V3.0Hack the Border 3.0
  3. V2.0Hack the Border 2.0
  4. V1.0Hack the Border 1.0 — Fall 2022 hackathon

HTB 4.0 challenges

Challenge 5 asks teams to think adversarially about the systems a city depends on:

The Adversarial Thinking Village extends these scenarios into critical-infrastructure exercises for students and professionals.

About the project

Developing Computational Adversarial Thinking: Bridging Technical Skills Training and Academic Coursework.

The national shortage of software developers with basic cybersecurity skills is well documented. It stems from a divergence between career technical education and traditional academic degree paths: many IT professionals understand the technical side of cybersecurity, from installing firewalls to forensics, but need more software development skill, while computer scientists trained on the academic path understand software development but lack adversarial thinking (AT) skills.

The goal of this project is to increase cyber awareness by helping students develop AT skills. It investigates the impact of using AT in introductory computing courses for computer science and non-computer science majors. By infusing AT into computing programs at the community and technical college level, the project strengthens the first two years of computing education and increases the number of qualified software developers in the borderland of El Paso, Texas.

New initiatives include a computer science course for non-majors that introduces AT in a multidisciplinary setting; AT modules in the fundamentals of computer science courses; professional development for students, instructional assistants, and professionals; and student competitions (hackathons). Best practices and content are shared in a public repository for educators worldwide. The project is funded by the NSF Advanced Technological Education program, which focuses on educating technicians for the advanced-technology fields that drive the nation’s economy.

Project team

  • Christian Servin, Ph.D.Principal Investigator · Professor of Computer Science, El Paso Community College
  • Nadia V. KarichevComputer Science faculty, El Paso Community College
  • J. J. ChildressProject collaborator
  • EPCC peer leadersStudents who lead peer-led team learning sessions and support the AT modules, hackathons, and workshops
Sponsor
National Science Foundation
Program
Advanced Technological Education (ATE)
Award
DUE-2300378
Institution
El Paso Community College, El Paso, Texas