Before commencing an action under this chapter at the request of a party having an interest therein, the attorney general may require as a condition of commencing the same that satisfactory security be given to indemnify the state against costs and expenses which may be incurred therein.
N.D.C.C. § 32-13-04