NEM works through a customized version of the Eigentrust ++ algorithm.
But NEM developers have decided to create a completely new code base.
The system that NEM uses is the proof of importance (POI), unlike the proof of work that uses Bitcoin for example. This means that the knots are measured on the quality of the work provided and not on the quantity. This is the technique that protects the network.