N.Y. Uniform District Court Act § 2418
Action on marshal's bond
An action upon the bond of a marshal may be brought and prosecuted to judgment in this court, upon leave obtained from a judge of this court, according to the provisions relating to an action in the supreme court by a private person upon an official bond.