# Agent Hijacking

> Master the offensive mechanics of AI agent hijacking, including tool manipulation, goal redirection, and bypassing agentic guardrails.

Canonical: https://codelivly.com/rooms/agent-hijacking
Last updated: 2026-10-13

| | |
|---|---|
| Level | Advanced |
| Category | Cybersecurity |
| Lessons | 3 |
| Estimated time | 30 min |
| XP | 100 |

This module dives deep into the offensive techniques used to compromise autonomous AI agents. You will learn how to craft advanced indirect prompt injections, manipulate tool execution chains, and subvert the agent's core objectives to perform unauthorized actions. Through hands-on methodologies and real-world scenarios, you will develop the skills to comprehensively evaluate and exploit agentic trust boundaries.

## Lessons

1. What is Agent Hijacking (30 min)
2. Redirecting an Agent's Goal Mid-Task (30 min)
3. Guided Lab: Hijacking an Agent's Stated Objective (30 min)

## Related

- [Learning path: Agent Exploitation](https://codelivly.com/learning-paths/agent-exploitation)
- [All rooms](https://codelivly.com/rooms)
