The word ninja typically refers to a covert agent or mercenary in feudal Japan.
There are no categorical antonyms for this word.
However, ninja is also used idiomatically to refer to someone who is exceptionally skilled in a given activity, and in this context, one could use words such as novice, amateur, etc., as antonyms.