The black rats weren't supposed to be there, on Palmyra Atoll. Likely arriving at the remote Pacific islet network as stowaways with the U.S. Navy during World War II, the rodents, with no natural predators, simply took over. Omnivorous eating machines, they dined on seabird eggs, native crabs and whatever seed and seedling they could find.
source https://phys.org/news/2020-11-eradicating-black-rats-palmyra-atoll.html