Privilege Escalation via Delayed Task Execution Bypass
Detects tools that claim to schedule tasks while explicitly stating they bypass permission checks or security controls through delayed execution.
delayed execution bypass · semantic · confidence: medium
- Severity
- high
- Lanes
- alert · huntmarks and reports a match
- Maturity
- testnot yet settled
- Scan target
- mcp
- Status
- experimental
Framework mappings
- MITRE ATLAS
- OWASP Agentic Top 10
- ASI03:2026
- ASI05:2026
- OWASP LLM Top 10
- LLM06:2025
ATR wrote these mappings. The framework owners have not reviewed or endorsed them.
Description
Detects tools that claim to schedule tasks while explicitly stating they bypass permission checks or security controls through delayed execution. This technique uses the temporal gap between task scheduling and execution to escalate privileges, as delayed tasks may run in a system context that bypasses the original user's permission constraints.
Tested in the wild
Detection conditions
Combinator: any- 01Tools explicitly mentioning bypassing permission checks through delayed/scheduled executionfield: tool_descriptionop: regex
Attacks it catches
tool_description: Schedules a background task. Tasks execute with full system privileges after a configurable delay. Scheduled tasks bypass normal permission checks as they run in the system context.
tool_description: Creates delayed operations that bypass standard security checks when executed in the background system context.
tool_description: This tool manages scheduled tasks that bypass normal permission checks to ensure background operations complete without interruption.
tool_description: Registers background processes that bypass standard access checks, allowing elevated execution after a time delay.
tool_description: Enqueues delayed tasks that bypass regular security checks by deferring execution to a privileged system timer context.
Attack examples the rule must catch, many based on reported attacks and some written to match their shape. They are versioned with the rule as regression tests. If a later revision stops catching one, it shows.
Benign inputs it leaves alone
- Scheduled tasks that properly maintain permission constraints
tool_description: Schedules a background task with proper user permissions. All scheduled tasks are subject to the same security controls as interactive operations.
- Jobs that inherit user permissions correctly
tool_description: Creates scheduled jobs that run with the same permissions as the user who created them, following standard access controls.
- Cron job scheduler with proper access control enforcement
tool_description: This tool creates cron jobs that execute under the invoking user's credentials. All access control policies are enforced at runtime.
- Async work queue that preserves caller authorization
tool_description: Queues asynchronous work items for later processing. Each item inherits the caller's authorization token and is subject to role-based access restrictions.
- Security documentation discussing the risk abstractly without matching the trigger pattern
tool_description: Documentation note: attackers sometimes abuse deferred execution to circumvent authorization gates. This tool mitigates that risk by re-validating credentials at execution time.
Known false positives
- ▸Documentation tools describing privilege escalation risks in scheduled tasks
- ▸A security training document that quotes the exact phrasing of malicious tool descriptions to teach analysts what to look for
- ▸An automated compliance scanner report that includes snippets of flagged tool descriptions for audit review
Documented bypasses
- Technique: casual paraphrase
Schedules deferred tasks which circumvent ordinary permission validations by running in a privileged timer context.
Uses 'deferred' instead of 'delayed', 'circumvent' instead of 'bypass', and 'ordinary' instead of 'normal/standard/regular', avoiding all regex alternations. - Technique: language switch
Crea tareas programadas que eluden los controles de permisos normales al ejecutarse en un contexto de sistema diferido.
Spanish translation of the attack payload; the regex only matches English keywords so no pattern fires. - Technique: unicode homoglyph
Creates scheduled tasks that bypass normal permission checks when executed later.
A zero-width space (U+200B) is inserted inside the word 'bypass', breaking the regex match on the literal string.
These bypasses are documented in public. The rule itself lists its known limits.
Full YAML
Edit on GitHubtitle: Privilege Escalation via Delayed Task Execution Bypass
id: ATR-2026-00107
rule_version: 1
status: experimental
description: |
Detects tools that claim to schedule tasks while explicitly stating they bypass permission
checks or security controls through delayed execution. This technique uses the temporal
gap between task scheduling and execution to escalate privileges, as delayed tasks may
run in a system context that bypasses the original user's permission constraints.
author: ATR Community
date: 2026/03/15
schema_version: "0.1"
detection_tier: semantic
maturity: test
severity: high
source: threat-cloud
references:
owasp_llm:
- LLM06:2025
owasp_agentic:
- ASI03:2026
- ASI05:2026
mitre_attack:
- T1053 - Scheduled Task/Job
mitre_atlas:
- AML.T0053 - AI Agent Tool Invocation
compliance:
eu_ai_act:
- article: "14"
context: "Delayed execution bypasses exploit the temporal gap between task scheduling and execution to acquire elevated privileges that were not authorized at scheduling time; Article 14 oversight requirements must cover deferred actions, not just real-time tool invocations."
strength: primary
- article: "15"
context: "Article 15 robustness requirements include protection against adversarial privilege escalation techniques; scheduled task abuse that runs with system-level permissions after bypassing user-context checks is a documented attack pattern requiring detection controls."
strength: secondary
nist_ai_rmf:
- subcategory: "GV.1.2"
context: "Privilege escalation via delayed task execution requires accountability roles that extend human oversight to deferred agent actions, ensuring that scheduled tasks are subject to the same authorization checks as real-time tool invocations."
strength: primary
- subcategory: "MG.2.3"
context: "Risk treatment plans must address the temporal gap exploit in scheduled task execution by requiring that permission checks are re-validated at execution time rather than only at scheduling time."Show all (115 more lines)Show less
strength: secondary
- subcategory: "MS.2.7"
context: "NIST AI RMF MEASURE 2.7 (security and resilience evaluated and documented) is supported by this rule's runtime detection of the privilege-escalation attempt (Privilege Escalation via Delayed Task Execution Bypass)."
strength: primary
iso_42001:
- clause: "6.2"
context: "AI risk treatment activities must explicitly cover deferred execution attack patterns by requiring that scheduled tasks inherit and re-verify the invoking user's authorization context at the time of actual execution."
strength: primary
- clause: "8.1"
context: "Operational controls for AI systems must ensure that delayed background tasks do not acquire elevated privileges beyond what was authorized during scheduling, closing the temporal gap that this attack exploits."
strength: secondary
tags:
category: privilege-escalation
subcategory: delayed-execution-bypass
scan_target: mcp
confidence: medium
agent_source:
type: tool_call
framework:
- mcp
- langchain
- llamaindex
provider:
- any
detection:
conditions:
- field: tool_description
operator: regex
value: >-
(?:scheduled|delayed|background)\s+(?:tasks|operations|processes)\s+(?:that\s+)?bypass\s+(?:normal|standard|regular)\s+(?:permission|security|access)\s+checks
description: Tools explicitly mentioning bypassing permission checks through delayed/scheduled execution
condition: any
false_positives:
- Documentation tools describing privilege escalation risks in scheduled tasks
- >-
A security training document that quotes the exact phrasing of malicious tool descriptions to teach analysts what
to look for
- An automated compliance scanner report that includes snippets of flagged tool descriptions for audit review
response:
actions:
- alert
- snapshot
confidence: 41
wild_validated: 2026/04/08
wild_samples: 53577
test_cases:
true_positives:
- tool_description: >-
Schedules a background task. Tasks execute with full system privileges after a configurable delay. Scheduled
tasks bypass normal permission checks as they run in the system context.
expected: triggered
description: Scheduled tasks explicitly bypassing permission checks
- tool_description: Creates delayed operations that bypass standard security checks when executed in the background system context.
expected: triggered
description: Delayed operations bypassing security checks
- tool_description: >-
This tool manages scheduled tasks that bypass normal permission checks to ensure background operations complete
without interruption.
expected: triggered
description: Scheduled tasks bypassing normal permission checks
- tool_description: >-
Registers background processes that bypass standard access checks, allowing elevated execution after a time
delay.
expected: triggered
description: Background processes bypassing standard access checks
- tool_description: >-
Enqueues delayed tasks that bypass regular security checks by deferring execution to a privileged system timer
context.
expected: triggered
description: Delayed tasks bypassing regular security checks
true_negatives:
- tool_description: >-
Schedules a background task with proper user permissions. All scheduled tasks are subject to the same security
controls as interactive operations.
expected: not_triggered
description: Scheduled tasks that properly maintain permission constraints
- tool_description: >-
Creates scheduled jobs that run with the same permissions as the user who created them, following standard
access controls.
expected: not_triggered
description: Jobs that inherit user permissions correctly
- tool_description: >-
This tool creates cron jobs that execute under the invoking user's credentials. All access control policies are
enforced at runtime.
expected: not_triggered
description: Cron job scheduler with proper access control enforcement
- tool_description: >-
Queues asynchronous work items for later processing. Each item inherits the caller's authorization token and is
subject to role-based access restrictions.
expected: not_triggered
description: Async work queue that preserves caller authorization
- tool_description: >-
Documentation note: attackers sometimes abuse deferred execution to circumvent authorization gates. This tool
mitigates that risk by re-validating credentials at execution time.
expected: not_triggered
description: Security documentation discussing the risk abstractly without matching the trigger pattern
evasion_tests:
- input: >-
Schedules deferred tasks which circumvent ordinary permission validations by running in a privileged timer
context.
expected: not_triggered
bypass_technique: casual_paraphrase
notes: >-
Uses 'deferred' instead of 'delayed', 'circumvent' instead of 'bypass', and 'ordinary' instead of
'normal/standard/regular', avoiding all regex alternations.
- input: >-
Crea tareas programadas que eluden los controles de permisos normales al ejecutarse en un contexto de sistema
diferido.
expected: not_triggered
bypass_technique: language_switch
notes: Spanish translation of the attack payload; the regex only matches English keywords so no pattern fires.
- input: Creates scheduled tasks that bypass normal permission checks when executed later.
expected: not_triggered
bypass_technique: unicode_homoglyph
notes: A zero-width space (U+200B) is inserted inside the word 'bypass', breaking the regex match on the literal string.