Enhancing AI Workflow Security with WebAssembly Sandboxing