Building with AILesson 66 of 80

Module 7 · Safety, security and the adversary

What you send to the provider, and what you can actually verify

In this lesson

  • 9 min read
  • 9 reading sections
  • Knowledge check
  • Lesson 6 of 10 in this chapter

This chapter’s goalThreat-model an AI feature and defend it by architecture: name every channel by which untrusted text reaches the model and every channel by which its output reaches a privileged action or the outside world, restrict each with a control that does not depend on the model’s obedience, layer moderation and abstention with measured false-positive costs, and state plainly what a user must be told and what you cannot promise about a provider’s handling of their data.

This chapter’s media

The film explains chapter ideas. The audiobook narrates the complete teaching text.

FormatEnglishहिंदी
Chapter filmNot availableNot available
Full audiobookNot availableNot available

A little at a time

Explore an idea, try it, then check what stays.

Step 1 of 10Free · no account needed
Lesson steps

Every request is a disclosure

Look at one request as a list of what is in it. The system prompt: your product’s design, sometimes months of work. The user’s message: personal data, sometimes intimate. The retrieved chunks: your customers’ documents, your internal policies. The tool results: rows from your database. The attached image: a face, a location in its metadata, a document with a name on it. All of it leaves your infrastructure and arrives at a company you have a contract with, and none of it comes back.

That is not an argument against using a provider. It is the list you need in front of you to decide what should be in the request at all.

Your place and first choices stay on this browser. Classroom credit is recorded separately.

Every lesson here is open. Your progress is recorded once you pass the Python, from Zero, for AI exam.

Stuck on something?Ask Sayali, your AI tutor

How to cite: Addaly (2026) ‘What you send to the provider, and what you can actually verify’, in Building with AI. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/building-with-ai/what-you-send-to-the-provider (Accessed: 29 November 2026).