An issue was discovered in OpenRemote through 1.0.4 allows attackers to execute arbitrary code via a crafted Groovy rule.
https://stackoverflow.com/questions/66069960/groovy-shell-sandboxing-best-practices
https://stackoverflow.com/questions/159148/groovy-executing-shell-commands
https://securityblog101.blogspot.com/2022/09/cve-2022-31860.html