I think it can be a security problem, in a way I don't know, but:
$ bitcoind -h
…
-uacomment=<cmt>
Append comment to the user agent string
…
it looks to be dangerous and unnecessary. https://github.com/spesmilo/electrum/issues/4968#issuecomment-450268698