; and (B) may not provide the alien with work authorization (including an employment authorized endorsement or other appropriate work permit) or advance parole to travel outside of the United States, unless the alien is lawfully admitted for permanent residence or otherwise would (without regard to removal proceedings) be provided such authorization. (b) Revocation of bond or parole The Secretary at any time may revoke bond or parole authorized under subsection (a), rearrest the alien under the original warrant, and detain the alien. (c) Mandatory detention of criminal aliens (1) Criminal aliens The Secretary shall take into custody and continue to detain any alien who— (A) (i) has not been admitted or paroled into the United States; and (ii) was apprehended anywhere within 100 miles of the international border of the United States; (B) is admissible by reason of having committed any offense covered in section 212(a)(2); (C) is deportable by reason of having committed any offense covered in section 237(a)(2); (D) is convicted for an offense under section 275(a); (E) is convicted for an offense under section 276; (F) is convicted for any criminal offense