1. Artificial intelligence security – architecture and threats
LLM-based security starts with understanding how foundation models, chatbots, agents and RAG applications are built and where trust boundaries lie. This section frames the main threat landscape, contrasts classic application hacking with LLM-specific abuse, and introduces OWASP Top 10 for LLM Applications, MITRE ATLAS and basic Red Teaming concepts.
- basics of how LLM language models work,
- architecture of applications using generative AI,
- foundation models, chatbots, AI agents and RAG systems,
- trust boundaries between the user, the model and the application,
- the most important threats to AI-based systems,
- differences between traditional application hacking and LLM Hacking,
- basics of AI Red Teaming and model robustness testing,
- OWASP Top 10 for LLM Applications and MITRE ATLAS.
2. Prompt Injection – manipulating the behavior of AI models
Prompt Injection is examined as a way to alter model behavior by exploiting instruction hierarchy and trusted context. The section covers direct and indirect attacks, injection through documents, messages or websites, conversation-based manipulation, testing resistance to unauthorized commands, and limiting the impact of successful attacks.
- the mechanism of Prompt Injection,
- Direct Prompt Injection – direct attacks,
- Indirect Prompt Injection – attacks through external data sources,
- manipulating the hierarchy of the model's instructions,
- injecting instructions through documents, messages and websites,
- attacks using conversation context,
- manipulating chatbot responses,
- testing the resistance of models to unauthorized instructions,
- detecting and limiting the effects of Prompt Injection.
3. Jailbreaking – bypassing the restrictions of language models
Jailbreaking focuses on bypassing model restrictions rather than injecting instructions through external content. Participants work through role manipulation, context switching, multi-step evasion attempts, multilingual and ambiguous prompts, and methods for assessing safeguards and improving an application's resistance to these techniques.
- what Jailbreaking is and how it differs from Prompt Injection,
- security mechanisms and limitations of LLM models,
- manipulating roles and the context of the conversation,
- role-playing techniques and changing context,
- multi-step attempts to bypass restrictions,
- attacks using multilingualism and ambiguity of instructions,
- assessment of the effectiveness of model safeguards,
- methods of strengthening application resilience to Jailbreaking.
4. Data leaks and information disclosure by AI
Information leaks in AI systems can expose sensitive data, system prompts, conversation history and application memory. The section focuses on protecting personal and corporate information, isolating user data, preventing unauthorized access to documents or credentials, and detecting or reducing disclosure paths in LLM applications.
- Sensitive Information Disclosure – disclosure of sensitive data,
- System Prompt Leakage – disclosure of system instructions,
- threats related to conversation history and application memory,
- security of personal data and company information,
- unauthorized access to documents and knowledge sources,
- risk of disclosure of API keys and authentication data,
- testing data isolation between users,
- access control and minimization of transmitted data,
- detection and mitigation of information leaks.
5. Security of RAG applications and AI knowledge bases
RAG architecture introduces specific risks because responses depend on retrieved documents, search results and external knowledge sources. This part examines Prompt Injection in source content, data poisoning, manipulation of retrieval, weaknesses in vector databases and embeddings, plus controls for indexing, access and answer verification.
- Retrieval-Augmented Generation architecture,
- threats related to retrieving data from external sources,
- Prompt Injection in documents used by RAG,
- poisoning of data and knowledge sources,
- manipulation of document content and search results,
- vulnerabilities of vector databases and embedding mechanisms,
- control of permissions to documents and data fragments,
- testing the correctness of responses generated based on sources,
- securing the indexing and information retrieval process.
6. Hacking and Securing AI Agents
When an AI agent can invoke tools and external APIs, its autonomy becomes a direct security concern. The section analyzes agent architecture, excessive permissions, task-flow manipulation, unauthorized function calls, database and file access, inter-agent communication, and the use of least privilege with human oversight.
- AI agent architecture and action-taking mechanisms,
- LLM model integrations with tools and external APIs,
- threats related to the autonomous execution of operations,
- Excessive Agency – excessive permissions of agents,
- taking over and manipulating the task flow,
- unauthorized calling of functions and tools,
- security of agent integrations with databases and files,
- threats related to communication between agents,
- limiting permissions and applying the principle of least privilege,
- human oversight over high-risk operations.
7. Security testing of LLM applications
Security testing is organized from planning through execution and result analysis, with dedicated scenarios for Red Teaming and Prompt Injection. Participants examine information disclosure, unsafe model responses, dangerous model-initiated actions, access control checks and the use of tools that automate LLM assessment.
- planning security tests of AI systems,
- creating AI Red Teaming scenarios,
- preparing Prompt Injection test sets,
- testing resistance to information disclosure,
- testing the security of responses generated by AI,
- detecting dangerous operations initiated by models,
- testing authorization and access control mechanisms,
- using tools automating LLM tests,
- analysis of results and classification of detected vulnerabilities.
8. Mechanisms for securing AI systems
Building secure LLM applications requires clear separation of system instructions from untrusted content, along with input and output validation. The section also addresses Guardrails, permission control, API and tool security, monitoring of risky operations, data access limits, usage caps and incident handling.
- designing a secure architecture for LLM applications,
- separating system instructions from untrusted data,
- validation of model input and output data,
- application of Guardrails mechanisms,
- control of user and agent permissions,
- securing API integrations and external tools,
- filtering and monitoring dangerous operations,
- restricting access to confidential data,
- managing query limits and model usage costs,
- protection against uncontrolled resource consumption,
- monitoring AI security incidents.
9. AI Red Teaming – resilience audit of AI systems
AI Red Teaming is presented as a structured resilience audit for chatbots, agents and other LLM-based systems. The section covers threat modeling, attack surface identification and test scenario design, then moves to vulnerability classification, reporting, recommendations and continuous retesting after updates.
- methodology for conducting Red Teaming tests for AI,
- threat modeling for chatbots and agents,
- identification of the attack surface of LLM systems,
- preparation of test scenarios,
- analysis of the effectiveness of protection mechanisms,
- classification of vulnerabilities in accordance with OWASP Top 10 for LLM Applications,
- documenting identified weaknesses,
- development of security recommendations,
- creation of a plan for strengthening the resilience of AI systems,
- continuous security testing after updating models and applications.