(1) An application to proceed in forma pauperis shall be granted unless there is an objection that the party filing the application (a) has sufficient funds to pay costs, fees, or security or (b) is asserting legal positions which are frivolous or malicious. The objection to the application shall be made within thirty days after the filing of the application or at any time if the ground for the objection is that the initial application was fraudulent. Such objection may be made by the court on its own motion or on the motion of any interested person. The motion objecting to the application shall specifically set forth the grounds of the objection. An evidentiary hearing shall be conducted on the objection unless the objection is by the court on its own motion on the grounds that the applicant is asserting legal positions which are frivolous or malicious. If no hearing is held, the court shall provide a written statement of its reasons, findings, and conclusions for denial of the applicant's application to proceed in forma pauperis which shall become a part of the record of the proceeding. If an objection is sustained, the party filing the application shall have thirty days after the ruling or issuance of the statement to proceed with an action or appeal upon payment of fees, costs, or security notwithstanding the subsequent expiration of any statute of limitations or deadline for appeal. In any event, the court shall not deny an application on the basis that the appellant's legal positions are frivolous or malicious if to do so would deny a defendant his or her constitutional right to appeal in a felony case.
(2) In the event that an application to proceed in forma pauperis is denied and an appeal is taken therefrom, the aggrieved party may make application for a transcript of the hearing on in forma pauperis eligibility. Upon such application, the court shall order the transcript to be prepared and the cost shall be paid by the county in the same manner as other claims are paid. The appellate court shall review the decision denying in forma pauperis eligibility de novo on the record based on the transcript of the hearing or the written statement of the court.