Questions:
ITMS 8.x
The script is saved as part of the task in SMA secure storage, so it is encrypted on the disk.
The task associated with the script is encrypted during transmission from the server to the client.
Note: The only time the script can be intercepted is during the task execution: