riyaz@dev:~/talks/fireside-chat-cmu$

Security for AI, AI for security

INI Coffee Chats · Carnegie Mellon University Silicon Valley

, 1:30–3:30 pm · NASA Research Park, Moffett Field · on-site

I spent an afternoon at Carnegie Mellon University Silicon Valley for the Information Networking Institute’s Coffee Chats, talking with INI students about AI, careers in AI and what it takes to build and secure agentic systems. Tanish introduced the session, I took a handful of slides, and the rest of the time was open Q&A

The room came in waves between classes, so the conversation restarted several times. Every group asked for the same two things: a straight answer on what the industry actually rewards, and feedback on their resumes

The framing was simple. Security for AI is the work of making agents safe to run. AI for security is the work of putting those agents to use on security problems. Most interesting conversations now sit where the two overlap, and most students end up doing both

Four parts, one conversation

  • My path — student talks, CMU, startups and NVIDIA
  • Agentic operating systems — what it takes to run a fleet of models
  • Careers in security — the map, and how to get in from software engineering
  • Q&A — career, CMU life, AI, security, anything else

My path: side quests over the main quest

Four stops so far: a first talk at the Cybersecurity Working Group at SSN College of Engineering in 2018, a run of student-chapter talks on careers, privacy and SQL injection through 2020–22, a master’s in information security at Carnegie Mellon in 2023, and then NVIDIA, where security engineering turned into AI security research and guest lectures back at CMU

Most of what I am proud of started as a detour: a student talk, a side project, a course nobody asked me to write. The three things I would tell my younger self are to teach early, because explaining something is how you find out what you actually know; to say yes to detours; and to follow the problem rather than the title

Part 2 · Building an autonomous multi-model agentic operating system

The OS analogy is a teaching device. An operating system runs work, decides who goes next, remembers state, limits damage, talks to hardware and leaves a record. An agentic system has to do the same things, just with agents, a task router, context and state, tool access and guardrails, model and tool adapters, and an audit trail

JobIn an OSIn an agentic OS
Run workProcessesAgents
Decide who goes nextSchedulerTask router
RememberMemoryContext and state
Limit damagePermissionsTool access and guardrails
Talk to hardwareDriversModel and tool adapters
Leave a recordLogsAudit trail and evals

A task moves from goals, tickets or events into an orchestrator that plans, routes and retries, then out to a model fleet and the tools and data it is allowed to touch. Guardrails, evals and the audit trail wrap every step, not just the last one. The orchestrator, not any single model, is the product

Why a fleet of models, not one

  • Cost — small models for routine work, big ones only when needed
  • Latency — fast models for live steps, slow ones in the background
  • Capability — code, long context, vision and reasoning each have a best fit
  • Resilience — no single model or vendor becomes a point of failure

Heterogeneous model fleets were a theme of the two-part CMU lecture, but they matter for the security conversation too. Every model you add is another trust boundary and another thing to evaluate

Securing the agents too

RiskControl
Prompt injectionTreat retrieved text as untrusted input
Over-broad tool accessLeast privilege per agent and per task
Leaked secretsShort-lived credentials, never in prompts
Runaway actionsHuman approval where the blast radius is big
No visibilityAn audit trail of every tool call

Best practices we kept coming back to

  • Evals first — if you cannot measure a change, you cannot ship it safely
  • Route by task — pick the model for the job, and revisit as models change
  • Humans at the edges — automate the routine, require approval for what is hard to undo
  • Assume the input is hostile — retrieved documents, tool output and other agents are all untrusted

Part 3 · Careers in security

Security is not one job. Application security, security architecture, security operations, threat intelligence, compliance and risk, and vulnerability management are different crafts with different day-to-day work, and they connect in industry in ways that are hard to see from a syllabus. Security for AI is a newer branch, and it is short of people who understand both halves

For students coming from software engineering, the route in is usually four steps: build with a security lens and threat-model your own projects, practise on safe targets like CTFs, labs and bug bounties, get seen by writing and giving talks, and use the network, because internship timing and referrals matter more than most people expect

I pointed the room at the careers section of the CMU guide, which covers the same ground in more detail

From the event

Riyaz speaking at a fireside chat at Carnegie Mellon University, with the talk title on the screen behind him
Talking with INI students at the CMU Silicon Valley campus

More about the event

← All talks