One complication is that websites can hijack your copy buffer, and the text you paste isn't the text you copied. I avoid this by pasting into an editor, not directly into a shell.
Fortunately, my terminal emulator doesn't run on paste.
The entire newline-inclusive text is pasted into the terminal and nothing is run until I hit Return.
Input: https://pastebin.com/LpDW2r0d
Result: https://streamable.com/94z5oq
But if the site is nefarious it can adjust my copy so that I copy a mailious command rather than the one I verified.