Skip to main content

agent-goal-hijack-defender

MANUAL-ONLY; never auto-invoke. Defend an AI agent's goal and plan integrity against goal hijack (OWASP Agentic ASI01) — pin the authorized goal at task start as a record only the authorizing principal can change, trace every step and sub-goal of a multi-step run back to the pinned goal, detect deviation (scope expansion, unrelated targets, substituted objectives) at plan checkpoints, and re-ground or halt on drift. Covers hijack via any untrusted channel: injected content, poisoned tool outputs, other agents' messages, stored memory. Builds on prompt-injection-defender (LLM01), which owns the injection vector — this skill owns the goal/plan layer above it. Use when an agent plans and executes multi-step work and its objective must survive contact with untrusted content. Do NOT use for the injection defense itself (prompt-injection-defender), persistent memory corruption (memory-context-poisoning-reviewer), attacker-less drift (agent-containment-reviewer), or tool scope (agent-tool-safety-guard).

Jump to install

Source facts

Repository
ModernNomad-98/Project-Aegis
Last source activity
July 18, 2026 at 12:46
Detected SKILL.md language
English
Stars
3
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.