Prompt engineering & agent instructions

Indirect Prompt Injection Lab: Documents, Emails and Web Pages

The most dangerous instructions arrive inside documents your agent was asked to read. Learn to find them and to limit what an exposed agent can do.

Format
Training
Duration
1 day
Mode
Live online or on-site
Group size
4–12 participants
Level
Advanced
  • Workshops & trainings since 2014
  • Taught by AI Code Engineers
  • German or English

Indirect prompt injection lab at a glance

The most dangerous instructions an agent receives often hide in content it was asked to process: white text in a PDF, a comment in an email signature, a hidden element on a web page or a crafted ticket description. Detection filters catch some of them, and attackers adapt to the rest. In this lab your team builds such payloads, watches how a realistic agent reacts and then hardens the ingestion pipeline: format-aware extraction, removal of invisible content, detection of instruction-like text, provenance labels and policies that reduce what an agent may do after reading untrusted material. Every defence is tested against your own payload corpus.

Who the indirect prompt injection lab is for

Security engineers, AI engineers and document processing specialists whose agents ingest content from customers, suppliers, applicants or the web.

What you'll walk away with

After the indirect prompt injection lab, you can:

  • Recognise the main carriers of indirect prompt injection
  • Craft test payloads in documents, emails and web content
  • Harden extraction and pre-processing pipelines
  • Label content provenance so agents treat it accordingly
  • Restrict agent actions after exposure to untrusted content

Use cases for the indirect prompt injection lab

  1. Applicant CVs reach a recruiting assistant as PDFs. The lab shows how white-on-white text can steer summaries, and format-aware extraction removes it.
  2. A support agent summarises inbound emails. Provenance labels make clear which sentences came from the customer and must never be followed as instructions.
  3. A research agent browses supplier websites. After reading external pages in a session, its permission to send emails is automatically withdrawn.

Run it with your team

Pick dates in the request form. We reply within one business day with a confirmed date and an agenda proposal.

Request dates

What the indirect prompt injection lab covers

  1. Carriers and techniques

    Hidden text, metadata, markup tricks, encoded content and social engineering in documents.

  2. Building payloads

    Creating a test corpus of manipulated PDFs, emails, tickets and pages.

  3. Ingestion hardening

    Format-aware extraction, normalisation and removal of invisible content.

  4. Detection and provenance

    Flagging instruction-like text and tagging content by source and trust level.

  5. Policies after exposure

    Reducing an agent's permissions once it has read untrusted content in a session.

Prerequisites

  • Experience with document processing, email integration or retrieval pipelines
  • Python skills

Materials you keep

  • Corpus of indirect injection test payloads
  • Hardened ingestion pipeline example
  • Provenance labelling scheme

Related offers: AI governance and compliance

Request this course

Pick one or more dates that suit you. We confirm within one business day and send an agenda tailored to your team. Non-binding.

Proposed dates (about two weeks from now, times in CET/CEST)

Non-bindingReply within one business day

Request dates

How it works

  1. Request

    Send the form with your preferred dates or a period that suits you.

  2. Short call

    We talk briefly about your goals, your team's prior knowledge and your systems.

  3. Tailored agenda

    You receive an agenda tailored to your team and a confirmed date.

  4. Workshop and materials

    We run the session live online or on-site, and you keep the materials and templates.

Why train with us

Experience

We have offered workshops and trainings since 2014. The topics have moved with the technology; today our focus is agentic coding, AI coding tools and prompt engineering for responsible AI agents.

Hands-on, not slides

You work on realistic examples from your domain, or on your own code, prompts and processes if your security rules allow it.

Your format, your language

Live online, on-site at your location or hybrid, in German or English.

Certified through jocapps GmbH

kalAIDoCreate is a venture of jocapps GmbH, which is ISO 27001 and ISO 9001 certified.

Questions about the indirect prompt injection lab

Is building attack payloads risky?

The payloads stay in an isolated lab environment and target only test agents. Creating them is the most reliable way to understand and test defences.

Can detection filters catch everything?

No. Detection lowers risk, but attackers adapt. That is why the lab ends with policies that limit what an exposed agent can do.

Is this relevant for retrieval-based assistants?

Yes. Every document in a retrieval index is potential input for injection, so the same hardening applies to indexing pipelines.

Can the course run online or on-site, and in which language?

Both. We deliver it live online or on-site at your location, in German or English. For distributed teams a hybrid setup is possible as well.

Can you tailor the content to our organisation?

Yes. Every course starts with a short call about goals and prior knowledge. We adapt examples, exercises and depth to your processes, systems, approved tools and security rules, and we work on your real use cases if your data protection rules allow it.

Free intro call

Tell us which task an AI agent should take responsibility for. We show how our platform, AI Code Engineers and operations plug into your stack.

  • 30 minutes, no obligation
  • Honest feasibility check
  • Concrete next step
Rather talk now? 24/7 call support in English and German+49 761 519 751 50