A bill that would create a state commission to investigate claims of misconduct by prosecutors may have significant constitutional flaws, the counsel to Attorney General Barbara Underwood said Monday in a memo to Gov. Andrew Cuomo’s office.

In a legal analysis of the bill, which Cuomo must either approve or veto by next Monday, General Counsel Leslie Dubeck said certain provisions may not hold up in court as currently written.