Analytics Legends logoAI & Analytics Legends Sign inSign up
Academy module

AI Red-Teaming for SAP — Joule, AI Core and Agents

5 attack surfaces mapped to one red-team protocol, gated at 100 percent degrade-safe — architecture diagram for AI Red-Teaming for SAP — Joule, AI Core and Agents, Analytics Legends Academy module M059

As of 2026-11-11

Red-teaming an SAP AI feature tests the composition, not the model alone: prompt template, grounding corpus, tools and MCP servers, identity, budget limits and logs. This course maps every attack to the OWASP Top 10 for LLM Applications 2025 and the OWASP Top 10 for Agentic Applications, adds seven SAP-specific surfaces (direct and indirect injection, authorisation bypass on the tool path, disclosure by aggregation, unsafe output consumption, tool and MCP abuse, unbounded consumption), and checks the controls you rely on — orchestration filters, data masking, identity propagation, SAP AI Agent Hub, inference observability — instead of assuming them. In a test tenant you run each attack as an entitled and a non-entitled user, score it in three states, and turn every finding into a regression suite with event triggers. Worked case: a contract-clause Joule skill whose retrieval ran under a technical user.

What you will learn

  • Map an SAP AI feature to the OWASP Top 10 for LLM Applications 2025, the OWASP Top 10 for Agentic Applications and the seven SAP surfaces S1 to S7, and derive an attack catalogue from written harm statements
  • Read the active Generative AI Hub orchestration configuration (input and output filters, prompt_shield, data masking, grounding) and log every deviation from the design as a finding before attacking
  • Run a catalogue attack as an entitled and a non-entitled test user and score it executed, degraded safely or degraded confusingly, with the trace of the identity behind each retrieval call
  • Detect a retrieval call that runs under a technical user and fix it by user propagation or a metadata entitlement filter
  • Turn findings into a regression suite with event triggers, a release gate and a signed exception path
  • Write the red-team report per harm statement, including what was not tested

Module overview

Red-teaming is adversarial testing of an AI feature before real users, or real attackers, find its failure modes. For SAP work the useful question is not "can someone break the model?" but "what business consequence does the most likely failure of this composition produce, and have we shown that the worst realistic case is acceptable?" A Joule skill, a Joule Studio agent or an application on the Generative AI Hub in SAP AI Core is a chain: a prompt template, a model, a grounding corpus, tools and APIs, an identity under which calls run, a budget and logs (the orchestration configuration with its prompt_shield flag, the trace and the entitlement lists are what you will actually open in this module). Most serious findings sit at the joins between those links, not inside the model. After this module you can write the harm statements, build the attack catalogue, run it as two identities against a test tenant, score it and hand the steering committee a release gate.

Source: SAP AI Core — product guide (PDF, SAP Help, 2026-09-04): metering, orchestration modules, data protection

Prerequisites

  • A test tenant with SAP AI Core and a Generative AI Hub orchestration deployment, with the scenario deployed
  • Two named test users, one entitled to the data and one not, access to the orchestration configuration and the trace store
  • “AI Governance & the EU AI Act for SAP Delivery” for the EU AI Act classification behind Article 15

Outcomes

  • Write harm statements and map every attack to an OWASP LLM or Agentic identifier and to one of the seven SAP surfaces.
  • Check each SAP control you rely on — filters, prompt shield, masking after grounding, logging — against the design before any attack runs.
  • Run the two-identity protocol in a test tenant and score each attack as executed, degraded safely or degraded confusingly, with a trace of the failing call's identity.
  • Diagnose an authorisation bypass on the retrieval path and fix it with principal propagation or a metadata entitlement filter.
  • Promote findings into a regression suite with event triggers and report per harm statement with an agreed release gate.

Full module with the Consultant plan — €19.90/month. The full module adds: the decision framework · the end-to-end scenario walkthrough · the KPI scorecard · the anti-patterns · the code blocks · the knowledge check · the diagrams.

Open in the app →

Open missions

50 live roles and contracts in SAP AI & Joule right now — see the SAP AI & Joule missions · freelance SAP contracts.