Weird Machine Compositors: Exploiting AI Orchestration at the Expression Layer
Abstract
Orchestration platforms secure user-provided expressions through enumerate and block sandboxing: AST rewriting, runtime property blocklists, template sandbox environments. We demonstrate that these sandboxes are weird machines whose instruction set is the underlying language specification, and that the enumerate and block approach is unfixable, following the same trajectory that led to the deprecation of past sandboxing technologies such as Java's SecurityManager and vm2. We validate this claim through three rounds of escalating bypasses against n8n's expression sandbox (three CVEs, two CVSS 9.4, one unauthenticated), and frame these findings within a broader pattern of sandbox failures across the orchestration products category. We identify a trust laundering pattern where orchestration pipelines and applications move attacker controlled input from untrusted to fully credentialed through transformations that strip taint at each level. AI-assisted enumeration accelerates the discovery of these coverage gaps, compressing the timeline between a sandbox's deployment and its compromise. We provide an AST coverage analysis methodology, an accompanying open-source tool, and a defensive playbook that includes policy inversion (allowlist over blocklist) as a structural mitigation.
Create a lesson
Related papers
Are DNSSEC Islands of Security a Practical Concern? Transport-Layer Fallbacks for Trust Recovery
Shared title terminologycs.CRAmogh R, Aditya Kulkarni, Tamal Das
ResiliLoop: Dual-Layer Detection and Mitigation of Sensor Spoofing in Networked Controllers
Shared title terminologycs.CRSaad Kabir Uddin, Raihan Islam Arnob
Controlled Autonomy for Agentic AI: A Layer-by-Layer Evaluation of Policy Enforcement, Cryptographic Identity and Isolation
Shared title terminologycs.CRHisham Ali, Vasileios Mavroeidis, Nikolaos Pitropakis et al.
Sunk Slippage Is Not a General Cost: A Structural Census of 901 DeFi Exploit Proofs-of-Concept
Shared title terminologycs.CRSihao Kou, Qingni Shen
ZKCache: Cache Side-Channel Attacks on Zero-Knowledge Machine Learning Systems
Shared title terminologycs.CRSen Deng, Zhibo Liu, Yuanyuan Yuan et al.
Securing Enterprise Email Against Quantum Threats: A Ten-Layer Hybrid Architecture and Its Operational Costs
Shared title terminologycs.CRAkshaya C, Prathiksha R, Vasanthi B et al.