; (2) in subparagraph (A), by striking and of the consequences, under paragraph (6), of knowingly filing a frivolous application for asylum; and and inserting a semicolon; (3) in subparagraph (B), by striking the period and inserting ; and ; and (4) by adding at the end the following: (C) ensure that a written warning appears on the asylum application advising the alien of the consequences of filing a frivolous application and serving as notice to the alien of the consequence of filing a frivolous application. . (b) Conforming amendment Section 208(d)(6) of the Immigration and Nationality Act ( 8 U.S.C. 1158(d)(6) ) is amended by striking If the and all that follows and inserting: (A) If the Secretary of Homeland Security or the Attorney General determines that an alien has knowingly made a frivolous application for asylum and the alien has received the notice under paragraph (4)(C), the alien shall be permanently ineligible for any benefits under this chapter, effective as the date of the final determination of such an application. (B) An application is frivolous if the Secretary of Homeland Security or the Attorney General determines, consistent with subparagraph (C), that— (i) it is so insufficient in substance that it is clear that the applicant knowingly filed the application solely or in part to delay removal from the United States, to seek employment authorization as an applicant for asylum pursuant to regulations issued pursuant to paragraph (2), or to seek issuance of a Notice to Appeal in order to pursue Cancellation of Removal under section 240A(b)