1. Short title This Act may be cited as the Stopping Lawless Actions of Politicians Act of 2018 or the SLAP Act of 2018 . 2. Certain obstructions of enforcement of immigration laws (a) Offense Chapter 73 of title 18, United States Code, is amended by adding at the end the following: 1522. Certain obstructions of enforcement of immigration laws Whoever, being a State or local official having custody of an individual, knowingly releases an alien subject to a detainer issued pursuant to section 287(d)(1) of the Immigration and Nationality Act ( 8 U.S.C. 1357(d)(1) ), shall be fined under this title or imprisoned not more than five years, or both . (b) Clerical amendment The table of sections at the beginning of chapter 73 is amended by adding at the end the following: 1522. Certain obstructions of enforcement of immigration laws. . 3. Ensuring that local and Federal law enforcement officers may cooperate to safeguard our communities (a) Authority To cooperate with Federal officials A State, a political subdivision of a State, or an officer, employee, or agent of such State or political subdivision that complies with a detainer issued by the Department of Homeland Security under section 236 or 287 of the Immigration and Nationality Act ( 8 U.S.C. 1226 and 1357)— (1) shall be deemed to be acting as an agent of the Department of Homeland Security