This is basically the state of the Pakistani manufacturing sector. Unlike how we provide specialised manufacturing jobs to a few thousands in established factories like car manufacturing, etc, they mostly have informal jobs, which employ thousands of people with little to no regard for safety. We too have such informal industries, but for them, it is a major part of their manufacturing sector.
These informal factories in Pakistan are of two types, ones in which the end customer are foreign entities (for example, FIFA makes all of it's footballs in a specific sweatshop in Pakistan) and more commonly, those whose end customers are domestic entities themselves. The condition in both are the same, with safety given the last priority and monetary efficiency given the highest.
Pakistan is well known for it's lead-acid battery reassembly shops and the engine block reassembling workshops. Most of these cater to the Pakistani truck owners, who use these reassembled spare parts as they are much cheaper and more readily available than new parts. So I guess these informal business are good (if you disregard the safety aspect) as they provide a meagre export value and somewhat reduce imports, not that it has any effect given how huge their import deficit is.