Found this:
"18 USC 922 (d) It shall be unlawful for any person to sell or otherwise
dispose of any firearm or ammunition to any person knowing or
having reasonable cause to believe that such person –
(5) who, being an alien –
(A) is illegally or unlawfully in the United States;"
Covering their liability.