With private channels, amp and mmp you mitigate this type of attack. Evidently the privacy in Lightning has its shortcomings, the biggest danger is the logs of the big LSPs if you are not routing the payment.