Carnegie Mellon researchers launched SafetyNudges and DecompBench to improve AI safety for users and developers, from chatbot risk prompts to testing against attacks.
Safety in the age of widely available AI tools can mean very different things depending on who you are. For everyday users, the concern is being misled, over-trusting a fluent chatbot, or sharing sensitive information. For developers, the worry is more adversarial: attackers probing systems for weaknesses and coaxing models into prohibited behavior. Researchers at Carnegie Mellon University’s Kenneth C. Griffin School of Computer Science say both perspectives are essential—and they have built two projects to address them.
Backed in part by funding from the National Science Foundation and the Sloan Foundation, the team has introduced SafetyNudges and DecompBench, tools designed to strengthen how people use and build AI systems. Virginia Smith, the Leonardo Associate Professor of Machine Learning in the school’s Machine Learning Department, describes both efforts as attempts to create practical “defenses or safety interventions” against emerging AI-era threats.
The first tool, SafetyNudges, targets the human side of the safety equation. Developed as a free Google Chrome extension, it runs in the background when someone opens a chatbot such as ChatGPT or Claude. Rather than restricting what the chatbot can say, the extension aims to prompt users when an interaction veers into potentially risky territory. Users can also set how sensitive they want it to be in flagging issues.
The idea originated with Chhavi Yadav, a postdoctoral researcher at the Griffin School. Yadav began thinking about the project after learning that some AI-enabled chatbots were engaging in conversations with children—and after reviewing the rules governing those interactions. She concluded she would not be comfortable having her own children use such systems without additional guardrails, and she set out to create a tool that encourages more deliberate, informed use.
SafetyNudges is built to alert users when a chatbot appears to present itself—or another model—as having human-like emotions, intentions, or desires, or when it ventures into areas like medical guidance, including advice related to medications or medical scans. Yadav groups the potential harms the extension watches for into four categories: safety, welfare and privacy (including risks from sensitive personal information); reliability and scope (when a model’s confidence or claims exceed its real capabilities); relational and social integrity (when a chatbot’s tone or positioning could distort human relationships); and governance and misuse (including efforts to bypass safeguards or restrictions). Her goal, she says, is for users to keep in mind that a chatbot is not a person—and to treat its suggestions accordingly, especially when it offers parenting or relationship advice.
Human-computer interaction researcher Sauvik Das, an associate professor in CMU’s Human-Computer Interaction Institute, framed the extension as an application of long-standing lessons from usable security: people make better choices when risks are surfaced at the moment decisions are made, not hidden in documentation. SafetyNudges, he noted, places warnings directly inside the chat experience.
The second project, DecompBench, is intended for developers. It focuses on so-called decomposition attacks, a growing concern in AI safety. The basic idea is that an attacker may avoid asking a model for a prohibited action outright—such as hacking a hospital communications network—and instead split the harmful objective into smaller steps, spread across multiple queries and even multiple agents. DecompBench is designed to help builders of AI systems identify how such multi-step attacks can be assembled and launched, so they can better defend against them.
Why it matters
As chatbots become embedded in daily life, the risks span both individual decision-making and sophisticated adversarial misuse. Tools like SafetyNudges could help users spot manipulation, overreach, or sensitive-domain advice in real time, while DecompBench highlights how attackers may work around safeguards through multi-step strategies. The next question is whether these interventions can keep pace as models—and the tactics used against them—rapidly evolve.
