No company is allowed to keep anyone's passport. Exit is required to stop people from taking loans and leaving the country or if they are involved in any other such criminal activities. Its published in the papers so that if anyone has any claims against that person they may contact the company or that person and settle it.