Pennsylvania is one of 27 states, along with the District of Columbia, suing the DNA testing company 23 and Me.
The attorneys general want to block the sale of personal genetic data without customer consent.
23 and Me filed for bankruptcy in March and found a buyer last month, Regeneron Pharmaceuticals.
RELATED: 23andMe bankruptcy: How to delete your data, destroy your genetic samples
That biotech company said it would comply with privacy policies set by the testing company.
A court-appointed independent review of the sale will determine how it might affect consumer privacy.