I have not proof this matters, but I am careful to check my sources for rice. Most of the available jasmine and basmati around here is product of Indian or Thailand. I'm not sure that's a good idea. When I look, I can find basmati that is product of USA. That's the stuff I buy. I have noted a difference in packaging. A lot of the import is either cloth bags or plastic bags that are 'woven', much like a cheapassed Harbor Frieght tarp. I'm not convinced its great. I look specifically for heavy weight sealed plastic. Give it a squeeze? Doe it 'hold' tire pressure?
If you want an assured long term low fuss storage item, give parboiled rice a try too. Its not basmati or jasmine, but I find it preferable to regular old long grain. And the process of parboil assuredly kills any bugs. I buy this stuff a lot.
Decent quality rice, in a decent quality bag, can be thrown on the shelf and forgotten. It stores fine. Cheapassed rice I cheap assed bags require a lot of processing