Delete that line mate. And run a virus check on your server. That is not part of CWP, and was not issued in any update they did. That script is indeed a virus.
Also secure your ssh. I'd recommend only allowing cert authentication.
Make sure root is not allowed to log in as ftp. Also check all software that is run by the root user, and if possibly, DO NOT run any as root.