Yes thanks, I knew that. But is there something that can prevent that? Or is my request somehow cryptographically also in the invoice generator?
lightning invoices are decodable. this means that if the server generates an invoice with an incorrect amount, you can see that the amount is wrong before making the payment.
check this out: https://www.bolt11.org/
Discussion
the safest way is to run your own lightning node ofc. do not trust, verify ✅