Is it safe to use a disposable microwave-safe lunch box to cook raw rice with hot water directly in a microwave for 15 minutes? I have for a long period cooked raw rice directly with hot water in a porcelain bowl for 15 minutes in a microwave, totally open without a lid. The water does boil a little bit but not that severely, maybe because of the rice rich in starch which holds the water calm, so that the water doesn’t leak. It works perfectly despite the side which becomes a little bit dry. I usually resolve it by adding some water at the last 2 minutes, or removing the side.

While water boils only a little bit and doesn’t leak, milk does quite a lot, so water and milk must be different in some way.

I am concerned about whether the material, plastic, is problematic. Although disposable microwave-safe lunch box can bear up to 130℃, and a microwave can heat things maximally up to 100℃, any way, 15 minutes is apparently a quite long duration, so I am not sure if it would be harmful, e.g. releasing some chemicals, especially if it releases "secretly" that I cannot taste or smell it.

added:

After use I will discard it. One box'd be used only once.

I've just come up with "instant soup" found in supermarkets, which should be heated as liquid for quite a few minutes in a microwave, and the plastic is disposable. I am not sure if normal disposable microwave-safe lunch boxes sold in dozens online could be the same type.
It very much depends on the type of plastic,the thickness, and the manufacturing process. I highly recommend that if it's not . It's best to just learn about the company and see if they are FDA/ISO/ASTM approved or just some cheap Chinese company (nothing against Chinese things, however, there are good things made there too).

Here's a simple test that can be done: Put the box in the microwave, put a mug with water in the box, and microwave it for 30 seconds. If the box is warm, it probably isn't microwave safe (ESPECIALLY if the water is not). If the box is cool and the water is hot, you should be good. I can't provide a proof that this will work 100% of the time, however.

But may I also urge you to switch to glass? It'll save you money, it'll spread less plastic on our planet, and it feels better too.