Matt Fredrikson is a Carnegie Mellon professor and the CEO of Gray Swan. His research spans software security, privacy and adversarial testing of AI agents. — Latent Space Interview.

Visual summary of operating lessons from Matt Fredrikson.

Part 1: The Foundations of AI Security and Vulnerability

  1. On adversarial machine learning: Fredrikson and his coauthors developed LipNeXt, an architecture for training larger image models with guarantees about how much their output can change when an input changes. — LipNeXt.
  2. On evaluating models in hostile environments: Fredrikson argues that traditional reasoning about program correctness offers limited help when a trained model has to operate in an adversarial environment. — CMU Research Statement.
  3. On defending against current risks: Fredrikson argues that organizations can use available safeguards today while research continues. He also describes seeing more teams seek feedback before they finish building their agents. — Latent Space Interview.

Part 2: Privacy and Data Confidentiality in Machine Learning

  1. On model inversion: Fredrikson and his coauthors showed that confidence scores returned by some machine-learning systems could help attackers infer sensitive information. In one experiment, they reconstructed recognizable images of people from a facial-recognition model. — Model Inversion Experiments.
  2. On training data exposure: Releasing a prediction model can expose information even when its training records are withheld. Fredrikson and his coauthors formalized the problem by specifying what an attacker can observe and what counts as a successful inference. — Formalizing Model Inversion.
  3. On adversarial uncertainty: Fredrikson argues that reasoning about privacy requires a way to describe what an adversary can infer and what remains uncertain. — CMU Faculty Research Profile.
  4. On privacy-aware programming: Fredrikson’s research aims to give developers formal methods and programming-language tools for writing privacy-aware software without requiring them to be privacy specialists. — CMU Faculty Research Profile.
  5. On logic and counting problems: Fredrikson and his coauthor show how to express several privacy and confidentiality verification problems as questions about how many interpretations satisfy a set of constraints. — Satisfiability Modulo Counting.
  6. On probabilistic programming: Fredrikson and his coauthors study how to decide whether to answer a query about secret data by estimating what a recipient could infer from the answer. — Knowledge-Based Security Policies.
  7. On secure code generation: Fredrikson and his coauthors tested whether applying learned corrections during generation could improve code security while preserving the program’s ability to do what was requested. — Secure Code Generation Study.

Part 3: Adversarial AI and Prompt Injection

  1. On indirect prompt injections: In a public red-teaming competition, Fredrikson and his coauthors tested whether instructions hidden in external content could make tool-calling, coding, and computer-use agents violate policy while they carried out legitimate tasks. — Indirect Prompt Injection Study.
  2. On model size and safety: Fredrikson pointed to a comparison between model scores on GPQA Diamond and attack success rates. The comparison illustrates why a strong reasoning score alone gives an incomplete picture of prompt-injection resistance. — Latent Space Interview.
  3. On red teaming efficiency: Fredrikson and his coauthors frame jailbreak testing as a trade-off between finding successful attacks and the computational resources needed to search for them. — Jailbreak-Zero.
  4. On stealthy sabotage: Fredrikson and his coauthors demonstrated a backdoor in a component used when combining language models. Their experiments show why the vocabulary and embedding components deserve scrutiny during integration. — The Trojan in the Vocabulary.
  5. On community red teaming: Fredrikson says Gray Swan designs incentives separately for each public competition. The goal is to reward findings that reveal meaningful weaknesses and avoid paying for trivial submissions. — Latent Space Interview.
  6. On testing models and agents: Fredrikson said Gray Swan’s testing had expanded from chat interactions and content safety to agents that use tools and the applications built around them. — Latent Space Interview.
  7. On honest automation benchmarks: Fredrikson said automated techniques found more breaks for specific tasks within a fixed time window. He limited the comparison to that test setup. — Latent Space Interview.

Part 4: AI Agents and System-Level Architecture

  1. On the "lethal trifecta": Simon Willison describes a data-leak risk when agents can access private data, read untrusted content and communicate externally. Limiting any one of those capabilities can block that particular route to disclosure. — Simon Willison’s Lethal Trifecta Essay.
  2. On agent refusal boundaries: Fredrikson and his coauthors propose defining which offensive security tasks an agent should refuse and then testing whether the agent follows those boundaries in benign and adversarial settings. — Cybersecurity Refusal Framework.
  3. On the dual-use dilemma: Fredrikson and his coauthors note that techniques used in attacks are also needed for authorized testing and vulnerability research. Their framework tries to preserve legitimate uses while identifying requests an agent should refuse. — Cybersecurity Refusal Framework.
  4. On evaluating refusal behavior: In the authors’ web-based tests, six of eight frontier models never refused the tested requests to identify vulnerabilities in real systems. The result describes the models and scenarios in that benchmark. — Cybersecurity Refusal Framework.
  5. On agentic capabilities: The authors note that tools and orchestration help models carry out longer cybersecurity tasks. That makes it important to measure where agents stop as well as what they can accomplish. — Cybersecurity Refusal Framework.
  6. On enforcing actions, not sightings: Fredrikson argues that an agent can log a prompt injection and continue a legitimate task. The guardrail should intervene if the action the agent is about to take violates policy. — Latent Space Interview.
  7. On private red-team arenas: Fredrikson says Gray Swan can invite a handpicked group of participants to test an enterprise agent privately when its developers are unwilling to expose it to an open competition. — Latent Space Interview.

Part 5: Bridging Theoretical Guarantees and Practical Defenses

  1. On theoretical versus practical security: Fredrikson’s research asks why some promising security and privacy theories fail to yield effective defences in deployed systems. — CMU Research Statement.
  2. On actionable formal analysis: Fredrikson describes using formal analysis to identify weaknesses, build countermeasures with provable guarantees and measure their effectiveness in practice. — CMU Research Statement.
  3. On implementation pitfalls: Fredrikson notes that an implementation error can undo a rigorous privacy guarantee. He develops language-based tools to help programmers preserve those guarantees in code. — CMU Research Statement.
  4. On real-world measurement: Fredrikson described organizations seeking outside help after deployed agents caused problems they could not fix themselves. The cases included failures involving tools such as computer use. — Latent Space Interview.
  5. On hybrid enforcement models: Fredrikson and his coauthors describe using static analysis before execution to identify which runtime checks are needed to enforce a policy that depends on a program’s previous actions. — Runtime Policy Enforcement.
  6. On making code security measurable: SecCodePRM assigns security scores as code is generated. Fredrikson and his coauthors used those scores to rank candidate continuations and tested whether the approach improved security while preserving functionality. — SecCodePRM.
  7. On evolving remediation: Fredrikson contrasts an AI security failure with a buffer overflow that can be fixed by checking bounds. For AI systems, he argues, remediation still depends on improving model robustness and policy enforcement. — Latent Space Interview.