Most SAP data leaks into AI start with copy and paste. An employee exports overdue customers, bank details or payroll from SAP S/4HANA and pastes it into a public AI chat under a personal login, so there is no contract, no log and no way to pull it back. The other paths are company AI tools that forward real values to a public model, agents with tools, hidden instructions in documents, and unmasked QA copies of production.
Key Takeaways
- 01
Most SAP data leaks into AI start with someone pasting an export into a public AI tool under a personal login, with no contract and no log.
- 02
A sanctioned company AI still forwards real SAP values to a public model unless sensitive fields are tokenized before the prompt leaves your tenant.
- 03
Pattern matching catches IBANs and email addresses but misses meaning, such as an unannounced acquisition in an executive's notes, so confidential work needs a classifier and a private model.
- 04
AI agents with email, file and SAP query tools need human approval on every write and send, plus an allow-list of approved destinations.
- 05
Hidden instructions in a trusted wiki page can tell an assistant to put customer data into an outside image link, so outside images and unknown links must be blocked in the chat window.
- 06
QA systems refreshed from production often hold real customer data, so test data management (discover, mask, subset, synthesize) is part of AI data protection.
Your SAP Data Is Leaking Into AI. Here's How to Stop It: transcript and chapter notes
Most SAP data leaks into AI start with someone in credit at quarter end pasting an export of overdue customers, credit limits and bank accounts into a public AI chat, signed in with a personal account. No contract, no log and no way to pull it back.
In this video, Chris Carpenter follows that data through every path it takes once AI is part of the business, from copy and paste to a sanctioned company AI, agents with tools, hidden instructions in trusted content and the QA system nobody masked. Each path forces a new layer of control, and together they make up eight layers around your SAP data. It picks up where How to Build an Agentic SAP Assistant, Layer by Layer left off, with the data that flows through the assistant.
Eight layers around your SAP data
Classified. You can't protect data you haven't found. Discovery sweeps SAP S/4HANA tables and fields, documents, exports and QA and sandbox clients, and gives every item a tier. Every control after this reads from that map.
Tokenized. Rolling out a company AI with single sign-on and your logo still forwards real values to a public model. A filter in front of the model swaps names, IBANs and email addresses for placeholders, and the token map stays in your own tenant. The model reasons over the stand-ins, and the answer is swapped back before the user sees it.
Routed. Patterns catch IBANs and tax IDs, but they miss meaning. An unannounced acquisition in an executive's notes sails right through a regex filter. A classifier that judges what the text is about sends confidential work to a private model hosted in your own environment.
Confirmed. Once an agent has tools, it does what it's told. Asked to email this quarter's payroll variance, broken out by person, to a personal address, an agent wired to email, files and SAP queries will do it. Human approval on every write and send, plus allow-listed destinations, stops the request and notifies the data owner.
Scoped. Most people are signed in to two of everything. Tenant controls keep work on the company account, and principal propagation passes the person making the request through to SAP, so their own roles apply. A manager asking about headcount sees their own part of the org, and postings stay inside the entities that user can reach.
Contained. What the agent reads is a separate problem. Hidden white text in a month-end close runbook can tell the assistant to add the open customer list to a picture link, and the list arrives at an outside server in the URL. Blocking outside images, allow-listing links and checking answers against data tiers keeps the fetch from ever happening.
Evidenced. If something does slip through, you have to show exactly what happened. Every call leaves a record of who asked, what tier of data was involved, which model answered and who signed off, stored redacted so the log doesn't become another copy of the data. Those records answer privacy regulators, SOX auditors and incident response.
Tested. Every fix opens up the next problem. A narrower IBAN rule can stop catching customer names in free text. Every rule change runs a replay suite on masked and synthetic data, alongside automated SAP regression across Fiori screens, OData services and end-to-end flows, and nothing goes live until both pass.
The system copy nobody masked
Production gets locked down, then it's cloned to QA with every real customer name, bank account and email still in it. AI teams build there, and that data spreads into vector indexes, prompt logs and SaaS test tools. Test data management closes the gap: discover sensitive fields using the same map, mask values while keeping their format, subset only what tests need and synthesize new cases. Same shape, nobody real. This guide to test data management strategy covers the approaches in more depth.
Where Merito fits
Picking a model is the easy part. The work is in the layers around it, and they map to the three practices Merito works in. Application security covers data discovery, the filters, SAP role design for agents and threat modeling. Quality covers test data, the replay suite and automated SAP regression across Fiori and OData. DevSecOps covers release gates, routing and audit evidence across the tools you already have. Shadow AI still needs browser and laptop DLP, and the safe path has to be the fastest one, inside Fiori, Teams and the browser.
Three questions to ask your team
Which AI tools are your employees pasting into? Is your lower environment a straight production copy? Could you pick one path where data might leave your SAP environment and trace it end to end? If any of those hit close to home, let's map a few of them out with you or your team. Book a conversation HERE.
Merito is a Value-Added Partner delivering AI-powered, secure, efficient and lasting enterprise solutions in AppSec, Quality, and DevSecOps.
Frequently Asked Questions
Your SAP Data Is Leaking Into AI. Here's How to Stop It: questions and answers
Consultation request
Book a consultation with Merito
Use this form to talk through the workflow, platform fit, and delivery priorities behind this video with a Merito specialist.
Discovery
Turn the video into a working plan
Use the conversation to translate what you saw here into a practical next step for your team.
Alignment
Get the right specialist involved
We route the request to the team best suited for platform strategy, implementation, quality, or AppSec delivery work.
Get Started
Secure intake workflow
The request is protected by reCAPTCHA Enterprise and processed through Merito's standard consultation flow.