Cockroaches are omnivores and will eat almost anything, but they are especially attracted to foods that are starchy, sugary, greasy, or decaying. Here are some of the most common foods cockroaches eat:

https://safepestsol.com/what-do-cockroaches-eat/