rats got into my ramen. make sure u put in 5 gal bucket. also buy good rat poison from feed store.
3 -5 gallon tins are good for this, too. The large ones popped popcorn, etc. come in. We've stored small packages of various food items, for years, in these.
I’m not sure how well they work for rats, but we have used dryer fabric softener sheets to keep mice out of vehicles for years. For poison to be effective, the rats have to eat it, which means you have an attractive food source drawing them in, too. Use what works best for you. (and yes, we lost packages of powdered eggs the same way, only to a mouse.. I would rather have lost Ramen, it’s cheaper.)