Honestly, if you have to ask about safety then it is likely not safe.
As others said, this is being penny smart, pound foolish. If the device fails, burns your house down and your insurance discovers that you have used a non-certified product, good luck ... For that reason alone I would go with a properly certified brand-name thing - if nothing else, I am covered should something fail.
When it comes to mains voltages, I don't dare to touch anything coming from Alibaba or Aliexpress. More often than not it is built to price and even when not outright dangerous, it likely doesn't conform to the local electricity and building codes.