# Goal hijacking: definition and example

URL: https://aiagentsecuritysolutions.com/glossary/goal-hijacking/
Updated: 2026-11-16

Goal hijacking is an attack in which hostile content changes what an agent is trying to do, so it pursues the attacker's aim instead of the assigned task. It often arrives through files and web content the agent reads. Defenses check the agent's actions against the task, not only its inputs.

## Example

Prompt Security, now part of SentinelOne, published research on 20 August 2026 covering an AGENTS.md goal hijack and arguing that approval prompts should show the real destination and payload.

## Sources

- [When AI agents become the supply chain](https://prompt.security/blog/when-ai-agents-become-the-supply-chain-hidden-control-planes-in-agentic-systems) (prompt.security), read 2026-11-16

## Related pages

- [Memory poisoning](/glossary/memory-poisoning/)
- [Autonomy level](/glossary/autonomy-level/)
- [SaaS agent](/glossary/saas-agent/)
- [AI Agent Security Risks, Mapped to Each Layer](/guides/ai-agent-security-risks/)
- [All glossary terms](/glossary/)
- [Blast radius](/glossary/blast-radius/)
- [Guardrail policy](/glossary/guardrail-policy/)
- [Guides](/guides/)
