If it is lump like on black areas of sword it could be melanoma.
For real.
Should be no real problem for the sword if it stays small and is not contagious at all to anything.
It is a cancer the same as humans get from too much pigment in the fishes case.
Several universities in the US use swordtails to study genetics behind melanoma in humans at this time .
In my three + years creating my own strain of "showa" swords I brought melanoma out in my fish myself for a little over a year in very black swords.
Hope this helps.
I have an old thread from another site with several links if you are interested.