Where does the [sic] go in this sentence?

I'm quoting a sentence that has an error in it.

...visitors need to need to apply for a temporary residence permit...

I don't want to correct the error, I want to quote it as it's written. But I want to put a [sic] in there. Where does the [sic] go? Also, should it be in (parentheses) or [brackets]?


Solution 1:

Place [sic] after the second repetition error.

It would read:

... visitors need to need to [sic] apply for a temporary...

Editorial (your) additions are placed in square brackets.