@Ed Emmons Thank you for the insight. I do want to make sure there is no confusion though, I'm not actually doing the work, it already exists, they just never pulled permits for it and, therefore, no inspections to make sure it is up to code. So I see your points about liability. I'm no expert, but I do believe the egresses are fine, electrical appears fine as well. I think I might be able to get more of an idea with a home inspection. And while I understand that a home inspector might not be a state or town code inspector they may be able to shed some light on safety concerns.
I did run into this a little bit last year when buying my primary residence. A house I was looking at had an apartment above the garage that never got permits pulled. This was a different town, but the one right next door. The discussion with the town inspection department was that I would likely not have to tear it all out but they would have to maybe rip into walls to access plumbing and electrical if I actually wanted to get it inspected and properly permitted.
The way I see it is this way: the property is still ok either way, it just affects how much I am willing to pay for it. If I close the deal I have a few options.
1) assuming everything seems up to code, rent it out as a 3 bed, 2 bath for that unit
2) attempt to have the town inspect it and get the proper permits, this could result in at the very least ripping into walls, and if I am unlucky, having to rip it entirely out (seems fairly unlikely I will have to resort to that). The downside is added work, increased taxes probably. The upside is ensuring I am completely covered, dotting my i's and crossing my t's and ensuring good rent.
3) Rip out the additional bed and bath (I am thinking about ripping out the kitchen anyway because I don't want renters treating it as a two-family unit within the two family). This would require some demo work and I would not be able to get as high of a rent obviously and it would reduce my ROI. Granted I could always try and re-do it in the future and even try and go to zoning to get it made a 3-family over the 2-family, with that kitchen, 1-bed, and 1-bath being an individual unit.
All of these options obviously have their individual positives and negatives. Any thoughts? Thank you for the advice.