I've seen the OSHA letter ruling, where they decided to apply 'pendant' rules to such extension cords.

The NEC only requires the boxes to have threaded hubs. I believe that ordinary "Bell" boxes comply.