Officers elected by a town to prosecute for violations of the town's ordinances, bylaws, and regulations are not required to give surety for costs upon complaints made by them, but the town is directly liable to the state for costs incurred in the prosecution.
R.I. Gen. Laws § 45-15-3