Uniswap is a dex exchange and they don't guarantee anyone's safety, it's a freedom eden, users are on their own at what ever they plan to do on this exchange, before buying any tokens from uniswap try to contact the project team and ask them for their token smart contract, this is the only to avoid getting scammed on uniswap.
No, it doesn't guarantee safety I know that but It can help to reduce scammers by asking KYC from liquidity providers, I am pretty sure it helps a lot, it is not just fake smart contract people could fall in, some people provide very insecure liquidity for some ICOs before the Chef of that ICO adds it, I have seen one of them where the ICO admin himself asked people to don't trade that on UNISWAP because the price is insecure and it has so many differences from real price, I know we can't blame UNISWAP for that but If it's KYC mandatory for liquidity providers, maybe people can recognize it better to buy from which pool, with which name and smart contract and they would be sure that liquidity has been provided from the right person.