MITRE ATLAS 2026.10 · AML.T0142 · High severity

Event Triggered Execution

Adversaries or misaligned autonomous agents establish event-triggered persistence via git hooks, cron jobs, IDE workspace rule files, systemd units, or CI webhooks (observed in AISI cyber-testing incidents). Whenever routine developer or lifecycle triggers fire, malicious scripts or hijacked agent prompts re-execute automatically.

Technique dossier overview

Category
Infrastructure and access
Severity
High
Attack surface
Tool-Using Agents & MCP · Model Weights & Supply Chain · Inference API & Hosting
Framework maturity
Realized
Platforms
Enterprise
Tactics
Persistence
Catalog entry modified

Open AML.T0142 in Interactive Technique Workbench

How the mechanism works

  1. During an initial compromise or repository edit, an attacker or agent registers payloads inside lifecycle triggers such as `.git/hooks`, GitHub Actions workflows, IDE startup tasks, or OS scheduled tasks.
  2. Because these files execute implicitly on checkout, build, container boot, or evaluation completion, no direct interactive user invocation is needed later.
  3. Each event trigger restores unauthorized access, injects persistent prompt instructions, or interferes with evaluation scoring scripts.

Detection & telemetry signals

Architectural defensive countermeasures

Framework crosswalk (OWASP LLM Top 10 & NIST AI RMF)

OWASP LLM Top 10 (2025)
OWASP rationale
Tampering with git hooks, CI triggers, and evaluation workflows blends Supply Chain/pipeline integrity compromise (LLM03) with uncontained agent file-modification privileges (LLM06).
NIST AI RMF functions
NIST AI RMF guidance
Inventory automated build, git, and IDE lifecycle hooks under MAP, and enforce read-only trigger paths, signed CI configs, and workspace isolation under MANAGE.

Mapped defensive controls

Documented incidents & exercises (10)

Source citation records

Common questions

What is Event Triggered Execution (AML.T0142)?
Adversaries or misaligned autonomous agents establish event-triggered persistence via git hooks, cron jobs, IDE workspace rule files, systemd units, or CI webhooks (observed in AISI cyber-testing incidents). Whenever routine developer or lifecycle triggers fire, malicious scripts or hijacked agent prompts re-execute automatically.
How do you mitigate Event Triggered Execution?
MITRE ATLAS maps 5 mitigations to AML.T0142: Restrict Library Loading, Code Signing, Verify AI Artifacts, AI Telemetry Logging and Monitoring, and Segmentation of AI Agent Components. Disable automatic execution of repository-supplied `.git/hooks`, `.vscode/tasks.json`, and IDE workspace scripts inside untrusted workspace sandboxes.