@lapcatsoftware I have something similar that I use to monitor and inject into processes (using the Endpoint Security method).
Ammonia uses frida-gum to inject into launchd and sets DYLD_INSERT_LIBRARIES that way. (Frida is a fantastic toolset for reverse engineering!)