One has nothing to do with the other.
That said, you may end up with a lien on your credit by the IRS and the bankrutpcy will be on your credit, and you would have to explain the lien and the bankruptcy. More than likely it will be for taxes owed for the IRS lien and, your bankruptcy will be dismissed but, criminal activity is not on your credit report.
They could go into PACER (Court records) after seeing your bankrtupcy on your credit and read your bankruptcy paperwork. If it was dismissed for fraud, that could show up but, 99% of the world doesn't even know what PACER is, let alone how to access it and read the court documents.