Carnegie Mellon University

Research

Carnegie Mellon’s Software and Societal Systems Department (S3D) hosts an active research group with a highly interdisciplinary approach to software engineering. Indeed, we believe that interdisciplinary work is inherent to software engineering. The field of software engineering (SE) is built on computer science fundamentals, drawing from areas such as algorithms, programming languages, compilers, and machine learning. At the same time, SE is an engineering discipline: both the practice of SE and SE research problems revolve around technical solutions that successfully resolve conflicting constraints. As such, trade-offs between costs and benefits are an integral part of evaluating the effectiveness of methods and tools.

Emerging problems in the area of privacy, security, and mobility motivate many challenges faced by today’s software engineers, motivating new solutions in SE research. Because software is built by people, SE is also a human discipline, and so research in the field also draws on psychology and other social sciences. Carnegie Mellon faculty bring expertise from all of these disciplines to bear on their research, and we emphasize this interdisciplinary approach in our REU Site.

Below, you'll find projects we are planning for summer 2027. Please check back as we continue to add new projects to the list.

Mentor: Justin Chan

Description and Significance
Imagine watching an ad or movie on an augmented reality display (e.g. Meta Orion Glasses, HoloLens). Playing on top of the video is an imperceptible visual overlay that flickers subtly to convey information to the brain, similar to a QR code, that could be used to record your attention and gaze as you watch it, without the use of any cameras.

Imagine navigating a sophisticated user interface on smart glasses while on the go using only your eyes and attention, without the use of tiring or awkward hand gestures and voice commands.

SSVEPs (steady-state visual evoked potentials) are a robust brain-computer interaction that can enable screen interaction using only visual attention and minimal user training. They have been successfully used in high-precision applications including virtual keyboards and robotic control with 97-99% accuracy.

When a user focuses on a flickering target, the visual cortex automatically generates detectable brain waves (EEG) at the same frequency, allowing real-time, hands-free selection.

However, conventional SSVEP systems use flicker frequencies that can cause substantial visual fatigue.

Here, we propose an imperceptible SSVEP-based BCI tailored for extended reality (XR) devices like smart glasses and headsets that leverage AI-generated flicker patterns that is imperceptible to the eye.

This project proposes the high refresh rate of modern augmented reality displays (conventionally used to render the world without causing cyber sickness to the user), to flash visual icons at high frequencies faster than the eye can perceive, and use this to encode information. Through carefully designed flashes, we can induce EEG brain signals at the flashing frequency.

Given recent patents from Apple and other technology companies to integrate flexible electrodes for physiological sensing around the face in their augmented reality devices, this work has the potential to lay important foundations for new interactions mechanisms with visual-based media in everyday environments.

Student Involvement
The student will have the opportunity to lead or join a project that can lead to publication at a venue in mobile systems, ubiquitous computing or HCI.

The student will engage in hardware prototyping with microcontrollers and sensors, and the design of applied signal processing, and machine learning pipelines. The exact responsibilities of the students will be tailored based on his or her exact background and skillset.

The student will benefit from being part of a vibrant lab community that is highly engaged with their work, and supportive of each other's growth and development. The student can expect to benefit from a faculty and senior PhD team that will provide hands-on research and career mentorship through the internship, and if successful, after the internship through till publication of the project.
Mentor: Hanan Hibshi

Description and Significance
When a learner solves a cybersecurity challenge with AI assistance, what does that result tell us about their understanding? Can they recognize an incorrect recommendation, explain why an attack works, or choose a response that protects a system without disrupting legitimate activity?

CyLab Security Academy at Carnegie Mellon University provides a free, hands-on cybersecurity education platform for students, educators, and independent learners. Building on the team’s experience developing CTF competitions and gamified learning platforms, our research brings together cybersecurity, software engineering, human-computer interaction, learning science, and data analysis.

Our research examines how hands-on education can help learners understand emerging security problems and demonstrate their reasoning. Areas of interest include AI-enabled systems, secure systems programming, blockchain applications, interactive security scenarios, and learning analytics. We investigate both how to design effective learning experiences and how to evaluate what participants learn from them.

For summer 2027, undergraduate students will contribute to focused, exploratory research projects. Each project will pair a manageable research question with a study, analysis, or prototype and an evaluation. Projects will use research environments, approved datasets, controlled classroom studies, or isolated test systems, with scope tailored to students’ experience and the summer schedule.

Research Projects
  • Human and AI Collaboration in Cybersecurity Learning: Study how AI assistance affects problem-solving, verification, and knowledge transfer. Students design tasks, run pilot studies, and code interaction logs to identify helpful vs. misleading AI use.
  • Game-Based Security Decisions and Consequences: Prototype a small mission where actions alter a simulated organization’s state. Students build game logic, log decisions, and run usability tests to observe how learners weigh competing security trade-offs.
  • Learning Analytics and Evidence of Capability: Analyze de-identified Academy data on progression, attempts, and difficulty. Students create reproducible scripts and visualizations to evaluate what platform signals reveal—and miss—about learner capability.
  • Designing and Evaluating Security Challenges: Create a controlled challenge sequence on AI security risks (e.g., prompt injection, unsafe tool use). Students write learning objectives, build checks, and pilot-test usability, difficulty, and educational value.
  • Blockchain Security and Hands-On Learning: Create interactive exercises on a local test network (simulated assets) covering smart contract or wallet vulnerabilities. Students build a small demo and exercise, then evaluate how well learners grasp trust assumptions.
  • Learning Rust in the Age of AI: Extend prior classroom research on C developers learning Rust by having them actively use and evaluate AI tools on the same assignment. Students adapt the study protocol, analyze code and AI logs, and code qualitative feedback.
Student Involvement
We welcome undergraduate students interested in cybersecurity, software engineering, data science, human-computer interaction, game development, blockchain, or computing education. Prior CTF, blockchain, or systems programming (C/Rust) experience may be helpful for particular projects, but students can also contribute through programming, experimental design, statistics, interface design, or qualitative research.

Students will work with Dr. Hanan Hibshi and the research team to select a bounded research question, review relevant literature, develop a study or prototype, and evaluate the results. Projects involving participants or platform data will follow applicable institutional review and data-access requirements.

These are mentored research opportunities. Students will not be responsible for production infrastructure, live competition delivery, or other mission-critical operations. Any adoption of research outputs into the Academy platform will undergo separate staff review, testing, and integration.

The goal is for each student to own a manageable investigation and produce a research report, reproducible analysis, evaluated prototype, or experimental challenge sequence. Students who enjoy building systems, investigating security problems, and asking how people learn will find opportunities to contribute.

Selected References
Kakkad, V., Chung, P., Hibshi, H., & Woo, M. (2026). Comparative Insights on Adversarial Machine Learning from Industry and Academia: A User-Study Approach. Preprint / User Study on AML Education and CTF Challenges.

Carreira, C., Aggarwal, A., Cuevas, A., Ferreira, M. J., Hibshi, H., & Gonzalez, C. (2025). Evidence of Cognitive Biases in Capture-the-Flag Cybersecurity Competitions. arXiv preprint arXiv:2510.05771.

McCormack, I., Dougan, T., Estep, S., Hibshi, H., Aldrich, J., & Sunshine, J. (2024). A Mixed Methods Study on the Implications of Unsafe Rust for Interoperation, Encapsulation, and Tooling. ACM Transactions on Software Engineering and Methodology (TOSEM).

Cuevas, A., Hogan, E., Hibshi, H., & Christin, N. (2022). Observations From an Online Security Competition and Its Implications on Crowdsourced Security. arXiv preprint arXiv:2204.12601.

Mentors: Lorrie Cranor and Joseph Calandrino

Description and Significance
Governments, nonprofits, and companies produce many cybersecurity awareness campaigns: short videos, comedy series, tip sheets, games, and classroom lessons that teach people to spot scams and protect themselves online. These campaigns reach millions of people, but there is little evidence about how well they work. Success is usually measured in views rather than in whether people actually recognize scams, take protective steps, or keep those habits over time. Our team evaluates real-world campaigns and works with the organizations behind them to make campaigns more effective. We aim to improve these tools to fight scams and online fraud and give organizations practical methods for evaluating their own campaigns.

Student Involvement
Students will help design and conduct studies that evaluate how people respond to cybersecurity awareness campaigns. Depending on the student's interests and the current stage of the project, this might include interviewing people about the security advice they have encountered, running online surveys and experiments, designing realistic study tasks, or instrumenting people's browsers to observe how they behave online after seeing a campaign. Students may learn qualitative and quantitative research methods. We welcome students with interests in design, programming, behavioral science, and usable security and privacy.

References
Van Steen et al. What (if any) behaviour change techniques do government-led cybersecurity awareness campaigns use? Journal of Cybersecurity, 2020. https://academic.oup.com/cybersecurity/article/6/1/tyaa019/6032830?login=false

Kumaraguru et al. School of Phish: A Real-World Evaluation of Anti-Phishing Training. SOUPS 2009. https://dl.acm.org/doi/10.1145/1572532.1572536

Bouma-Sims, Klucinec, Lanyon, Downs, and Cranor. The Kids Are All Right: Investigating the Susceptibility of Teens and Adults to YouTube Giveaway Scams. NDSS 2025. https://www.ndss-symposium.org/wp-content/uploads/2025-342-paper.pdf

Mentor: Joseph Calandrino

Description and Significance
This project will explore the intersection of security and privacy, AI, and consumer protection. AI is transforming how consumers interact with the marketplace and how they may be exposed to harm and deception. Fraud and scams increasingly incorporate AI, developers rely on AI when producing privacy- and security-critical software, and consumers regularly encounter AI when researching products.

Through computer science research, my group explores technology-relevant policy questions and interventions, including questions related to AI. We apply a wide range of computer security and privacy research methods to measure the prevalence of policy-relevant practices, shed light on how those practices work, understand pertinent consumer perspectives and behavior, and build systems that assist in analysis or offer improved protections. As a result, students who work with the group are exposed to diverse technical topics. Recent and ongoing projects from my group explore the risk of AI-generated counterfeit documents, the role of third-party libraries in mobile app privacy issues, the impact of an international privacy law update, and other relevant topics.

Student Involvement
Specific study details will depend on student background, interest, and project status. For example, a student may contribute to large-scale measurement studies of particular technical practices, reverse engineer or analyze technical systems, develop software tools, or assist with user studies. Students will learn both how to conduct technical security and privacy research and how to ensure that their research is well-tailored to address critical policy-relevant issues related to AI.

References
L. Nenadic, D. Rodriguez, J. A. Calandrino. Overcoming Language Barriers: Multilingual Analysis of the 2023 Swiss Privacy Law's Impact. 26th Privacy Enhancing Technologies Symposium (PETS 2026).
https://doi.org/10.56553/popets-2026-0141

D. Rodriguez, J. A. Calandrino, J. M. Del Alamo, N. Sadeh. Privacy Settings of Third-Party Libraries in Android Apps: A Study of Facebook SDKs. 25th Privacy Enhancing Technologies Symposium (PETS 2025).
https://doi.org/10.56553/popets-2025-0056
Mentor: Jonathan Aldrich

Description and Significance
Recent work [1,2,3,4,5] has made significant advances to the state-of-the-art in type systems for guaranteeing security invariants of programs, in particular information flow control. Information flow is an essential security technique which guarantees confidentiality, the property that secrets do not leak, and integrity, the property that critical program logic is protected---regardless of the actions of an unprivileged attacker. Confidentiality and integrity together provide noninterference, which states that an untrusted portion of a program cannot maliciously affect the execution of, or glean information from, a disjoint and trusted portion. Obtaining that a program satisfies noninterference is the pinnacle of security reasoning because it renders the specified fragment nearly impervious to security flaws.

Despite the utility of noninterference specifications in avoiding security bugs, they have thus far been excessively complicated both to write and understand, and scale poorly to describing programs of realistic size. Worse still, all approaches to information flow to date operate under the conventional wisdom that practical programs must violate noninterference. Consider the case of a password checker, which must leak at least a boolean amount of information about the password to fulfill its purpose. To accommodate this need most approaches to information flow introduce unsafe casts, known as declassification, into the language. This often stands in the way of modular reasoning. Existing tools and languages equipped with information flow reasoning have seen limited adoption.

We have recently proposed and theoretically validated [3,4] a system which resolves the apparent conflict between declassification and non-interference, enabling modular reasoning. A further development [1,2] introduces a minimal extension to our system which vastly extends the reach of information flow to encompass capabilities (in the sense of capability-based security), quantitative leakage, protocol reasoning, and more, exploiting insights from substructural type systems like that found in Rust. And another [5] replaces confidentiality and integrity as fundamental reasoning constructs with better-behaved primitives towards specification simplicity and comprehensibility.

Student Involvement
Students working on this project might get involved in one or more of the following activities, based on interest:
  • Working on implementing the above, developing higher-level syntax, type inference procedures, and other tasks to this end
  • Extending the system to encompass reasoning about concurrency and state
  • Setting up user studies for the system and evaluating end users' mental models of information flow, comparing and contrasting with prior systems
  • Performing empirical studies on real-world security needs and designing higher-level specification language features to accommodate them
  • Secure compilation for information flow-typed languages
  • Anything else that piques your interest; feel free to propose! :)
Mentors: Claire Le Goues and Andrew Begel

Description and Significance
Modern software engineering work is shifting toward judgment of AI-generated code and away from independent generation of solutions to engineering problems. This paradigm shift has been associated with an increase in applicable developer cognitive biases: subconscious and systematic deviations from rational behavior that can lead to suboptimal outcomes. For example, anchoring bias, wherein judgment is influenced by a reference point, has been causally linked to negative outcomes in software tasks such as effort estimation and design. Studies have shown that anchoring can increase over- and underestimation during software effort estimation and can perpetuate errors and omissions in software reuse.

This project will center around empirical measurement of the effects of AI assistance on one or more cognitive biases and may include the evaluation of an intervention to reduce these effects (e.g., through a controlled experiment), depending on student interest. For example, forcing developers to generate their own hypotheses before being presented with a software artifact (e.g., a patch suggestion, during debugging) could reduce anchoring.

Student Involvement
Students will be mentored to lead a project related to the above description that can lead to publication at a software engineering of human-computer interaction venue (e.g., FSE, CHI). They will learn how to design, run, and analyze human studies in software engineering. The methodology and design will be influenced by the student's interest and what method is best fit to answer the research questions they are most interested in. No prior research experience is needed. Students may continue working on the project after the internship through its publication.
Mentor: Jonathan Aldrich

Description and Significance
We are developing a new programming language, Meerkat, for distributed web apps. Meerkat is an end-to-end reactive programming language, meaning that it provides seamless reactivity not just on the front end but responds to changes in back end data as well. A type system allows Meerkat programs to be updated safely while they are running. Starting with a client-server concept developed by our collaborators [1], we are exploring the theory and implementation of making the approach scalable by keeping reactive data on a distributed data store [2]. The end goal is to provide programmers with a safer, more scalable, and more usable programming model compared to the state of the art.

Student Involvement
We anticipate that students will contribute to the design and implementation of Meerkat. Students should have taken a class (or gathered experience outside the classroom) in compilers. The project will involve some distributed systems work but can learn what they need to know as part of the internship. Depending on the interests and background of the student, there may be opportunities to extend the theoretical foundations of the system as well.

References
[1] Type Safe Evolution of Live Systems. Miguel Domingues and João Costa Seco. REBLS'15. https://docentes.fct.unl.pt/jrcs/files/rebls15.pdf

[2] The Meerkat Vision: Language Support for Live, Scalable, Reactive Web Apps. João Costa Seco and Jonathan Aldrich. Proc. Onward!, 2024. https://dl.acm.org/doi/10.1145/3689492.3690048
Mentor: Riccardo Paccagnella

Description and Significance
Over the past two decades, numerous attacks have emerged in which an adversary exploits properties of the hardware to breach the security of software, even in the absence of software vulnerabilities. These attacks stem from the increasing gap between the abstraction hardware is intended to expose and the one its implementation concretely exposes. This project aims to develop a deeper understanding of this abstraction gap, with a particular focus on microarchitectural attacks (e.g., Spectre, Meltdown, Hertzbleed). Project goals include developing a deeper understanding of the microarchitectural optimizations enabling these attacks, assessing the vulnerability of software (e.g., cryptographic software) against these attacks, and developing practical mitigations against these attacks.

Student Involvement
Students will work with a team to answer research questions related to the above project description. In the process, students will learn how computer systems (really) work behind abstraction layers, how to attack real software by exploiting real hardware, and how to make software and hardware more secure and efficient. No prior experience in this area is required -- just curiosity and a desire to learn about these topics.

Mentor: Christian Kästner

Description and Significance
Software systems increasingly include AI components, including agents that act as part of a larger system. For example, a customer service agent may use company tools and data to respond to customers or carry out tasks on their behalf. An end user may use agents to help them automate daily email tasks.

These AI components create new software engineering challenges. Their behavior is often probabilistic and difficult to anticipate, and systems that allow them to act autonomously may take unexpected actions that create safety risks. AI components may also introduce new attack surfaces and security challenges. Software creators and end users need ways to understand these risks, specify safety and security requirements, defend their systems, and assess how well those defenses reduce risk. This project will draw on methods from requirements engineering, safety engineering, and software security. The specific research question will depend on the student’s interests and the needs of the project.

Student Involvement
Students will have the opportunity to lead a project in one of the following directions, such as:

  • Testing safety and security policies or sandboxing mechanisms for software systems with AI components.
  • Studying user behavior and preferences to inform usable safety and security mechanisms.
  • Developing ways to specify, analyze, or evaluate safety and security requirements for these systems.
Mentor: Hana Habib

Description and Significance
Privacy and AI governance requirements are increasingly being incorporated into the technology development lifecycle. However, it remains unclear which approaches, tools, and forms of guidance most effectively help practitioners—such as developers and privacy professionals—identify and implement these requirements. We seek to address that gap through user studies examining current practices and evaluating potential supports for practitioners.

Recent work in this area has included compiling community-driven resources for applying privacy-enhancing techniques in machine learning [1], developing a decision-support tool to identify frontier models that best align with stated privacy needs [2], and exploring barriers ML developers may face in adopting differential privacy for model training.

Student Involvement
Students will gain experience conducting usable privacy research under the guidance of a mentor. They may contribute to a user study of practitioners by designing and administering online surveys or interviews, collecting data, conducting qualitative and/or quantitative analyses, and, depending on their interests and project needs, designing and implementing prototype tools.

References
[1] Yash Maurya, Ibrahim Chhaya, Hana Habib. "Making Privacy-Preserving AI Accessible: A Practitioner-Oriented Framework." In Proceedings of the IEEE Symposium on Privacy Expectations (ISoPE). 2025. https://ieeexplore.ieee.org/abstract/document/11486347/

[2] Aseem Shrey, Weiqian Zhang, Ece Gumusel, and Hana Habib. "Risk vs. Reward: Supporting Practitioners’ Understanding of LLM Privacy Risks." In Proceedings of the Workshop on Human-Centered Privacy and Security for Language Models (HAIPS). 2026. https://drive.google.com/file/d/13qM9AWIUM2nuJdT-kKNbnKUSRcCMhms0/view?usp=drive_link
Mentor: Lorrie Cranor

Description and Significance
The CyLab Usable Privacy and Security Laboratory (CUPS) works on a variety of projects aimed at understanding and improving the usability of privacy and security software and systems. Some of our current projects focus on protecting users from text messaging scams, evaluating security awareness training, privacy choices and AI agents, bias in consequential decisions when AI agents are involved, and more. Our projects generally involve surveys, interviews, or online user studies. We do qualitative and quantitative data analysis and sometimes we build design prototypes or tools to instrument our data collection.

Student Involvement
Students will learn how to conduct research in usable privacy and security by working with a mentor to help conduct a user study in the security or privacy area. Depending on interests and project needs, the student may help set up online surveys and collect data on a crowd worker platform, perform qualitative and/or quantitative data analysis, or design and implement prototypes.

References
https://cups.cs.cmu.edu